On Thu, Apr 30, 2009 at 11:36 AM, David <[email protected]> wrote:

>
> Hello,
>
> I followed Django tutorial 2 to activate the admin site, however I got
>
> da...@django:~/mysite$ python manage.py syncdb
> Error: No module named admindjango.contrib
>
> after I added "django.contrib.admin" to your INSTALLED_APPS setting.
> This is how it looks like.
>
> INSTALLED_APPS = (
>    'django.contrib.admin'
>    'django.contrib.auth',
>    'django.contrib.contenttypes',
>    'django.contrib.sessions',
>    'django.contrib.sites',
>    'mysite.polls'
> )
>
>
> anybody knows how to fix it?


Put a comma on the end of the 'django.contrib.admin' line.  Lacking the
comma, it's being combined with the next line.

Karen

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to