Opened 3 years ago

Closed 3 years ago

#18222 closed Cleanup/optimization (invalid)

Missing a step on part two of the 1.4 tutorial

Reported by: chris.uzal@… 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: yes UI/UX: no


Page two of the django tutorial is missing a step. After adding the code for added in polls in the administration, it goes straight to "restart your server." The database needs to be synched before starting the development server again.

Go to…

Subsection entitled "Make the poll app modifiable in the admin"…

Create file…

*The missing critical step to create the necessary admin table…

python syncdb*


Restart the server.

Change History (1)

comment:1 Changed 3 years ago by ramiro

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

No, there is no need to run manage syncdb at that point because there is no need to create new DB tables from the actions you performed in the tutorial 2 so far (no new models were added to the file).

If you run syncdb at that point and it reports it is creating at least one database table it is because you forgot to execute it when following part 1 of the tutorial.

Last edited 3 years ago by ramiro (previous) (diff)
Note: See TracTickets for help on using tickets.
Back to Top