On Thu, Nov 1, 2012 at 8:02 AM, Hendrikus Godvliet
<hendrikusgodvliet@gmail.com> 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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment