Code

Opened 6 years ago

Closed 6 years ago

#5854 closed (fixed)

Add section on highlighting required fields to newforms docs

Reported by: knox <christobzr@…> Owned by: nobody
Component: Documentation Version: master
Severity: Keywords: newforms, required field
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

From discussion in Ticket #5136, it seems that it would be nice to have a section in the documentation explaining how to single out a required form field.

I have tried to make a patch for this, I hope this vaguely resembles what is needed. I'm assuming all documentation is generated from the files in the docs directory of svn. I'm afraid I'm unfamiliar with your documentation writing style, so I've just given it my best shot.

Attachments (1)

django_newforms_doc_patch.patch (1.2 KB) - added by knox <christobzr@…> 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by knox <christobzr@…>

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

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

Looks good!

comment:2 Changed 6 years ago by mtredinnick

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

(In [6740]) Fixed #5854 -- Added an example to the newforms documentation showing how to
highlight required fields (which should also provide enough clues for
accessing other attributes on newforms.Field subclasses. Thanks,
christobzr@….

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.