On Nov 19, 11:14 am, Nader <[EMAIL PROTECTED]> wrote:
> I use the 'Admin' class in my project to do administration of
> applications. For the user I have defined a 'admin' and the other
> user. If I go to the 'user' page and want to do something with the
> 'admin' user and with the other user, I get the next error. I have
> read some documents, but I couldn't find the appropriate answer for my
> question.
>
> DoesNotExist at /admin/auth/user/1/
> ContentType matching query does not exist.
Have you changed your INSTALLED_APPS setting after you first set it?
It looks like you may have added 'django.contrib.contenttypes' later.
Try "manage.py syncdb" again, then restart your server.
Alternatively, if you are in development mode and don't mind losing
your data, start over again by dropping and recreating all tables
(See:
http://www.djangoproject.com/documentation/django-admin/#sqlreset-appname-appname)
and then running a "manage.py syncdb".
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---