Code

#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.

Attachments (0)

Change History (1)

comment:1 Changed 23 months ago by anonymous

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

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.