On 9 May, 07:38, Ben Schwarze <[EMAIL PROTECTED]> wrote: > Hi Kabads, > > you need to add "django.contrib.admin" to your installed apps in > settings: > > E.g.: > > INSTALLED_APPS = ( > 'django.contrib.admin', > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.sites', > ) > > Afterwards you should run "python manage.py syncdb" again. This will > prompt you to create a superuser. > > Cheers, > Ben
I already had the auth in (according to the book) and tried running the syncdb again and got: Error: Couldn't install apps, because there were errors in one or more models: admin.logentry: 'user' has relation with model User, which has not been installed admin.logentry: 'content_type' has relation with model ContentType, which has not been installed How do I fix this? BTW, my settings is different from the one you posted - a lot of the default entries are commented out - is that important? Thanks once again. Adam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. 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 -~----------~----~----~----~------~----~------~--~---

