Code

Opened 8 years ago

Closed 7 years ago

#2293 closed defect (fixed)

Doc for Formfield & Manipulators contains incorrect examples

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

Description

The page suggests twice to use object.dict to provide data for the form,
but you actually should use manipulator.flatten_data or some fields will not
be filled properly (I had this problem with ManyToManyFields and DateTimeFields).

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by Simon G. <dev@…>

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

Marked as wontfix, as we're moving to the newforms library and the old forms framework is being end-of-lined

comment:2 Changed 7 years ago by ubernostrum

  • Resolution wontfix deleted
  • Status changed from closed to reopened

Simon, I'd disagree; we're going to have the old forms system for at least one more release, so we need to get the documentation for it right even if we're recommending people use newforms for new projects.

comment:3 Changed 7 years ago by mir@…

  • Needs documentation set
  • Triage Stage changed from Unreviewed to Accepted

Looks as if it's accepted now ;-)

comment:4 Changed 7 years ago by Gary Wilson <gary.wilson@…>

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

This was fixed in [3758].

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.