Code

#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!

Attachments (0)

Change History (1)

comment:1 Changed 15 months ago by aaugustin

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

See #20334.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.