257 Commits

Author SHA1 Message Date
Sean Marlow
d5f1736dbd [1.9.x] Fixed #26837 -- Documented ModelMultipleChoiceField.to_field_name
Backport of 8b9e16ec858c23cb65ea5de95f65a71b31521841 from master
2016-07-08 11:30:30 -04:00
Anderson Resende
4be49ff38a [1.9.x] Fixed #26806 -- Triple quoted docstrings in docs/ref/forms/validation.txt.
Backport of 2032bcf18280a875a59a39cf85c226da0a310d11 from master
2016-06-27 09:07:21 -04:00
Jon Dufresne
df4382341a [1.9.x] Added some links to the TypedChoiceField docs.
Backport of 31a9a965a36c5ce923692e5dac430ea6a1cbf2a0 from master
2016-06-06 12:12:27 -04:00
Ed Henderson
6d0c9f95da [1.9.x] Fixed #26021 -- Applied hanging indentation to docs.
Backport of 4a4d7f980e2a66756e1e424f7648dcd28ff765b7 from master
2016-06-03 11:49:52 -04:00
Tim Graham
86b346435a [1.9.x] Refs #8898 -- Documented requirement to use SplitDateTimeField with SplitDateTimeWidget.
Backport of 6b5926978bfbaebc6e3b96bb2c8e5bc8302ac6b0 from master
2016-05-07 20:02:23 -04:00
Tim Graham
8a135cca4e [1.9.x] Fixed #26554 -- Updated docs URLs to readthedocs.io
Backport of f945fb24a31737c6625205a8cd90eabdf1c33584 from master
2016-04-28 10:15:23 -04:00
bellisk
3ed8233759 [1.9.x] Corrected number of extra arguments in docs for FilePathField.
Backport of c08ad63a33d443d88d3b2bf9243b5e5794f1340e from master
2016-04-04 06:57:18 -04:00
Tim Graham
379bab3544 [1.9.x] Fixed #26265 -- Clarified RadioSelect container's HTML id.
Backport of 53e8ab580f7c0fcfc589ba0b1b6cc2556080e0b2 from master
2016-03-19 18:40:28 -04:00
Tim Graham
a9fbf0735a [1.9.x] Fixed #26124 -- Added missing code formatting to docs headers.
Backport of a6ef025dfb2a1d1bd23893408eef6d066fb506d9 from master
2016-02-01 11:54:26 -05:00
Elif T. Kus
5dceb1f078 [1.9.x] Fixed #26020 -- Normalized header stylings in docs.
Backport of bca9faae95db2a92e540fbd08505c134639916fe from master
2016-01-22 12:18:24 -05:00
Andrew Plummer
3f9fbf4243 [1.9.x] Fixed typo in docs/ref/forms/validation.txt.
Backport of 1aa8bf9b43bbc214770389b9b8d084552040fa44 from master
2015-12-09 07:21:19 -05:00
Jon Dufresne
bf76cf07e0 [1.9.x] Fixed #25778 -- Updated docs links to use https when available.
Backport of 7aabd6238028f4bb78d0687bbccc97bcf634e28b from master
2015-12-01 08:03:16 -05:00
Tim Graham
7fccc6e8fa [1.9.x] Documented that forms.Field.help_text isn't HTML-escaped.
Backport of a918f8b089a1d702c50c44742f433f3a546e0aa2 from master
2015-11-24 10:17:36 -05:00
Agnieszka Lasyk
b3389956c9 [1.9.x] Fixed #25755 -- Unified spelling of "website".
Backport of 1f8dad69158a96d0649d321ce08ecc9c0465f962 from master
2015-11-16 06:44:46 -05:00
Tim Graham
55ed23fd3e [1.9.x] Fixed #21894 -- Corrected a form.clean() example in case a superclass doesn't return data.
Backport of 80855a4b3787bace050a8b4a2b80f79306e69812 from master
2015-10-21 13:53:48 -04:00
Claude Paroz
135a9e4fd9 Added some more links in form field docs 2015-09-23 22:01:31 +02:00
Moritz Sichert
2f53d342f1 Fixed #12856 -- Documented BoundField API. 2015-09-21 08:42:14 -04:00
Moritz Sichert
535809e121 Fixed #25294 -- Allowed custom BoundFields on forms. 2015-09-16 10:18:07 -04:00
Tim Graham
5b5a27942b Fixed #25268 -- Tweaked wording in docs/ref/forms/api.txt 2015-08-14 08:27:38 -04:00
Edward Henderson
f8cc464452 Fixed #16501 -- Added an allow_unicode parameter to SlugField.
Thanks Flavio Curella and Berker Peksag for the initial patch.
2015-07-17 13:48:58 -04:00
Claude Paroz
1ef4aeab40 Fixed #25078 -- Added support for disabled form fields
Thanks Keryn Knight and Tim Graham for the reviews.
2015-07-16 19:36:56 +02:00
Tim Graham
59c3a140eb Refs #24219 -- Removed inaccurate sentence after move of SelectDateWidget. 2015-07-15 09:57:55 -04:00
Tim Graham
f46f1737aa Fixed typo in SelectDateWidget docs. 2015-07-15 09:55:44 -04:00
Curtis
11cac1bd8e Fixed #4960 -- Added "strip" option to CharField 2015-07-01 17:47:05 -04:00
Tim Graham
aaacaeb096 Renamed RemovedInDjangoXYWarnings for new roadmap.
Forwardport of ae1d663b7913f6da233c55409c4973248372d302
from stable/1.8.x plus more.
2015-06-24 16:08:20 -04:00
Andriy Sokolovskiy
cf6ce279c7 Fixed #24948 -- Fixed crash when uploading bitmap images in forms.ImageField 2015-06-16 14:37:58 -04:00
Nick Smith
b9bf61ce61 Used PEP 8 style indentation in forms docs. 2015-06-11 12:21:53 -04:00
Tim Graham
9f825b9e28 Fixed #24956 -- Fixed typo in docs/ref/forms/widgets.txt 2015-06-08 15:19:16 -04:00
Alasdair Nicol
5c98223f39 Fixed #24191 -- Documented Form.changed_data
Thanks rhertzog and Björn Påhlsson for the suggestion.
2015-06-04 13:51:26 -04:00
I am Clinton
14f20c1fdc Fixed typos in docs/ref/forms/widgets.txt 2015-05-26 10:47:37 -04:00
Paweł Marczewski
4df7e8483b Fixed #24788 -- Allowed Forms to specify a prefix at the class level. 2015-05-25 20:23:31 -04:00
I am Clinton
73b5b0b4a5 Minor edits to docs/ref/forms/validation.txt 2015-05-25 13:19:21 -04:00
I am Clinton
a6b77abff7 Fixed typos in docs/ref/forms/fields.txt 2015-05-25 10:48:30 -04:00
wdmgsm
10f7cfeb2d Fixed #24520 -- Documented Widget.supports_microseconds 2015-05-06 13:31:36 -04:00
Thomas Tanner
28986da4ca Fixed #5986 -- Added ability to customize order of Form fields 2015-03-16 09:12:57 -04:00
Loic Bistuer
00a889167f Fixed #24295 -- Allowed ModelForm meta to specify form field classes.
Thanks Carl Meyer and Markus Holtermann for the reviews.
2015-02-13 19:13:05 +07:00
minusf
66f5aa9fa5 Fixed typos in docs/ref/forms/validation.txt. 2015-02-03 12:26:58 -05:00
Tim Graham
c79faae761 Removed versionadded/changed notes for 1.7. 2015-02-01 21:02:40 -05:00
Loic Bistuer
728b6fd9ca Fixed #24219 -- Moved SelectDateWidget together with the other widgets
and deprecated django.forms.extras.

