summaryrefslogtreecommitdiff
path: root/docs/ref/forms
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-10Fixed #12001 -- Modified the example of form validation to use the form's ↵Russell Keith-Magee
error class, rather than assuming ErrorList. Thanks to Suor for the report, and timo for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09Fixed #12643 -- Added link to the ModelForm documentation clarifying the ↵Russell Keith-Magee
special requirements of a clean() method on a modelform. Thanks to fgaudin for the report, and ptone for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27Fixed #13032 - Added localize parameter to form fields to be able to ↵Jannis Leidel
selectively enable localization. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-16Fixed #10361 -- Added documentation for ComboField and MultiValueField form ↵Gary Wilson Jr
fields, patch from timo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08Fixed #12097 -- Cleaned up the documentation for ModelChoiceField and ↵Russell Keith-Magee
MultipleModelChoiceField. Thanks to JasonYosinski for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08Fixed #13037 -- Added documentation for the css_classes() helper class. ↵Russell Keith-Magee
Thanks to marcusf for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-03Fixed #12601: Documented the slug field in the forms module.James Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21Fixed #9764 - Updated EmailField and URLField to support IDN ↵Jannis Leidel
(Internationalized Domain Names). Thanks, UloPe. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-05Added a section to the docs for discussing validators and updated a few ↵Joseph Kocherhans
links to point to it. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-05Merged soc2009/model-validation to trunk. Thanks, Honza!Joseph Kocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26Fixed #9465 -- Simplified API Reference documentation titles for easier ↵Gary Wilson Jr
lookup and made first-level heading styles consistent. Thanks, adamnelson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-25Added a few Sphinx directives to the form API and template API docs.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-12Fixed #3512: it's now possible to add CSS hooks to required/erroneous form ↵Jacob Kaplan-Moss
rows. Thanks, SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-10Fixed #7437: SelectDateWidget is not documented.Luke Plant
Thanks timo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-29Fixed #6674: Documented a couple of widget arguments. Thanks timo.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15Fixed #11374 -- Modified the documentation for forms.BooleanField to allow ↵Russell Keith-Magee
for the fact that it can be rendered using widgets other than a checkbox. Thanks to lygaret for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-10Fixed #10792 -- Ensured that ModelChoiceFields don't provide an empty option ↵Russell Keith-Magee
when the underlying field has blank=False and there is a default value available. Thanks to carljm for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10729 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-31A whole lotta documentation fixes: Fixes #8704, #8826, #8980, #9243, #9343, ↵Jacob Kaplan-Moss
#9529, git-svn-id: http://code.djangoproject.com/svn/django/trunk@10303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-22Fixed #8962 -- Consistently support format and input_format in the various ↵Karen Tracey
(individual, combined, split) date and time form fields and widgets. Many thanks to Tai Lee for doing all the work here. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-21Fixed #10135 -- Added some import statements to docs/ref/forms/fields.txt ↵Adrian Holovaty
and docs/ref/forms/widgets.txt to help people understand where the code lives. Thanks, Rob Hudson git-svn-id: http://code.djangoproject.com/svn/django/trunk@9853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23Fixed #9902 -- Corrected misspelling in form validation documentation, ↵Gary Wilson Jr
thanks zunzun. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-22Changed some ReST formatting of headers (in forms/validation.txt).Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09Fixed #9772 -- Fixed a couple of broken links and pointed them to a moreMalcolm Tredinnick
appropriate section. Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-04Fixed some markup errors in the form validation docs.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-18Renamed file-uploads.txt from 'topics-file-uploads' to ↵Adrian Holovaty
'topics-http-file-uploads' to be consistent with directory structure git-svn-id: http://code.djangoproject.com/svn/django/trunk@9489 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-10-24Fixed #9384 -- Fixed a couple of typos. Thanks, Thomas Güttler and romke.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-09Fixed #9239 -- Somebody read my form validation docs from r9177 and found aMalcolm Tredinnick
typo in them. I guess that was predictable. Thanks, Berry Groenendijk git-svn-id: http://code.djangoproject.com/svn/django/trunk@9217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06Added a lot more explanation about form field validation, including expandedMalcolm Tredinnick
examples. Fixed #5843, #6652, #7428. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16Edited some recent docs changesAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15Added documentation of the Form class's custom __iter__ method to the forms ↵Simon Willison
API reference as well git-svn-id: http://code.djangoproject.com/svn/django/trunk@9031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Fixed #8753: converted "new in ..." callouts to proper Sphinx ↵Jacob Kaplan-Moss
"versionadded/versionchanged" directives. Thanks to Marc Fargas for all the heavy lifting here. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31Added a `TypedChoiceField` which acts just like `ChoiceField`, except that itJacob Kaplan-Moss
returns a value coerced by some provided function. Refs #6967. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8771 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-27Fixed #8544 -- Some more documentation markup fixes from Thejawsi Puthraya.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27Fixed #8518 -- Fixed some markup problems in the widget documentation. Thanks,Malcolm Tredinnick
Thejawsi Puthraya. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-24Fixed #8512: Corrected typo in form validation documentation. Thanks for the ↵James Bennett
catch, Karen. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8511 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