Commit Graph

151 Commits

Author SHA1 Message Date
Tim Graham 6cf33d49d1 [1.5.x] Removed a ModelForm doc section that doesn't apply to 1.5.x 2013-08-08 06:29:15 -04:00
Loic Bistuer cf2986c885 [1.5.x] Fixed #20772 -- Fixed minor typo in form media docs.
Backport of aa41eb9b8b from master
2013-07-19 05:19:54 -04:00
Loic Bistuer 3860d5e8f8 [1.5.x] Reworked docs for ModelForm validation.
Backport of fba6c2ede7 from master
2013-07-16 19:22:11 -04:00
Tim Graham 5567dc68e6 [1.5.x] Fixed #16965 -- Clarified Formset can_delete docs.
Thanks gregcorey@ for the suggestion.

Backport of 660c30ed95 from master
2013-07-08 12:21:34 -04:00
Tim Graham abce5abe66 [1.5.x] Fixed #12346 -- Added a note on how to validate InlineFormSets.
Thanks johnsmith for the suggestion.

Backport of 181f63c22d from master
2013-07-08 08:32:28 -04:00
Tim Graham cd1aec65cc [1.5.x] Fixed #20578 - Typo in BaseFormSet module name
Backport of 9ff5f100dd from master
2013-06-10 14:37:38 -04:00
Tim Graham 17d60438e9 [1.5.X] Fixed #20523 - Incorrect form field for FilePathField.
Thanks sane4ka.sh@ for the report.

Backport of 1fdc3d256d from master
2013-05-28 11:59:41 -04:00
Simon Charette 19ad7231da [1.5.x] Fixed #20263 -- Corrected wording in the formset documentation.
Thanks to feraudyh at yahoo.com for the report.

Backport of 1de63cccb1 from master.
2013-04-15 12:22:51 -04:00
Tim Graham 405d6208e5 [1.5.x] Fixed #8649 - Documented a caveat about dynamically adjusting formsets.
Backport of 4a1d425cfe from master
2013-03-31 04:35:48 -04:00
Aymeric Augustin 3ef4bbf495 [1.5.x] Added a default limit to the maximum number of forms in a formset.
This is a security fix. Disclosure and advisory coming shortly.
2013-02-19 10:39:04 -07:00
Alex Hunley 5c3c8bf09a [1.5.x] Fixed #19719 - Removed misleading example from ModelForm documentation
Backport of 976dc07baf from master
2013-02-16 18:05:35 -05:00
Tim Graham f28fbe7314 [1.5.x] Fixed #19700 - Added documentation for BoundField.field.
Thanks Tiberiu Ana for the report and patch.

Backport of fdaaa24171 from master
2013-02-02 08:38:02 -05:00
Tim Graham 2e6b0c5ca7 [1.5.x] Fixed #19610 - Added enctype note to forms topics doc.
Thanks will@ for the suggestion.

Backport of 0de2645c00 from master
2013-01-23 04:50:24 -05:00
Tim Graham 34718395ed [1.5.x] Fixed #19640 - Added inlineformset_factory to reference docs.
Thanks wim@ for the suggestion.

Backport of 5b2d9bacd2 from master
2013-01-22 07:58:09 -05:00
Tim Graham c94fcc4117 [1.5.x] Fixed #10239 - Added docs for modelform_factory
Thanks ingenieroariel for the suggestion and slurms for the review.

Backport of 71d76ec011 from master
2013-01-11 06:01:19 -05:00
Tim Graham be1e006c58 [1.5.x] Fixed #19516 - Fixed remaining broken links.
Added -n to sphinx builds to catch issues going forward.

