1
0
mirror of https://github.com/django/django.git synced 2025-03-14 19:30:46 +00:00

158 Commits

Author SHA1 Message Date
Alasdair Nicol
e4174da34a [1.5.x] Fixed #21539 -- Added example of modelformset_factory's form argument
Backport of 1fa681ee11 from master
2013-12-14 16:36:27 -05:00
Ben Spaulding
a53820b1b1 [1.5.x] Fixed #21594 -- Added note about model formsets deleting objects.
This behavior has been fixed in 65e03a424e. refs #10284.

Backport of de1d5d5df5 from stable/1.6.x.
2013-12-11 14:43:44 -05:00
Baptiste Mispelon
ed8814b24a Fixed #21468 -- Removed a ModelForm bit that doesn't apply to 1.5.x.
The bit was incorrectly backported with 3860d5e8f814e26baf4deee9258392cd34a4b456.

Thanks to trac user direx for the report and to Loic Bistuer
for his help.
2013-11-20 10:52:49 +01:00
Tianyi Wang
312ca5e9cb [1.5.x] Improvement on InlineFormSet doc, refs #21006
Backport of 944a2bb7c1 from master
2013-10-15 09:58:57 -04:00
Tianyi Wang
1acd5fc9d2 [1.5.x] Fixed #21006 -- Added example code for overriding methods on an InlineFormSet.
Thanks treysta at gmail.com for the suggestion.

Backport of 9bfe66164e from master
2013-10-15 07:37:51 -04:00
Sorcha Bowler
6e7de2edb0 [1.5.x] Fixed #21223 -- Added form.id_for_label to topic guide.
Thanks ebertti at yahoo.com.br for the suggestion.

Backport of 018e2c055a from master
2013-10-14 18:43:48 -04:00
Phaneendra Chiruvella
50d9bed1d5 [1.5.x] Minor spelling correction in ModelForms docs
Backport of 2fbf949760 from master
2013-08-28 07:12:43 -04:00
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