Code

Opened 6 years ago

Closed 6 years ago

#6265 closed (fixed)

Addition to modelforms documentation

Reported by: programmerq Owned by: nobody
Component: Documentation Version: master
Severity: Keywords: modelforms widgets
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I was reading through the modelforms doc, and I saw the part on how to override which formfield to use, but I wasn't sure how to override what widget it should use. I found the answer on the django-users list, and wrote up a patch for the docs. Hopefully this will make it a little more clear for others wondering how to do this!

Attachments (1)

modelformwidget.diff (556 bytes) - added by programmerq 6 years ago.
patch with documentation changes

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by programmerq

patch with documentation changes

comment:1 Changed 6 years ago by Simon Greenhill <dev@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Summary changed from Change to modelforms documentation to Addition to modelforms documentation
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 6 years ago by gwilson

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

added in [7036].

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.