Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed #21942 -- Moved Form.clean() to form API docs. | Tim Graham | 2014-06-30 | 2 | -11/+19 | |
| | | | | Thanks cjerdonek for the suggestion. | |||||
* | Fixed #22796 -- Added a more basic explanations of forms. | Daniele Procida | 2014-06-24 | 1 | -0/+4 | |
| | | | | Thanks bmispelon, kezabelle, jorgecarleitao, and timgraham for reviews. | |||||
* | Fixed #22813 -- Updated Pillow URL in documentation | Claude Paroz | 2014-06-12 | 1 | -1/+1 | |
| | ||||||
* | Fixed typo in docs/ref/forms/validation.txt. | Maxime Lorant | 2014-06-11 | 1 | -1/+1 | |
| | ||||||
* | Fixed #22684 -- Amended SelectDateWidget.empty_label to ↵ | gyx1000 | 2014-06-04 | 1 | -4/+15 | |
| | | | | | | accept a tuple of values. Thanks danielsamuels for the report | |||||
* | Fixed #22684 -- Added `empty_label` option on ↵ | Guillaume Pannatier | 2014-05-28 | 1 | -0/+12 | |
| | | | | | | `django.forms.extras.widets.SelectDateWidget` Thanks danielsamuels for the report | |||||
* | Fixed #22510 -- Harden field removal to only None. | Marc Tamlyn | 2014-05-24 | 1 | -4/+14 | |
| | | | | | | | | | | | | | | | | 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. | |||||
* | Fixed #17642 -- Added min_num support to modelformsets, ↵ | Anders Steinlein | 2014-05-15 | 1 | -2/+2 | |
| | | | | | | | | inlines, and the admin. Thanks Stephen Burrows for work on the patch as well. Forwardport of 2914f66983a92fcae55673c517dd8d01e8c238c4 from stable/1.7.x | |||||
* | Fixed #22533 -- Added label_suffix parameter to form fields. | Julen Ruiz Aizpuru | 2014-05-13 | 2 | -8/+33 | |
| | | | | | | | | | | | | | | 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. | |||||
* | Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of ↵ | chriscauley | 2014-04-17 | 1 | -3/+3 | |
| | | | | | | docs and tests. Thanks tomwys for the suggestion. | |||||
* | Fixed #22216 -- Added Form.non_field_errors to form API doc. | Tim Graham | 2014-04-06 | 2 | -4/+13 | |
| | ||||||
* | Fixed case in form widgets docs | Claude Paroz | 2014-04-05 | 1 | -1/+1 | |
| | ||||||
* | Removed versionadded/changed annotations for 1.6. | Tim Graham | 2014-03-24 | 6 | -58/+16 | |
| | ||||||
* | Fixed #17922 -- Added required_css_class to form label. | Anubhav Joshi | 2014-03-24 | 1 | -3/+16 | |
| | | | | Thanks hanson2010 for the suggestion. | |||||
* | Fixed #22318 -- Added Form.has_error() to easily check ↵ | Loic Bistuer | 2014-03-24 | 1 | -0/+11 | |
| | | | | if a given error has happened. | |||||
* | Fixed #22313 -- Removed 'u' prefixes from documentation | Claude Paroz | 2014-03-22 | 4 | -33/+33 | |
| | ||||||
* | Fixed #20684 -- Added support for HTML5 boolean ↵ | Loic Bistuer | 2014-03-22 | 1 | -0/+13 | |
| | | | | attributes to form widgets. | |||||
* | Made ModelForms raise ImproperlyConfigured if the list ↵ | Tim Graham | 2014-03-22 | 1 | -6/+6 | |
| | | | | | | | | of fields is not specified. Also applies to modelform(set)_factory and generic model views. refs #19733. | |||||
* | Removed PIL compatability layer per deprecation timeline. | Tim Graham | 2014-03-21 | 1 | -8/+6 | |
| | | | | refs #19934. | |||||
* | Fixed #21860 -- Added to_field_name to ModelChoiceField ↵ | Anubhav Joshi | 2014-03-16 | 1 | -1/+35 | |
| | | | | | | docs. Thanks Keryn Knight for the suggestion. | |||||
* | Fixed doc typos. | Tim Graham | 2014-02-28 | 1 | -1/+1 | |
| | ||||||
* | Fixed #21962 -- Added escape_html flag to ↵ | vvojvoda | 2014-02-28 | 1 | -1/+12 | |
| | | | | ErrorDict.as_json() | |||||
* | Fixed #21654 -- Documented a use-case for ↵ | Loic Bistuer | 2014-02-14 | 2 | -0/+21 | |
| | | | | | | Form.errors.as_data(). Thanks selwin for the suggestion. | |||||
* | Fixed #21951 -- Updated docs to use __str__ for Python 3 | Alasdair Nicol | 2014-02-13 | 2 | -8/+8 | |
| | | | | Thanks Tim Graham for the report and recommendations | |||||
* | Made some PEP8 fixes in docs/ref/forms/widgets.txt | Tim Graham | 2014-02-04 | 1 | -4/+2 | |
| | | | | Thanks Siecje. | |||||
* | Always use parentheses when documenting a method with no ↵ | Baptiste Mispelon | 2014-01-22 | 2 | -5/+5 | |
| | | | | arguments. | |||||
* | Don't show `self` in the list of arguments of a method. | Baptiste Mispelon | 2014-01-22 | 1 | -1/+1 | |
| | | | | | | | | | 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. | |||||
* | Fixed #8898 -- Obsoleted SplitDateTimeWidget usage with ↵ | Claude Paroz | 2014-01-11 | 1 | -0/+6 | |
| | | | | | | DateTimeField Thanks Tim Graham for the review. | |||||
* | Fixed #21319 -- Added documentation for the Form.fields ↵ | Vajrasky Kok | 2014-01-03 | 1 | -0/+34 | |
| | | | | | | | attribute. Thanks pydanny for the report. Also, added documentation about base_fields attribute and its difference with fields attribute. | |||||
* | Fixed #21669 -- Typo in docs/ref/forms/fields.txt. | Tim Graham | 2013-12-25 | 1 | -1/+1 | |
| | | | | Thanks alex_koval for the report. | |||||
* | Fixed #17413 -- Serialization of form errors along with ↵ | Loic Bistuer | 2013-12-16 | 1 | -0/+21 | |
| | | | | all metadata. | |||||
* | Removed Form._errors from the docs in favor of the ↵ | Loic Bistuer | 2013-11-29 | 2 | -95/+11 | |
| | | | | add_error API. | |||||
* | Fixed #20867 -- Added the Form.add_error() method. | Loic Bistuer | 2013-11-29 | 2 | -0/+48 | |
| | | | | | | Refs #20199 #16986. Thanks @akaariai, @bmispelon, @mjtamlyn, @timgraham for the reviews. | |||||
* | Fixed #21397 -- Re-added flexibility to TypedChoiceField ↵ | Claude Paroz | 2013-11-18 | 1 | -1/+3 | |
| | | | | | | coercion Thanks Elec for the report and Simon Charette for the review. | |||||
* | Fixed typos in previous commit ↵ | Baptiste Mispelon | 2013-11-12 | 1 | -5/+5 | |
| | | | | (9aa6d4bdb6618ba4f17acc7b7c0d1462d6cbc718). | |||||
* | Removed a mention of `Form._errors` from the documentation. | Baptiste Mispelon | 2013-11-12 | 1 | -10/+6 | |
| | | | | | | | | Also removed a sentence that was incorrect: raising a `ValidationError` inside `Form.clean` doesn't clear the `cleaned_data` attribute. Thanks to loic84 and timograham for the review. | |||||
* | Fixed #8620 -- Updated the Form metaclass to support ↵ | Loic Bistuer | 2013-10-14 | 1 | -0/+7 | |
| | | | | excluding fields by shadowing them. | |||||
* | Forms docs: More emphasis in 'id' value customizability. | Ramiro Morales | 2013-10-12 | 1 | -13/+19 | |
| | ||||||
* | Fixed #20439 -- Started deprecation of IPAddressField | Erik Romijn | 2013-09-28 | 1 | -0/+4 | |
| | ||||||
* | Fixed #21120 -- Added more explicit text on using ↵ | Ben Huckvale | 2013-09-23 | 1 | -3/+13 | |
| | | | | | | validators and link to writing validators. Thanks nicolas at niconomicon.net for the suggestion. | |||||
* | Fixed #9532 -- Added min_num and validate_min on formsets. | yokomizor | 2013-09-19 | 1 | -2/+6 | |
| | | | | Thanks gsf for the suggestion. | |||||
* | Fixed #17627 -- Renamed util.py files to utils.py | Tim Graham | 2013-09-16 | 2 | -4/+8 | |
| | | | | | Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch. | |||||
* | Fixed #21009 -- Added a versionchanged note regarding ↵ | Tim Graham | 2013-09-05 | 1 | -0/+6 | |
| | | | | | | changes to clean(). refs [fb1dd6b13a] and [1c4a9bd9ad1] | |||||
* | Fixed #20986 -- Enabled SelectDateWidget to use custom ↵ | Loic Bistuer | 2013-08-28 | 1 | -0/+17 | |
| | | | | | | months Reviewed by Trac alias MarkusH. | |||||
* | Removed versionadded/changed annotations for 1.5 | Tim Graham | 2013-08-19 | 4 | -27/+2 | |
| | ||||||
* | Fixed #20555 -- Make subwidget id attribute available | Matt Johnson | 2013-08-13 | 1 | -24/+41 | |
| | | | | | In `BoundField.__iter__`, the widget's id attribute is now passed to each subwidget. A new id_for_label property was added to ChoiceInput. | |||||
* | Added an anchor for django.forms.Form.clean in docs | Tim Graham | 2013-08-08 | 1 | -0/+2 | |
| | ||||||
* | Form.clean() does not need to return cleaned_data. | Marc Tamlyn | 2013-08-08 | 1 | -10/+2 | |
| | | | | | If it does, that will be used as the cleaned_data. The default implementation has been changed to match this change. | |||||
* | Fixed #15511 -- Allow optional fields on ↵ | Tai Lee | 2013-08-06 | 1 | -1/+40 | |
| | | | | | | | | | | | | ``MultiValueField` subclasses. The `MultiValueField` class gets a new ``require_all_fields`` argument that defaults to ``True``. If set to ``False``, individual fields can be made optional, and a new ``incomplete`` validation error will be raised if any required fields have empty values. The ``incomplete`` error message can be defined on a `MultiValueField` subclass or on each individual field. Skip duplicate errors. | |||||
* | Fixed #20823 -- Typo in docs/ref/forms/validation.txt | Tim Graham | 2013-07-30 | 1 | -1/+1 | |
| |