Thanks Berker Peksag and Tim Graham for the reviews.
2015-01-27 22:40:02 +07:00
Tim Graham
33457cd3b0 Removed IPAddressField per deprecation timeline; refs #20439. 2015-01-19 11:12:57 -05:00
Tim Graham
714277cb4c Removed support for SplitDateTimeWidget with DateTimeField per deprecation timeline.
refs #8898
2015-01-17 18:49:44 -05:00
Marc Tamlyn
57554442fe Fixed #2443 -- Added DurationField.
A field for storing periods of time - modeled in Python by timedelta. It
is stored in the native interval data type on PostgreSQL and as a bigint
of microseconds on other backends.

Also includes significant changes to the internals of time related maths
in expressions, including the removal of DateModifierNode.

Thanks to Tim and Josh in particular for reviews.
2014-12-20 18:28:29 +00:00
Tim Graham
ebfadb8080 Corrected example in Form.has_changed() docs. 2014-12-05 13:17:14 -05:00
Elena Williams
1e1ac4ec5b Fixed incorrect use of rst section heirarchy in form fields docs. 2014-12-02 13:24:56 +08:00
Alasdair Nicol
38ab0f13fa Added missing backticks to form validation docs 2014-11-20 11:09:21 -05:00
Loic Bistuer
f1f0c4f16b Removed confusing paragraph from the docs.
This snippet wasn't particularly helpful as `add_error()` is described
in greater details in the following section.

Thanks Claude Paroz for the report.
2014-11-05 16:00:30 +07:00
Peter Inglesby
74e1980cf9 Fixed #13181 -- Added support for callable choices to forms.ChoiceField
Thanks vanschelven and expleo for the initial patch.
2014-11-04 11:23:58 -05:00
Berker Peksag
5c517ec218 Fixed versionchanged indentation in docs/. 2014-11-03 21:40:26 -05:00
Duane Hilton
054bdfeff1 Fixed #17638 -- Added crosslinks between topic and reference guides.
Thanks oinopion for the suggestion and jarus for the initial patch.
2014-09-29 18:06:31 -04:00
Marc Tamlyn
ed7821231b Fixed #19463 -- Added UUIDField
Uses native support in postgres, and char(32) on other backends.
2014-09-16 10:08:09 +01:00