Code

Opened 7 years ago

Closed 7 years ago

#4395 closed (fixed)

Error in the online documentation of newforms

Reported by: Amit Owned by: jacob
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

At http://www.djangoproject.com/documentation/newforms/, at the section "COMPLEX TEMPLATE OUTPUT", there is an error in the second code sample.

Each line is something like:
<li>{{ form.sender.label }} {{ form.sender.label }}</li>

Where as it should be:
<li>{{ form.sender.label }} {{ form.sender }}</li>

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

And also two lines down, {{ form.subject.label }} x2

comment:2 Changed 7 years ago by mtredinnick

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

(In [5358]) Fixed #4395 -- Fixed a couple of typos in the examples.

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.