summaryrefslogtreecommitdiff
path: root/docs/topics/forms
AgeCommit message (Collapse)Author
2012-02-03Made a bunch more edits up until [17418]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17428 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-15Added support for specifying initial values to model formsets and inline ↵Ramiro Morales
formsets. This make them consistent with the similar capability of regular formsets. Thanks to simon29 form the report and to Claude Paroz for the patch. Fixes #14574. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-21Fixed #16851 - Added how-to access form field value in template; thanks ↵Timo Graham
yasar11732 for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-14Fixed many more ReST indentation errors, somehow accidentally missed from ↵Luke Plant
[16955] git-svn-id: http://code.djangoproject.com/svn/django/trunk@16983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-04Fixed #16985 -- corrected a few grammar errors in the docs.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-22Fixed 11674 -- Clarified docs on excluded fields of ModelForms.Paul McMillan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-13Fixed #16815 -- Rectified the code example for hidden_fields and ↵Julien Phalip
visible_fields in the forms documentation. Thanks, joonas. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-10Fixed #11404. Added ``FormSet.has_changed``, for consistancy with ↵Alex Gaynor
``Form.has_changed``. Thanks to michelts for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-10Make ``Formset.__getitem__`` O(1), rather than O(n). If you override ↵Alex Gaynor
``__iter__`` you now need to also override ``__getitem__`` for consistant behavior. Thanks to Carl and Russ for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-18Fixed #16467 -- Restored a previously correct example which was broken in ↵Gabriel Hurley
[16564]. Thanks to dmclain for pointing out that the original example was correct. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-13Fixed #16621 -- Fixed lots of typos in the docs. Thanks, Bernhard Essl.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-06Fixed #16513 - Add forms import to example; thanks teraom.Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29Fixed #16467 -- Corrected formset code example. Thanks, teraom.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-18Fixed typos introduced in r16430 and r16431. Thanks, magopian.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-17Fixed #16126 -- Added documentation about DELETE and ORDER fields in ↵Jannis Leidel
formsets. Many thanks to Aleksandra Sendecka. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16430 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11Fixed #811 -- Added support for IPv6 to forms and model fields. Many thanks ↵Jannis Leidel
to Erik Romijn. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-04Fixed #15990 - Simplified a sentence regarding form validation for ↵Timo Graham
ModelForms; thanks jblaine for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-01Changed e-mail to email throughout documentation and codebase. The one ↵Adrian Holovaty
exception is translation strings, which I didn't want to disrupt git-svn-id: http://code.djangoproject.com/svn/django/trunk@15967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-17Changed 'raise' statements to new style syntax in documentation. Thanks ↵Ramiro Morales
DaNmarner. Refs #15635. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03Fixed #3094 -- Accelerated deprecation of XMLField, since it hasn't served ↵Russell Keith-Magee
any useful purpose since oldforms. Thanks to PaulM for driving the issue and providing the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-07Fixed #15134 -- Placed formset documentation before modelform documentation ↵Gabriel Hurley
in the forms topic index to improve the logical flow of information being presented. Thanks to Aryeh Leib Taurog for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-07Fixed #15055 -- added information about (and an example of) the csrf_token ↵Gabriel Hurley
template tag to the forms documentation. Thanks to sneakyness for the report and bpeschier for the draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-30Reworded parts of the staticfiles documentation after receiving various user ↵Jannis Leidel
feedback. Thanks, all! git-svn-id: http://code.djangoproject.com/svn/django/trunk@15369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26Fixed #13949 - Note that readonly fields can't be modified via custom clean ↵Timo Graham
methods. thanks alk for the suggestion and elbarto and Gabriel Hurley whose language I used in the final patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26Fixed #14000 - remove versionadded/changed tags for Django 1.0 and 1.1Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-19Corrected a markup error introduced in r14986.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-19Fixed #14655 -- Made formsets iterable. This allows a slightly more natural ↵Russell Keith-Magee
iteration API (`for form in formsets`), and allows you to easily override the form rendering order. Thanks to Kent Hauser for the suggestion and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Fixes #7817 and #9456.Chris Beaven
- The include tag now has a 'with' option to include to provide extra context vairables to the included template. - The include tag now has an 'only' option to exclude the current context when rendering the included template. - The with tag now accepts multiple variable assignments. - The with, include and blocktrans tags now use a new keyword argument format for variable assignments (e.g. `{% with foo=1 bar=2 %}`). git-svn-id: http://code.djangoproject.com/svn/django/trunk@14922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13Fixed #14897 -- fixed some synax highlighting in the formset documentation. ↵Alex Gaynor
Thanks to marcusf for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-28Fixed #14791 - Clarify additional note on save(). Thanks OldTroll.Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-21Fixed #11418 -- formset.cleaned_data no longer raises AttributeError when ↵Honza Král
is_valid is True. Thanks mlavin! This also introduces a slightly backwards-incompatible change in FormSet's behavior, see the release docs for details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17Corrected some syntax issues in the docs.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17Fixed a bunch of code examples in the form media documentation.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17Fixed #14693, #14709 -- Backwards incompatible change to rectify the ↵Jannis Leidel
confusion around the STATICFILES_URL and STATICFILES_ROOT settings. * Two new global settings that will be used by -- **but are not limited to** -- the staticfiles app: STATIC_ROOT and STATIC_URL. * Moving the 'django.contrib.staticfiles.templatetags.staticfiles' template tag to the core ('django.templatetags.static') and renaming it to 'get_static_prefix'. * Moving the context processor 'django.contrib.staticfiles.context_processors.staticfiles' to the core ('django.core.context_processors.static') and renaming it to 'static'. * Paths in media definitions will use STATIC_URL as the prefix if the value is not None, and falls back to the previously used MEDIA_URL. Thanks again to the community for constructive criticism and Carl and Russ for sanity-inducing discussions on IRC. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23Fixed #14537 -- Added documentation on where validators can be imported from ↵Gabriel Hurley
to Validators Reference docs, and improved Sphinx formatting and metadata. Thanks to rfugger for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10Fixed #14392 -- Changed ModelForm.fields and ModelForm.exclude examples to ↵Gabriel Hurley
use tuples instead of lists since they were used inconsistently throughout the page (it wasn't hurting anything, but consistency is nice). Thanks to lspcity for the report and gruszczy for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10Fixed #10027 -- Makes links to form and field validation (and form reference ↵Gabriel Hurley
docs in general) more readily available from form topic overview. Thanks to john_fries for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixed #11509 -- Modified usage of "Web" to match our style guide in various ↵Russell Keith-Magee
documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08Fixed #14023 -- include non_field_errors in example. Thanks to konryd for ↵Simon Meers
the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-19Fixed #14141: docs now use the :doc: construct for links between documents.Jacob Kaplan-Moss
Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-07Fixed #11735 -- Corrected an example of FormSet subclassing. Thanks to ↵Russell Keith-Magee
claudep for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13553 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-10Fixed #11908 -- Clarified the role and usage of the ManagementForm in ↵Russell Keith-Magee
formsets. Thanks to timo for the draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10Fixed #12505 -- Clarified the use of the extra argument in formsets. Thanks ↵Russell Keith-Magee
to Andreas for the report, and timo for the draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13218 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