Adam Johnson
7742cc0c8f
Improved custom MultiWidget example in docs.
2019-11-26 18:11:00 +01:00
Hasan Ramezani
2282d9f2e5
Fixed #30252 -- Clarified need to reopen forms.fields.ImageField.image file to access raw image data.
2019-11-11 11:48:16 +01:00
Mariusz Felisiak
daa9415f78
Refs #30908 -- Fixed the empty value of forms.FilePathField in docs.
2019-10-25 11:22:03 +02:00
Tobias Kunze
4a954cfd11
Fixed #30573 -- Rephrased documentation to avoid words that minimise the involved difficulty.
...
This patch does not remove all occurrences of the words in question.
Rather, I went through all of the occurrences of the words listed
below, and judged if they a) suggested the reader had some kind of
knowledge/experience, and b) if they added anything of value (including
tone of voice, etc). I left most of the words alone. I looked at the
following words:
- simply/simple
- easy/easier/easiest
- obvious
- just
- merely
- straightforward
- ridiculous
Thanks to Carlton Gibson for guidance on how to approach this issue, and
to Tim Bell for providing the idea. But the enormous lion's share of
thanks go to Adam Johnson for his patient and helpful review.
2019-09-06 13:27:46 +02:00
Daria Kolodzey
3f8ee58ccc
Fixed #30738 -- Fixed typo in docs/ref/forms/widgets.txt.
...
Thanks Emmanuel Cazenave for the report.
2019-08-31 10:58:40 +02:00
Jon Dufresne
e86cc14bd3
Changed docs to link to Python's description of iterable.
2019-05-17 17:27:19 +02:00
Jon Dufresne
97d3321e89
Changed tuple choices to list in docs.
2019-05-15 14:31:42 +02:00
Bruno Furtado
571ab44e8a
Fixed #30321 -- Added example of changed_data to forms docs.
2019-04-09 22:52:33 +02:00
Stephen Finucane
25f4302349
Emphasized that TemplatesSetting must be used to override widget templates.
2018-09-11 15:14:53 -04:00
flh
ccf870ebf5
Corrected forms.TimeField's default widget in docs.
2018-09-04 18:18:42 -05:00
Jeff
3fa3de5415
Fixed #29646 -- Doc'd the validators that each model and form field uses.
2018-08-16 17:03:28 -04:00
Tim Graham
7543ab1f8d
Removed versionadded/changed annotations for 2.0.
2018-05-17 11:00:10 -04:00
Mariusz Felisiak
35319bf12c
Alphabetized imports in various docs.
...
Follow-up of d97cce3409
and 7d3fe36c62
.
2018-05-12 19:37:42 +02:00
Daniel Musketa
e0eab28f9f
Fixed a couple mistakes in docs/ref/forms/widgets.txt.
2018-03-12 09:39:09 -04:00
Richard Oyudo
8411e4a8fe
Fixed #28655 -- Added more examples for customizing widgets in a form.
2018-03-07 16:58:55 -05:00
Jon Dufresne
ff05de760c
Fixed #29038 -- Removed closing slash from HTML void tags.
2018-01-21 02:09:10 -05:00
Jon Dufresne
47d238b696
Fixed #29041 -- Changed SelectMultiple's multiple attribute to HTML5 boolean syntax.
2018-01-20 11:19:06 -05:00
Jon Dufresne
90ca9412e4
Removed unnecessary microsecond truncation in SplitDateTimeWidget.
...
The microseconds are already truncated by the TimeInput subwidget.
2018-01-18 11:23:06 -05:00
Srinivas Reddy Thatiparthy
55b5393bd2
Fixed #28474 -- Made DurationField raise ValidationError for inputs that raised OverflowError.
2017-10-25 18:05:13 -04:00
Tim Graham
eb9b56c5b6
Fixed #28729 -- Replaced a numbered list with unordered list in TemplatesSetting docs.
2017-10-20 14:00:51 -04:00
Tim Graham
5446b72003
Removed versionadded/changed annotations for 1.11.
2017-09-22 12:51:18 -04:00
Tim Graham
2bd207ada0
Refs #15667 -- Removed support for Widget.render() methods without the renderer argument.
...
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
2fc5a5bfe3
Removed stray versionadded/changed annotations for 1.10.
2017-09-02 21:47:01 -04:00
Windson yang
7f238097c0
Fixed #28102 -- Doc'd how to compute path to built-in widget template directories.
2017-06-05 17:26:49 -04:00
Claude Paroz
43b574007e
Fixed #28192 -- Required passing optional form field args as keyword args.
2017-06-03 10:49:01 -04:00
Tim Graham
ecae9c7aec
Fixed typo in docs/ref/forms/fields.txt.
2017-06-03 10:37:20 -04:00
Claude Paroz
54caca2d34
Refs #28192 -- Fixed documentation of ChoiceField choices requirement
...
Thanks Tim Graham for noticing the issue.
2017-06-03 16:17:03 +02:00
Tim Graham
17ed0d36bc
Removed incorrect "required" attribute in docs/ref/forms/fields.txt.
2017-05-29 18:00:47 -04:00
Jon Dufresne
c3e638112d
Corrected REPL example in forms docs for Python 3.
2017-05-27 19:28:37 -04:00
Tim Heap
5b6181f4d5
Fixed #27922 -- Added ErrorDict.get_json_data().
2017-05-27 09:19:42 -04:00
Christoph Schindler
2874531ab5
Fixed typo in docs/ref/forms/fields.txt.
2017-05-05 18:24:27 -04:00
Claude Paroz
7741d4e878
Double quoted HTML attributes in widget docs
2017-04-14 08:47:50 +02:00
heathervm
7d1e237753
Fixed #27993 -- Fixed model form default fallback for SelectMultiple.
2017-03-31 10:10:08 -04:00
Tim Graham
075e93c16a
Refs #27919 -- Changed Widget.get_context() attrs kwarg to an arg.
2017-03-21 09:14:45 -04:00
Alasdair Nicol
757aefc12b
Removed self from method signatures in docs.
2017-03-16 20:33:59 -04:00
Pavel Kulikov
0d83052e52
Fixed #27918 -- Documented ChoiceWidget.option_template_name
2017-03-15 09:38:06 -04:00
Tim Graham
8863c475c5
Fixed #27821 -- Clarified docs of the return value of Form.clean_<fieldname>().
...
Thanks Christian Ullrich for the report and review.
2017-02-08 08:38:08 -05:00
Mariusz Felisiak
0034e9af18
Fixed #5851 -- Allowed specifying different HTML attrs for SplitDateTimeWidget subwidgets.
...
Thanks Tim Graham and Nick Pope for review.
2017-02-07 11:33:37 -05:00
chillaranand
d9aeee205d
Fixed #27501 -- Documented lazy evaluation of ModelChoiceField.queryset.
2017-01-26 18:54:55 -05:00
Vytis Banaitis
d1bab24e01
Refs #23919 , #27778 -- Removed obsolete mentions of unicode.
2017-01-26 08:19:27 -05:00
chillaranand
dc165ec8e5
Refs #23919 -- Replaced super(ClassName, self) with super() in docs.
2017-01-25 11:53:05 -05:00
Tim Graham
9d27478958
Refs #23919 -- Removed docs references to long integers.
2017-01-19 13:19:26 -05:00
Tim Graham
f6acd1d271
Refs #23919 -- Removed Python 2 notes in docs.
2017-01-18 11:51:29 -05:00
Tim Graham
e27e4c0339
Removed versionadded/changed annotations for 1.10.
2017-01-17 20:52:05 -05:00
Tim Graham
58d3d14aea
Refs #26533 -- Removed support for Widget._format_value() per deprecation timeline.
2017-01-17 20:52:04 -05:00
Claude Paroz
611ef422b1
Fixed #27387 -- Doc'd required HTML attribute in Field.required docs.
2017-01-14 07:30:54 -05:00
Preston Timmons
b52c73008a
Fixed #15667 -- Added template-based widget rendering.
...
Thanks Carl Meyer and Tim Graham for contributing to the patch.
2016-12-27 17:50:10 -05:00
Jon Dufresne
c74378bb77
Fixed #27299 -- Documented the Widget.use_required_attribute() method.
...
Thanks Tim Graham for the review and edits.
2016-10-26 19:29:16 -07:00
Zach Borboa
90c3b11e87
Fixed #27361 -- Used "from django import forms" in forms api docs.
2016-10-19 09:55:21 -04:00
Tim Graham
87c5e7efeb
Refs #27186 -- Fixed model form default fallback for CheckboxSelectMultiple.
2016-09-30 14:49:50 -04:00