Opened 7 years ago
Closed 7 years ago
#29856 closed Bug (invalid)
tutorial bug
| Reported by: | Chen Zheng | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 2.1 |
| Severity: | Normal | Keywords: | tutorial |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
https://docs.djangoproject.com/en/2.1/intro/tutorial02/
In the "Activating models" section,you shouldn't put the following code in the first line of INSTALLED_APPS.
'polls.apps.PollsConfig',
If put the code in the first line of INSTALLED_APPS,you will not see "Question" displayed on the admin index page as shown in the "Explore the free admin functionality"section.
Note:
See TracTickets
for help on using tickets.
I guess you've made a mistake somewhere as the tutorial has been tested by many people. See TicketClosingReasons/UseSupportChannels for places to get help.