Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/docs/ref/forms
Commit message (Collapse)AuthorAgeFilesLines
...
* Misc doc cleanups.minusf2013-07-291-4/+3
|
* Fixed #20805 -- Removed an extra colon beside checkboxes ↵Tim Graham2013-07-261-1/+14
| | | | | | in the admin. Thanks CollinAnderson for the report.
* Fixed #20582 -- Allowed default Form.label_suffix to be ↵Claude Paroz2013-07-131-4/+11
| | | | | | translated Thanks Tim Graham for the review.
* Fixed #19695 -- Retitle "Form Media" to "Form Assets".James Bennett2013-07-081-5/+4
|
* Fixed #12346 -- Added a note on how to validate ↵Tim Graham2013-07-081-2/+2
| | | | | | InlineFormSets. Thanks johnsmith for the suggestion.
* Fixed #20224 -- Update docs examples which mention ↵Claude Paroz2013-07-052-7/+8
| | | | | | __unicode__ Thanks Marc Tamlyn and Tim Graham for the review.
* A couple more semicolon -> colon fixes; refs #18134.Tim Graham2013-07-021-1/+1
|
* Fixed #20199 -- Allow ModelForm fields to override ↵Loic Bistuer2013-06-181-9/+101
| | | | error_messages from model fields
* Fixed #20000 -- Allowed ModelForm meta overrides for ↵Loic Bistuer2013-06-131-9/+20
| | | | label, help_text and error_messages
* Fixed #18134 -- BoundField.label_tag now includes the ↵Gabe Jackson2013-06-101-1/+8
| | | | | | | | | | | | | | | | form's label_suffix There was an inconsistency between how the label_tag for forms were generated depending on which method was used: as_p, as_ul and as_table contained code to append the label_suffix where as label_tag called on a form field directly did NOT append the label_suffix. The code for appending the label_suffix has been moved in to the label_tag code of the field and the HTML generation code for as_p, as_ul and as_table now calls this code as well. This is a backwards incompatible change because users who have added the label_suffix manually in their templates may now get double label_suffix characters in their forms.
* Fixed #20567 - Documented BoundField.id_for_label.Tim Graham2013-06-092-1/+27
| | | | Thanks littlepig for the suggestion.
* Proofed the 1.6 release notesTim Graham2013-06-051-1/+1
|
* add missing imports to the examples in the 'Forms'leandrafinger2013-05-194-48/+73
|
* Fixed #13546 -- Easier handling of localize field ↵Erik Romijn2013-05-181-6/+10
| | | | options in ModelForm
* Fixed #5472 --Added OpenLayers-based widgets in contrib.gisClaude Paroz2013-05-171-0/+2
| | | | | Largely inspired from django-floppyforms. Designed to not depend on OpenLayers at code level.
* Fixed #19934 - Use of Pillow is now preferred over PIL.Daniel Lindsley2013-05-151-5/+7
| | | | This starts the deprecation period for PIL (support to end in 1.8).
* Fixed #19733 - deprecated ModelForms without 'fields' or ↵Luke Plant2013-05-091-0/+8
| | | | | | | | 'exclude', and added '__all__' shortcut This also updates all dependent functionality, including modelform_factory and modelformset_factory, and the generic views `ModelFormMixin`, `CreateView` and `UpdateView` which gain a new `fields` attribute.
* Adapted uses of versionchanged/versionadded to the new form.Juan Catalano2013-04-204-6/+10
| | | | Refs #20104.
* Complemented documentation following commit be9ae693cClaude Paroz2013-04-181-0/+9
| | | | Refs #17840. Thanks Carl Meyer for noticing the omission.
* Fixed #4592: Made CheckboxSelectMultiple more like ↵Baptiste Mispelon2013-04-131-0/+3
| | | | | | | | | | | RadioSelect I refactored RadioSelect and CheckboxSelectMultiple to make them inherit from a base class, allowing them to share the behavior of being able to iterate over their subwidgets. Thanks to Matt McClanahan for the initial patch and to Claude Paroz for the review.
* Fixed #4117: Apply id attribute to the outer <ul> of ↵Baptiste Mispelon2013-04-131-0/+5
| | | | RadioSelect
* Fixed #19874: Apply id attribute to the outer <ul> of ↵Baptiste Mispelon2013-04-131-0/+5
| | | | CheckboxSelectMultiple
* Documented BoundField.label_tagClaude Paroz2013-04-121-0/+13
|
* Fixed #20084 -- Provided option to validate formset ↵Andrew Gorcester2013-03-213-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | max_num on server. This is provided as a new "validate_max" formset_factory option defaulting to False, since the non-validating behavior of max_num is longstanding, and there is certainly code relying on it. (In fact, even the Django admin relies on it for the case where there are more existing inlines than the given max_num). It may be that at some point we want to deprecate validate_max=False and eventually remove the option, but this commit takes no steps in that direction. This also fixes the DoS-prevention absolute_max enforcement so that it causes a form validation error rather than an IndexError, and ensures that absolute_max is always 1000 more than max_num, to prevent surprising changes in behavior with max_num close to absolute_max. Lastly, this commit fixes the previous inconsistency between a regular formset and a model formset in the precedence of max_num and initial data. Previously in a regular formset, if the provided initial data was longer than max_num, it was truncated; in a model formset, all initial forms would be displayed regardless of max_num. Now regular formsets are the same as model formsets; all initial forms are displayed, even if more than max_num. (But if validate_max is True, submitting these forms will result in a "too many forms" validation error!) This combination of behaviors was chosen to keep the max_num validation simple and consistent, and avoid silent data loss due to truncation of initial data. Thanks to Preston for discussion of the design choices.
* Fixed #17051 -- Removed some 'invalid' field error messagesClaude Paroz2013-03-141-12/+8
| | | | | When the 'invalid' error message is set at field level, it masks the error message raised by the validator, if any.
* Fixed #19801 - Added brackets to input_formats.Tim Graham2013-02-251-6/+6
| | | | Thanks leandron85@ for the suggestion.
* Fixed #19686 -- Added HTML5 number input typeClaude Paroz2013-02-232-3/+19
| | | | Thanks Simon Charette for his help on the patch. Refs #16630.
* Fixed #19812 - Removed a duplicate phrase in the widget ↵Tim Graham2013-02-171-9/+4
| | | | | | docs. Thanks diegueus9 for the report and itsallvoodoo for the draft patch.
* Added HTML5 url input typeClaude Paroz2013-01-283-7/+16
| | | | Refs #16630.
* Added HTML5 email input typeClaude Paroz2013-01-283-31/+41
| | | | Refs #16630.
* Fixed #17416 -- Added widgets argument to ↵Nick Sandford2013-01-241-4/+12
| | | | inlineformset_factory and modelformset_factory
* Fixed #19610 - Added enctype note to forms topics doc.Tim Graham2013-01-231-0/+2
| | | | Thanks will@ for the suggestion.
* Fixed #19640 - Added inlineformset_factory to reference ↵Tim Graham2013-01-221-3/+14
| | | | | | docs. Thanks wim@ for the suggestion.
* Fixed #10239 - Added docs for modelform_factoryTim Graham2013-01-112-0/+41
| | | | Thanks ingenieroariel for the suggestion and slurms for the review.
* Fixed #19516 - Fixed remaining broken links.Tim Graham2013-01-032-26/+27
| | | | Added -n to sphinx builds to catch issues going forward.
* Removed versionadded/changed annotations dating back to 1.4.Aymeric Augustin2012-12-292-4/+0
|
* Added links to default widget in forms.fields documentationClaude Paroz2012-12-291-27/+27
|
* Fixed broken links, round 3. refs #19516Tim Graham2012-12-273-11/+11
|
* Fixed #13997 - Added an example of constructing a ↵Tim Graham2012-11-171-63/+129
| | | | MultiWidget and documented the value_from_datadict method.
* Fixed invalid ipv4 mapped ipv6 addresses in docsDanilo Bargen2012-11-071-1/+1
|
* Added ref to format localization in Date[Time]Field docsClaude Paroz2012-10-131-0/+4
| | | | Thanks henrik@aisti.fi for the suggestion in #19119.
* Fixed #19119 -- Corrected default date input formats in docsClaude Paroz2012-10-131-1/+1
| | | | Thanks henrik@aisti.fi for the report.
* Fixed #14567 -- Made ModelMultipleChoiceField return ↵Stephen Burrows2012-10-031-2/+6
| | | | EmptyQuerySet as empty value
* Fixed #17899 -- Rewrote [Ee]-mail to [Ee]mailAdrien Lemaire2012-09-263-8/+8
|
* Fixed #18934 - Removed versionadded/changed annotations ↵Tim Graham2012-09-213-11/+0
| | | | for Django 1.3
* Fixed #11185 - Expanded docs on customizing widgets; ↵Tim Graham2012-09-152-66/+202
| | | | thanks fadeev for the draft patch.
* Document and test 'type' usage in Widget attrsClaude Paroz2012-09-101-5/+6
| | | | Refs #16630.
* Fixed #18490 - Updated DateField input formats; thanks ↵Tim Graham2012-09-081-5/+15
| | | | dloewenherz for the draft patch.
* Merge pull request #333 from brad/ticket_18917James Bennett2012-09-071-3/+2
|\ | | | | clarify clean_<field> docs, ticket #18917
| * clarify clean_<field> docs, ticket #18917Brad Pitcher2012-09-071-3/+2
| |