summaryrefslogtreecommitdiff
path: root/docs/topics/forms
AgeCommit message (Collapse)Author
2012-08-01Fixed #16168 - Added note regarding type requirements when overridng ↵Tim Graham
ModelForm fields. Thanks Pieter Swinkels for the patch.
2012-07-25Fixed #18614 -- Added missing imports in code samples.Florian Apolloner
2012-06-23Fixed #14917 -- Hinted that view should redirect after form post successClaude Paroz
2012-06-11Fixed #18451 -- Vastly improved class based view documentation.Jannis Leidel
Many thanks to Daniel Greenfeld, James Aylett, Marc Tamlyn, Simon Williams, Danilo Bargen and Luke Plant for their work on this.
2012-06-08Revised the text in the 'Processing the data from a form' section.Audrey Roy
2012-06-08Revised the text in the 'Using a form in a view' section.Audrey Roy
2012-06-07Fixed #18445 -- Added a links in the docs.Aymeric Augustin
Thanks Audrey Roy for the patch.
2012-06-07Removed references to changes made in 1.2.Aymeric Augustin
Thanks Florian Apolloner for the patch.
2012-06-04Merge pull request #99 from danielroseman/masterAdrian Holovaty
Docs: "Form in a view" example doesn't use RequestContext
2012-05-31Use render shortcut in form example.Daniel Roseman
2012-05-22Fixed #18244 -- Documented that formset.has_changed is a 1.4 addition.Claude Paroz
2012-04-30Replaced print statement by print function (forward compatibility syntax).Claude Paroz
2012-03-31Removed deprecated URLField.verify_exists.Aymeric Augustin
The deprecation schedule was slightly accelerated because of possible security ramifications. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
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