Opened 12 years ago
Closed 12 years ago
#20345 closed Uncategorized (duplicate)
Improved wording in documentation regarding admin.py
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | 1.5 |
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 |
Description
In the docs at https://docs.djangoproject.com/en/1.5/intro/tutorial02/#make-the-poll-app-modifiable-in-the-admin the tutorial says "To do this, open the polls/admin.py file, and edit it to look like this.." but at this point in the tutorial, that file does not exist yet. I think it would be more clear to say "To do this, create a new file named admin.py in the polls/ directory, and edit it to look like this:". The end of that section does acknowledge that this is a new file because it says "...the action of creating a new file doesn’t trigger the auto-reloading logic."
Thanks!
See #20334.