Opened 16 years ago
Closed 16 years ago
#8977 closed (duplicate)
no admin.py
Reported by: | kyralak | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.0 |
Severity: | 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
from:
http://docs.djangoproject.com/en/dev/intro/tutorial02/#intro-tutorial02
"Just one thing to do: We need to tell the admin that Poll objects have an admin interface. Edit the mysite/polls/admin.py file and add the following to the bottom of the file:"
Following the tutorial through two times, I do not have that file (admin.py). I added what it suggested to a file i created in that location, named admin.py, but that did not expose the poll to the admin piece.
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This has already been reported in #8891, #8915, #8932. You do need to create the admin.py file, and I think the development server needs to be restarted as well.