Opened 16 years ago

Closed 16 years ago

#9174 closed (invalid)

Following 2nd part of tutorial

Reported by: johnturek Owned by: nobody
Component: Uncategorized Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

#

Add "django.contrib.admin" to your INSTALLED_APPS setting.
#

Run python manage.py syncdb. Since you have added a new application to INSTALLED_APPS, the database tables need to be updated.

here is what i did...

INSTALLED_APPS = (

'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin'
'mysite.polls'

)

john-tureks-macbook:mysite johnturek$ python manage.py syncdb
Error: No module named adminmysite

Change History (1)

comment:1 by Ivan Giuliani, 16 years ago

Resolution: invalid
Status: newclosed

You forgot to add a comma after 'django.contrib.admin'.

Note: See TracTickets for help on using tickets.
Back to Top