summaryrefslogtreecommitdiff
path: root/docs/topics/forms
AgeCommit message (Collapse)Author
2015-03-11Fixed typo in docs/topics/forms/modelforms.txt.Dan Fellin
2015-03-09Fixed typo in docs/topics/forms/modelforms.txt.Tim Graham
2015-03-08Fixed #24456 -- Update modelforms.txt table of Form/Model refsPsilo Cybin
Added links to the Form/Model table to the field reference docs to point to their individual field references
2015-03-02Fixed #13015 -- Clarified language about model instances attached to forms.Tim Graham
2015-02-13Fixed #24295 -- Allowed ModelForm meta to specify form field classes.Loic Bistuer
Thanks Carl Meyer and Markus Holtermann for the reviews.
2015-02-02Fixed #24255 -- Specifed 'fields' parameter in modelformset_factory / ↵Matt Westcott
inlineformset_factory examples.
2015-02-01Removed versionadded/changed notes for 1.7.Tim Graham
2015-01-06Fixed #24083 -- Corrected is_bound nature in forms topic docsClaude Paroz
Thanks ajenhl Trac user for the report.
2014-12-17Fixed display of lists after website redesignMarkus Holtermann
Thanks Brian Jacobel for the report. refs django/djangoproject.com#197
2014-12-05Fixed #23955 -- Corrected formset fields in topic guide.Young Yang
2014-11-27Fixed typo in docs/topics/forms/modelforms.txt.wrwrwr
2014-11-15Fixed #23690 - fixed examples of manual rendering of form fieldsnmundar
Documentation for rendering form fields manually is now updated to use fields id_for_label instead of hardcoded values with additional mention of label_tag for alternative generation of complete label tag.
2014-11-11Fixed spelling errors in docs.Tim Graham
2014-11-03Fixed versionchanged indentation in docs/.Berker Peksag
2014-11-03Moved CSRF docs out of contrib.Thomas Chaumeny
2014-09-25Replaced input by textarea in forms docsClaude Paroz
2014-09-10Fixed typo in topics/forms/formsets.txtTim Graham
2014-09-08Fixed #23307 -- Clarified the way max_num limits the output of formsets.Octowl
Thanks velle for the report.
2014-08-26Fixed #23075 -- Added documentation on novalidate attribute and made it ↵Erik Romijn
default for admin Thanks to sehmaschine for the report and to Tim Graham for the review.
2014-08-19Removed unnecessary code-block directives.areski
2014-06-26Fixed and enhanced new HTML form docs.Matt Deacalion Stevens
2014-06-25Fixed typo in revamped forms intro doc.Ramiro Morales
2014-06-24Fixed #22796 -- Added a more basic explanations of forms.Daniele Procida
Thanks bmispelon, kezabelle, jorgecarleitao, and timgraham for reviews.
2014-06-04Fixed #22747 -- Add backwards compatibility tip for new behavior of ↵Tim Graham
formset.save(commit=False). Thanks django at patjack.co.uk.
2014-06-02Fixed #11776 -- Added CSS class for non-field/top of form errors.Nick Presta
Thanks Daniel Pope for the suggestion.
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-21Fixed #22639 -- Added missing imports in docsNiclas Åhdén
Added ModelForm and NON_FIELD_ERRORS imports.
2014-05-16Fixed #22622 -- Added ugettext_lazy import in docsNiclas Åhdén
2014-04-23Various documentation typo/spelling fixesMarti Raudsepp
Errors detected by Topy (https://github.com/intgr/topy), all changes verified by hand.
2014-03-30Corrected an import in a model form docs example.Ramiro Morales
2014-03-24Removed versionadded/changed annotations for 1.6.Tim Graham
2014-03-22Fixed #22313 -- Removed 'u' prefixes from documentationClaude Paroz
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-02-28Fixed spelling mistakes in docs.Tim Graham
2014-02-28Fixed doc typos.Tim Graham
2014-02-25Fixed docs typos.Szczepan Cieślik
2014-02-13Fixed #21951 -- Updated docs to use __str__ for Python 3Alasdair Nicol
Thanks Tim Graham for the report and recommendations
2014-02-08Fixed #16192 -- Made unique error messages in ModelForm customizable.Loic Bistuer
Overriding the error messages now works for both unique fields, unique_together and unique_for_date. This patch changed the overriding logic to allow customizing NON_FIELD_ERRORS since previously only fields' errors were customizable. Refs #20199. Thanks leahculver for the suggestion.
2014-01-23Fixed #21847 -- Clarified where ContactForm was definedTom Atkins
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.
2013-12-14Fixed #21539 -- Added example of modelformset_factory's form argumentAlasdair Nicol
2013-12-09Fixed #21560 -- missing 'slug' field in example codeChristian Schmitt
I updated the documentation, that the modelform now includes the 'slug' field.
2013-11-22Improved docs for ModelFormSet.clean().Loic Bistuer
2013-10-15Improvement on InlineFormSet doc, refs #21006Tianyi Wang
2013-10-15Fixed #21006 -- Added example code for overriding methods on an InlineFormSet.Tianyi Wang
Thanks treysta at gmail.com for the suggestion.
2013-10-15Merge pull request #1382 from loic/ticket19617Marc Tamlyn
Fixed #19617 -- Refactored form metaclasses to support more inheritance scenarios.
2013-10-14Fixed #21223 -- Added form.id_for_label to topic guide.Sorcha Bowler
Thanks ebertti at yahoo.com.br for the suggestion.
2013-10-14Fixed #8620 -- Updated the Form metaclass to support excluding fields by ↵Loic Bistuer
shadowing them.
2013-10-14Fixed #19617 -- Refactored Form metaclasses to support more inheritance ↵Loic Bistuer
scenarios. Thanks apollo13, funkybob and mjtamlyn for the reviews.
2013-10-14Clarfied the ModelForm docs with respect to generated vs. declared fields.Loic Bistuer
The ModelForm docs suggested that fields defined declaratively override default fields generated from the form Meta. This is conceptually wrong, especially with inheritance in mind. Meta is usually defined on the topmost ModelForm subclass, while fields can come from anywhere in the MRO, especially base classes; therefore we suggested that something defined in a base class override something from a subclass. This patch rephrases the docs around the idea that Meta is used to generate *missing* fields. Refs #8620, #19617. Thanks @mjtamlyn and @timgraham for the review.