Tom thank you for helping me on my way in to Django!
I uncomment:
INSTALLED_APPS = (
'django.contrib.auth',
and with
$ python manage.py syncdb
I still get the eror:
Error: One or more models did not validate: admin.logentry: 'user' has
a relation with model <class django.contrib.auth.models.User'>, which
has either not been installed or is abstract.
But than I also uncommented:
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
And everything started to work.
<However, I have no experience of Django on app engine. App engine uses a
customized version of Django, since <App Engine does not support relational
databases. This "django-nonrel" (non relational) may not
No I don't use Django in Appengine I only try to learn from Django for
Appengine.
Hendrikus
Op donderdag 1 november 2012 14:46:29 UTC+2 schreef Tom Evans het volgende:
>
> On Thu, Nov 1, 2012 at 8:02 AM, Hendrikus Godvliet
> <[email protected] <javascript:>> wrote:
> > Hello every one
> >
> > I am new to Django - I am on Google Python App engine and try to work
> with
> > Django to understand more about how Google App engine works.
> > For that i follow the tutorial on
> > https://docs.djangoproject.com/en/1.4/intro/tutorial01/ I finist
> tutorial 01
> > and started with tutorial 02 the Admin part.
> >
> > First of all do i need this admin part to work with Django for a simple
> app?
> >
> > Second:
> > I get this message with:
> > $ python manage.py syncdb
> > Error: One or more models did not validate: admin.logentry: 'user' has a
> > relation with model <class 'django.contrib.auth.models.User'>, which has
> > either not been installed or is abstract.
> >
>
> The error message says that you have not added "django.contrib.auth"
> to INSTALLED_APPS in your settings.py, as far as I can tell.
>
> However, I have no experience of Django on app engine. App engine uses
> a customized version of Django, since App Engine does not support
> relational databases. This "django-nonrel" (non relational) may not
> behave in a way compatible with the tutorial, I don't know. If you are
> just starting with Django, I would stick to a more standard Django
> setup.
>
> Cheers
>
> Tom
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/gQCcaFANwdUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.