Opened 12 years ago

Closed 12 years ago

#18834 closed Uncategorized (worksforme)

Addition to Make the poll app modifiable in the admin section

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal 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

In Tutorial 2, under the heading Make the poll app modifiable in the admin section, after adding admin.py and registering polls there are instructions for restarting server but not for doing another manage.py syncdb so I got an error about the admin logs missing. I figured it out but it might be helpful to remind again about running syncdb.

Change History (1)

comment:1 by anonymous, 12 years ago

Resolution: worksforme
Status: newclosed

https://docs.djangoproject.com/en/1.4/intro/tutorial02/#activate-the-admin-site the 2nd bullet point notes that syncdb needs to be run after adding admin to installed apps. That's when the admin log table will get created. There should be no reason to need to run it again later after exiting/restarting the shell.

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