Opened 3 years ago

Closed 3 years ago

#20345 closed Uncategorized (duplicate)

Improved wording in documentation regarding admin.py

Reported by: jasonbest@… 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!

Change History (1)

comment:1 Changed 3 years ago by Aymeric Augustin

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: duplicate
Status: newclosed

See #20334.

Note: See TracTickets for help on using tickets.
Back to Top