summaryrefslogtreecommitdiff
path: root/docs/ref/forms
AgeCommit message (Collapse)Author
2015-02-03[1.8.x] Fixed typos in docs/ref/forms/validation.txt.minusf
Backport of 66f5aa9fa5d53ddd7fbdb7ddac39c429f0c1b4fd from master
2014-12-20Fixed #2443 -- Added DurationField.Marc Tamlyn
A field for storing periods of time - modeled in Python by timedelta. It is stored in the native interval data type on PostgreSQL and as a bigint of microseconds on other backends. Also includes significant changes to the internals of time related maths in expressions, including the removal of DateModifierNode. Thanks to Tim and Josh in particular for reviews.
2014-12-05Corrected example in Form.has_changed() docs.Tim Graham
2014-12-02Fixed incorrect use of rst section heirarchy in form fields docs.Elena Williams
2014-11-20Added missing backticks to form validation docsAlasdair Nicol
2014-11-05Removed confusing paragraph from the docs.Loic Bistuer
This snippet wasn't particularly helpful as `add_error()` is described in greater details in the following section. Thanks Claude Paroz for the report.
2014-11-04Fixed #13181 -- Added support for callable choices to forms.ChoiceFieldPeter Inglesby
Thanks vanschelven and expleo for the initial patch.
2014-11-03Fixed versionchanged indentation in docs/.Berker Peksag
2014-09-29Fixed #17638 -- Added crosslinks between topic and reference guides.Duane Hilton
Thanks oinopion for the suggestion and jarus for the initial patch.
2014-09-16Fixed #19463 -- Added UUIDFieldMarc Tamlyn
Uses native support in postgres, and char(32) on other backends.
2014-08-31Fixed #23391 -- Removed an erroneous backtip from the form's documentation.Simon Charette
Thanks to Trac alias nessita for the report.
2014-08-29Fixed #22786 -- Documented value_from_datadict caveatClaude Paroz
Thanks blueyed for the report and Tim Graham for the review.
2014-08-27Fixed #23354 -- Documented that ModelChoiceField to_field_name should be a ↵Tim Graham
unique field. Thanks Keryn Knight for the suggestion.
2014-08-26Fixed #23250 -- Documented that ModelMultipleChoiceField queryset may be None.Tim Graham
2014-08-19Removed unnecessary code-block directives.areski
2014-08-18Fixed some doc errors that caused syntax highlighting to fail.Tim Graham
2014-08-15Fixed #23162 -- Renamed forms.Field._has_changed() to has_changed().Gabriel Muñumel
2014-08-14Fixed a grammar error in docs/ref/forms/api.txt.Zhaorong Ma
2014-08-05Fixed #21792 -- Documented Form.has_changed()Tim Graham
Thanks bjb at credil.org for the suggestion and Ivan Mesic for the draft patch.
2014-08-04Fixed #23169 - Misc docs fixes.areski
2014-08-03Fixed #23151 -- Deprecated RegexField.error_message.Tim Graham
Thanks Baptiste Mispelon for the suggestion.
2014-08-01Fixed #23103 -- Annotated ImageField file with image and content_type ↵Petras Zdanavičius
attributes. Thanks Jeremy Dunck for the suggestion and Nick Sanford for review.
2014-06-30Fixed #21942 -- Moved Form.clean() to form API docs.Tim Graham
Thanks cjerdonek for the suggestion.
2014-06-24Fixed #22796 -- Added a more basic explanations of forms.Daniele Procida
Thanks bmispelon, kezabelle, jorgecarleitao, and timgraham for reviews.
2014-06-12Fixed #22813 -- Updated Pillow URL in documentationClaude Paroz
2014-06-11Fixed typo in docs/ref/forms/validation.txt.Maxime Lorant
2014-06-04Fixed #22684 -- Amended SelectDateWidget.empty_label to accept a tuple of ↵gyx1000
values. Thanks danielsamuels for the report
2014-05-28Fixed #22684 -- Added `empty_label` option on ↵Guillaume Pannatier
`django.forms.extras.widets.SelectDateWidget` Thanks danielsamuels for the report
2014-05-24Fixed #22510 -- Harden field removal to only None.Marc Tamlyn
Refs #8620. If we allow any value to remove form fields then we get name clashes with method names, media classes etc. There was a backwards incompatibility introduced meaning ModelForm subclasses with declared fields called media or clean would lose those fields. Field removal is now only permitted by using the sentinel value None. The docs have been slightly reworded to refer to removal of fields rather than shadowing. Thanks to gcbirzan for the report and initial patch, and several of the core team for opinions.
2014-05-15Fixed #17642 -- Added min_num support to modelformsets, inlines, and the admin.Anders Steinlein
Thanks Stephen Burrows for work on the patch as well. Forwardport of 2914f66983a92fcae55673c517dd8d01e8c238c4 from stable/1.7.x
2014-05-13Fixed #22533 -- Added label_suffix parameter to form fields.Julen Ruiz Aizpuru
Fields can now receive the `label_suffix` attribute, which will override a form's `label_suffix`. This enhances the possibility to customize form's `label_suffix`, allowing to use such customizations while using shortcuts such as `{{ form.as_p }}`. Note that the field's own customization can be overridden at runtime by using the `label_prefix` parameter to `BoundField.label_tag()`. Refs #18134.
2014-04-16Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.chriscauley
Thanks tomwys for the suggestion.
2014-04-05Fixed #22216 -- Added Form.non_field_errors to form API doc.Tim Graham
2014-04-05Fixed case in form widgets docsClaude Paroz
2014-03-24Removed versionadded/changed annotations for 1.6.Tim Graham
2014-03-24Fixed #17922 -- Added required_css_class to form label.Anubhav Joshi
Thanks hanson2010 for the suggestion.
2014-03-24Fixed #22318 -- Added Form.has_error() to easily check if a given error has ↵Loic Bistuer
happened.
2014-03-22Fixed #22313 -- Removed 'u' prefixes from documentationClaude Paroz
2014-03-22Fixed #20684 -- Added support for HTML5 boolean attributes to form widgets.Loic Bistuer
2014-03-22Made ModelForms raise ImproperlyConfigured if the list of fields is not ↵Tim Graham
specified. Also applies to modelform(set)_factory and generic model views. refs #19733.
2014-03-21Removed PIL compatability layer per deprecation timeline.Tim Graham
refs #19934.
2014-03-16Fixed #21860 -- Added to_field_name to ModelChoiceField docs.Anubhav Joshi
Thanks Keryn Knight for the suggestion.
2014-02-28Fixed doc typos.Tim Graham
2014-02-28Fixed #21962 -- Added escape_html flag to ErrorDict.as_json()vvojvoda
2014-02-14Fixed #21654 -- Documented a use-case for Form.errors.as_data().Loic Bistuer
Thanks selwin for the suggestion.
2014-02-13Fixed #21951 -- Updated docs to use __str__ for Python 3Alasdair Nicol
Thanks Tim Graham for the report and recommendations
2014-02-04Made some PEP8 fixes in docs/ref/forms/widgets.txtTim Graham
Thanks Siecje.
2014-01-22Always use parentheses when documenting a method with no arguments.Baptiste Mispelon
2014-01-22Don't show `self` in the list of arguments of a method.Baptiste Mispelon
This is consistent with Python's official documentation and it's a sphinx recommendation too[1]. [1] http://sphinx-doc.org/markup/desc.html#dir-method Refs #21855.
2014-01-11Fixed #8898 -- Obsoleted SplitDateTimeWidget usage with DateTimeFieldClaude Paroz
Thanks Tim Graham for the review.