Opened 7 years ago

Closed 7 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: UI/UX:

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 Changed 7 years ago by kratorius

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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

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