Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#16044 closed Bug (fixed)

"Writing views" documentation reference a nonexistent "previous chapter"

Reported by: aplanas@… Owned by: nobody
Component: Documentation Version: master
Severity: Normal Keywords: Documentarion
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX:

Description (last modified by lukeplant)

Reference: http://docs.djangoproject.com/en/dev//topics/http/views/

The last line of the first paragraph of the "Writin views" section assert:

"""For the sake of putting the code somewhere, let’s create a file called views.py in the mysite directory, which you created in the previous chapter."""

I guest that this 'whick you created in the previous chapter' is a C&P error from the book. Maybe the correct line will be more like:

"""For the sake of putting the code somewhere, the recommendation is to put views in a file called views.py, placed in your project or application directory"""

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by lukeplant

  • Description modified (diff)
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Summary changed from "Writing views" documentarion reference a nonexistent "previous chapter" to "Writing views" documentation reference a nonexistent "previous chapter"
  • Triage Stage changed from Unreviewed to Ready for checkin

Agreed. I fixed some typos in your description, and modified the grammar of your suggestion too, to use 'you' instead of 'we', since 'we' at that point is really only suitable in a tutorial context.

comment:2 Changed 3 years ago by gabrielhurley

  • Resolution set to fixed
  • Status changed from new to closed

In [16240]:

Fixed #16044 -- Corrected a copy-and-paste error in the opening paragraph of the views topic guide. Thanks to aplanas for the report and suggested wording.

comment:3 Changed 3 years ago by gabrielhurley

In [16241]:

[1.3.X] Fixed #16044 -- Corrected a copy-and-paste error in the opening paragraph of the views topic guide. Thanks to aplanas for the report and suggested wording.

Backport of [16240] from trunk.

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.