| Age | Commit message (Collapse) | Author |
|
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
|
|
|
|
FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget.
Thanks Matt Westcott for the review.
|
|
boolean syntax.
|
|
|
|
Previously, empty values were saved as strings.
|
|
|
|
|
|
|
|
|
|
objects.
|
|
|
|
|
|
|
|
|
|
Since refs #21489, FormSet classes and factories are exposed on the
django.forms package.
|
|
|
|
|
|
ForeignKey/OneToOneField
|
|
|
|
Thanks to knbk for the report.
|
|
|
|
|
|
|
|
|
|
Added links to the Form/Model table to the field reference docs to
point to their individual field references
|
|
|
|
Thanks Carl Meyer and Markus Holtermann for the reviews.
|
|
inlineformset_factory examples.
|
|
|
|
|
|
|
|
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.
|
|
Added ModelForm and NON_FIELD_ERRORS imports.
|
|
|
|
|
|
|
|
|
|
specified.
Also applies to modelform(set)_factory and generic model views.
refs #19733.
|
|
|
|
Thanks Tim Graham for the report and recommendations
|
|
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.
|
|
|
|
I updated the documentation, that the modelform now includes the 'slug' field.
|
|
|