summaryrefslogtreecommitdiff
path: root/docs/topics/forms/modelforms.txt
AgeCommit message (Collapse)Author
2010-08-09[soc2010/query-refactor] Merged up to trunk r13556, resolved merge conflictsarchive/soc2010/query-refactorAlex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17Fixed #13551 -- Corrected import in ModelForms example. Thanks to libber for ↵Russell Keith-Magee
the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12Fixed #13530: Corrected a handful of doc typos. Thanks Ramiro.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12Fixed #13524 -- Added backwards compatibility and feature notes regarding ↵Russell Keith-Magee
admin inlines and formsets. Thanks to Ramiro Morales and Gabriel Hurley. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-08Fixed #13269 -- Added clarifying import statement to widget override docs. ↵Russell Keith-Magee
Thanks to mattrowbum for the report, and Gabriel Hurley for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-06Fixed #12691 -- Added a versionadded tag to the description of widget ↵Russell Keith-Magee
overrides in forms. Thanks to danielr for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27Fixed #13023 - Removed ambiguity with regard to the max_num option of ↵Jannis Leidel
formsets and as a result of admin inlines. Thanks to Gabriel Hurley for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-06Fixed #12896. Documented the new side-effects of ModelForm validation.Joseph Kocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-01Updated formset docs to contain the new management form field for max_num ↵Jannis Leidel
values. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-12Fixed #12512. Changed ModelForm to stop performing model validation on ↵Joseph Kocherhans
fields that are not part of the form. Thanks, Honza Kral and Ivan Sagalaev. This reverts some admin and test changes from [12098] and also fixes #12507, #12520, #12552 and #12553. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10Fixed #9223 -- Added support for declarative widgets to ModelForm. I declare ↵Adrian Holovaty
thanks to isagalaev. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-04Fixed #12053 - form examples don't validate according to w3cLuke Plant
Thanks to skyl for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-17Fixed #399: Added big integer field. Thanks to Tomáš Kopeček for ↵Karen Tracey
persistently maintaining a patch for this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13Fixed #11755 -- Added documentation for an edge case of FormSet usage. ↵Russell Keith-Magee
Thanks to ffualo for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13Fixed #11740 -- Added extra detail on the behavior of ModelForms. Thanks to ↵Russell Keith-Magee
severian for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24Fixed #8861 -- Added note on the availability of ModelForm.instance. Thanks ↵Russell Keith-Magee
to Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18Fixed #11318 -- Grammar correction in modelform docs. Thanks to seemant for ↵Russell Keith-Magee
the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-10Fixed #10845 -- Clarified the examples for using ModelForms with fields or ↵Russell Keith-Magee
exclude specified. Thanks to Andrew Durdin for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-24Fixed #8857 -- Corrected ref in modelforms documentation and added ref to ↵Brian Rosner
file upload documentation in form documentation. Thanks Kyle Fox and prairiedogg. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-18Fixed #11138 -- Corrected the description of behavior related to the max_num ↵Karen Tracey
parameter for model formsets. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17Fixed #11128 -- Misc. fixes and improvements to the model forms doc. Thanks ↵Karen Tracey
Ramiro and Alex. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-07Fixed #9493 -- Corrected error handling of formsets that violate unique ↵Russell Keith-Magee
constraints across the component forms. Thanks to Alex Gaynor for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-03Fixed a whole bunch of small docs typos, errors, and ommissions.Jacob Kaplan-Moss
Fixes #8358, #8396, #8724, #9043, #9128, #9247, #9267, #9267, #9375, #9409, #9414, #9416, #9446, #9454, #9464, #9503, #9518, #9533, #9657, #9658, #9683, #9733, #9771, #9835, #9836, #9837, #9897, #9906, #9912, #9945, #9986, #9992, #10055, #10084, #10091, #10145, #10245, #10257, #10309, #10358, #10359, #10424, #10426, #10508, #10531, #10551, #10635, #10637, #10656, #10658, #10690, #10699, #19528. Thanks to all the respective authors of those tickets. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24Added versionadded markers for ModelForm field ordering, added in [10062].Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15Fixed #10507 -- Corrected formatting problem in ModelForm docs. Thanks to ↵Russell Keith-Magee
Paul Menzel for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15Fixed #8164 -- Fields on a ModelForm are now ordered in the order specified ↵Russell Keith-Magee
in the fields attribute of the ModelForm's Meta class. Thanks to Alex Gaynor for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23Fixed #9884 -- Corrected template example in model forms documentation, ↵Gary Wilson Jr
thanks bradmontgomery. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23Fixed #9896 -- Corrected a couple uses of `formset.forms`, thanks aglzen.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23Fixed #9780 -- Fixed an undefined internal link in the model forms ↵Gary Wilson Jr
documentation, thanks ramiro. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-21Fixed #9898 -- Added a missing 'e' to 'one'. Thanks gizzywump. Also ↵Karen Tracey
Americanized specialised while in the area, per contributing's guideline. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09Did some much-needed rewriting/editing in the formsets section of ↵Adrian Holovaty
docs/topics/forms/modelsforms.txt. 'It self' is not two words. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09Improved the model formset and inline formset documentation to be more ↵Brian Rosner
explicit and handle some cases that were never addressed before. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-02Added a short note to the modelforms documentation linking betweenMalcolm Tredinnick
save(commit=False) and using force_insert or force_update on the Model.save() call. Refs #8672. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15Fixed #9477 -- Removed and edited a bunch of references to "developmentMalcolm Tredinnick
version". Some were replaced with versionadded or versionchanged directives. Other, more minor ones, were removed altogether. Based on a patch from James Bennett. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14Fixed #9060: Clarified some language in the description of ↵Russell Keith-Magee
modelformset_factory. Thanks to gsf for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-12Fixed #9027 -- Corrected the documentation about can_delete default value. ↵Brian Rosner
Thanks gsf for catching this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-12Fixed #9056 -- Corrected a typo in topic/forms/modelforms.txt documentation. ↵Brian Rosner
Thanks drozzy for catching this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-06Fixed #8894 -- Fixed typo in modelforms.txt. Thanks, koblaid@web.deAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Fixed #8788: fixed a few typoes in [8805]. Thanks, Matthew Flanagan and mir.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Improved the docs even more.Brian Rosner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Added some docs on model formsets in views.Brian Rosner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01Fixed #8210 and #8664: moved `USStateField` and `PhoneNumberField` to ↵Jacob Kaplan-Moss
`django.contrib.localflavor.us`. This is a backwards-incompatible change, albeit a minor one; just add an aditional `import` and go on your way. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01Fixed #8209: `ModelForm`s now validate unique constraints. Alex Gaynor did ↵Jacob Kaplan-Moss
much of this work, and Brian Rosner helped as well. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27Removed oldforms, validators, and related code:Gary Wilson Jr
* Removed `Manipulator`, `AutomaticManipulator`, and related classes. * Removed oldforms specific bits from model fields: * Removed `validator_list` and `core` arguments from constructors. * Removed the methods: * `get_manipulator_field_names` * `get_manipulator_field_objs` * `get_manipulator_fields` * `get_manipulator_new_data` * `prepare_field_objs_and_params` * `get_follow` * Renamed `flatten_data` method to `value_to_string` for better alignment with its use by the serialization framework, which was the only remaining code using `flatten_data`. * Removed oldforms methods from `django.db.models.Options` class: `get_followed_related_objects`, `get_data_holders`, `get_follow`, and `has_field_type`. * Removed oldforms-admin specific options from `django.db.models.fields.related` classes: `num_in_admin`, `min_num_in_admin`, `max_num_in_admin`, `num_extra_on_change`, and `edit_inline`. * Serialization framework * `Serializer.get_string_value` now calls the model fields' renamed `value_to_string` methods. * Removed a special-casing of `models.DateTimeField` in `core.serializers.base.Serializer.get_string_value` that's handled by `django.db.models.fields.DateTimeField.value_to_string`. * Removed `django.core.validators`: * Moved `ValidationError` exception to `django.core.exceptions`. * For the couple places that were using validators, brought over the necessary code to maintain the same functionality. * Introduced a SlugField form field for validation and to compliment the SlugField model field (refs #8040). * Removed an oldforms-style model creation hack (refs #2160). git-svn-id: http://code.djangoproject.com/svn/django/trunk@8616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-23Massive reorganization of the docs. See the new docs online at ↵Jacob Kaplan-Moss
http://docs.djangoproject.com/. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8506 bcc190cf-cafb-0310-a4f2-bffc1f526a37