Backport of 9b5f64cc6e from master.
2013-01-02 18:50:00 -05:00
Tim Graham 9e5ada79bf [1.5.x] Fixed broken links, round 4. refs #19516
Backport of 067505ad19 from master
2012-12-29 15:57:57 -05:00
Claude Paroz fce779475e [1.5.x] Removed US localflavor-specific tests from core
Also fixes #9045.
Backport of 8248d1402 from master.
2012-12-08 21:08:37 +01:00
Tim Graham f7d87b30fb [1.5.X] Fixed #15591 - Clarified interaction between ModelForm and model validation.
Backport of d3fd8a1512 from master
2012-11-05 18:30:50 -05:00
Tim Graham fd02bcff4a Fixed #18548 - Clarified note regarding reusing model instances when form validation fails. 2012-10-16 20:39:13 -04:00
Tim Graham 837425b425 Fixed #18934 - Removed versionadded/changed annotations for Django 1.3 2012-09-20 19:06:55 -04:00
Tim Graham a73838fde3 Fixed #11185 - Expanded docs on customizing widgets; thanks fadeev for the draft patch. 2012-09-15 06:22:00 -04:00
Nick Martini 571698997f fixing modelforms example code, ticket #18832 2012-09-08 12:30:41 -04:00
Tim Graham e57338f2b9 Fixed #18847 - Updated for media examples to use static.example.com. Thanks Jamie Curle. 2012-08-24 08:23:50 -04:00
Tim Graham 3fd89d9903 Fixed #14885 - Clarified that ModelForm cleaning may not fully complete if the form is invalid.
Thanks Ben Sturmfels for the patch.
2012-08-21 17:32:53 -04:00
Tim Graham ebbc414d17 Fixed #16168 - Added note regarding type requirements when overridng ModelForm fields.
Thanks Pieter Swinkels for the patch.
2012-08-01 07:59:28 -04:00
Florian Apolloner 7d06f975fe Fixed #18614 -- Added missing imports in code samples. 2012-07-25 22:32:53 +02:00
Claude Paroz 19a810b18c Fixed #14917 -- Hinted that view should redirect after form post success 2012-06-23 18:47:52 +02:00
Jannis Leidel c4c7fbcc0d Fixed #18451 -- Vastly improved class based view documentation.
Many thanks to Daniel Greenfeld, James Aylett, Marc Tamlyn, Simon Williams, Danilo Bargen and Luke Plant for their work on this.
2012-06-11 10:40:23 +02:00
Audrey Roy 7ab6e32843 Revised the text in the 'Processing the data from a form' section. 2012-06-08 12:13:52 +02:00
Audrey Roy 3c05b500a5 Revised the text in the 'Using a form in a view' section. 2012-06-08 12:03:52 +02:00
Aymeric Augustin 33999d9871 Fixed #18445 -- Added a links in the docs.
Thanks Audrey Roy for the patch.
2012-06-07 22:11:24 +02:00
Aymeric Augustin c28e700c7e Removed references to changes made in 1.2.
Thanks Florian Apolloner for the patch.
2012-06-07 15:02:35 +02:00
Adrian Holovaty 6799ffad9a Merge pull request #99 from danielroseman/master
Docs: "Form in a view" example doesn't use RequestContext
2012-06-04 13:13:14 -07:00
Daniel Roseman 5c59e43aef Use render shortcut in form example. 2012-05-31 15:33:45 +01:00
Claude Paroz 6219591f2e Fixed #18244 -- Documented that formset.has_changed is a 1.4 addition. 2012-05-22 13:56:03 +02:00
Claude Paroz 596cb9c7e2 Replaced print statement by print function (forward compatibility syntax). 2012-04-30 20:45:03 +02:00
Aymeric Augustin 9ed6e08ff9 Removed deprecated URLField.verify_exists.
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-03-31 13:55:03 +00:00
Adrian Holovaty 6ecadcbdd2 Made a bunch more edits up until [17418]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17428 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-03 20:45:45 +00:00
Ramiro Morales e308cfc0e1 Added support for specifying initial values to model formsets and inline 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
2012-01-15 01:36:14 +00:00
Timo Graham f2d02647fa Fixed #16851 - Added how-to access form field value in template; thanks yasar11732 for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-21 23:33:39 +00:00
Luke Plant d1e5c55258 Fixed many more ReST indentation errors, somehow accidentally missed from [16955]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-14 00:12:01 +00:00
Alex Gaynor 749f0721c4 Fixed #16985 -- corrected a few grammar errors in the docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-04 23:54:12 +00:00
Paul McMillan 4f109fcbff Fixed 11674 -- Clarified docs on excluded fields of ModelForms.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-22 04:52:43 +00:00
Julien Phalip 3513234cf8 Fixed #16815 -- Rectified the code example for hidden_fields and 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-13 08:22:53 +00:00
Alex Gaynor d14bf8c62b Fixed #11404. Added ``FormSet.has_changed``, for consistancy with ``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-10 02:42:05 +00:00
Alex Gaynor 01b0eb50fd Make ``Formset.__getitem__`` O(1), rather than O(n). If you override ``__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-09-10 01:53:56 +00:00
Gabriel Hurley bdd1409eea Fixed #16467 -- Restored a previously correct example which was broken in [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-18 21:47:04 +00:00
Jannis Leidel 566b3295fa Fixed #16621 -- Fixed lots of typos in the docs. Thanks, Bernhard Essl.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-13 11:58:19 +00:00
Timo Graham 0350d65fa4 Fixed #16513 - Add forms import to example; thanks teraom.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-06 19:02:20 +00:00