Tim Graham
40ba6f21bb
Fixed spelling errors in docs.
2014-11-11 16:41:09 +01:00
Berker Peksag
5c517ec218
Fixed versionchanged indentation in docs/.
2014-11-03 21:40:26 -05:00
Thomas Chaumeny
d3db878e4b
Moved CSRF docs out of contrib.
2014-11-03 07:47:39 -05:00
Claude Paroz
5066fda34d
Replaced input by textarea in forms docs
2014-09-25 15:09:12 +02:00
Erik Romijn
cbdda28208
Fixed #23075 -- Added documentation on novalidate attribute and made it default for admin
...
Thanks to sehmaschine for the report and to Tim Graham for the review.
2014-08-26 14:20:31 +02:00
areski
9d6551204e
Removed unnecessary code-block directives.
2014-08-19 16:44:25 -04:00
Matt Deacalion Stevens
ec85df2fa5
Fixed and enhanced new HTML form docs.
2014-06-26 13:57:19 -04:00
Ramiro Morales
77c0a904cb
Fixed typo in revamped forms intro doc.
2014-06-25 12:15:20 -03:00
Daniele Procida
cd20b5d186
Fixed #22796 -- Added a more basic explanations of forms.
...
Thanks bmispelon, kezabelle, jorgecarleitao, and timgraham for reviews.
2014-06-24 14:55:22 -04:00
Nick Presta
11f0899bbe
Fixed #11776 -- Added CSS class for non-field/top of form errors.
...
Thanks Daniel Pope for the suggestion.
2014-06-02 15:22:15 -04:00
Marti Raudsepp
11d453bcad
Various documentation typo/spelling fixes
...
Errors detected by Topy (https://github.com/intgr/topy ), all changes
verified by hand.
2014-04-23 02:31:49 +03:00
Tim Graham
51c8045145
Removed versionadded/changed annotations for 1.6.
2014-03-24 11:42:56 -04:00
Szczepan Cieślik
e816198034
Fixed docs typos.
2014-02-25 10:28:32 -05:00
Tom Atkins
3b869b09d0
Fixed #21847 -- Clarified where ContactForm was defined
2014-01-23 13:48:09 -05:00
Sorcha Bowler
018e2c055a
Fixed #21223 -- Added form.id_for_label to topic guide.
...
Thanks ebertti at yahoo.com.br for the suggestion.
2013-10-14 18:41:22 -04:00
James Bennett
c0f03175ce
Fixed #19695 -- Retitle "Form Media" to "Form Assets".
2013-07-08 13:59:54 -04:00
Ben Firshman
8160e6341d
Fix "semicolon" in docs
2013-07-02 17:52:54 +01:00
Gabe Jackson
584bd14dcf
Fixed #18134 -- BoundField.label_tag now includes the form's label_suffix
...
There was an inconsistency between how the label_tag for forms were
generated depending on which method was used: as_p, as_ul and as_table
contained code to append the label_suffix where as label_tag called on a
form field directly did NOT append the label_suffix. The code for
appending the label_suffix has been moved in to the label_tag code of
the field and the HTML generation code for as_p, as_ul and as_table now
calls this code as well.
This is a backwards incompatible change because users who have added the
label_suffix manually in their templates may now get double label_suffix
characters in their forms.
2013-06-10 14:23:15 -04:00
Tim Graham
fdaaa24171
Fixed #19700 - Added documentation for BoundField.field.
...
Thanks Tiberiu Ana for the report and patch.
2013-02-02 08:34:42 -05:00
Claude Paroz
4f16376274
Added HTML5 email input type
...
Refs #16630 .
2013-01-28 22:10:50 +01:00
Tim Graham
0de2645c00
Fixed #19610 - Added enctype note to forms topics doc.
...
Thanks will@ for the suggestion.
2013-01-23 04:49:48 -05:00
Tim Graham
067505ad19
Fixed broken links, round 4. refs #19516
2012-12-29 15:54:33 -05:00
Florian Apolloner
7d06f975fe
Fixed #18614 -- Added missing imports in code samples.
2012-07-25 22:32:53 +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
Daniel Roseman
5c59e43aef
Use render shortcut in form example.
2012-05-31 15:33:45 +01: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
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
Adrian Holovaty
94af19c43f
Changed e-mail to email throughout documentation and codebase. The one 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-04-01 16:10:22 +00:00
Gabriel Hurley
327d69de73
Fixed #15134 -- Placed formset documentation before modelform documentation 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-07 23:39:29 +00:00
Gabriel Hurley
0f50ef12bf
Fixed #15055 -- added information about (and an example of) the csrf_token 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-02-07 22:52:39 +00:00
Timo Graham
38d60c3941
Fixed #13949 - Note that readonly fields can't be modified via custom clean 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-26 21:50:16 +00:00
Timo Graham
2ea93f9327
Fixed #14000 - remove versionadded/changed tags for Django 1.0 and 1.1
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26 00:37:14 +00:00
Chris Beaven
3ae9117c46
Fixes #7817 and #9456 .
...
- 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-18 02:50:26 +00:00
Gabriel Hurley
876013dc12
Fixed #10027 -- Makes links to form and field validation (and form reference 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
2010-10-10 07:08:35 +00:00
Simon Meers
0f9eb912ff
Fixed #14023 -- include non_field_errors in example. Thanks to konryd for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 23:32:46 +00:00
Jacob Kaplan-Moss
728effcfbd
Fixed #14141 : docs now use the :doc: construct for links between documents.
...
Thanks, Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-19 19:27:44 +00:00
Luke Plant
48edb177ed
Fixed #12053 - form examples don't validate according to w3c
...
Thanks to skyl for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-04 21:55:52 +00:00
Brian Rosner
5d9983d084
Fixed #8857 -- Corrected ref in modelforms documentation and added ref to file upload documentation in form documentation. Thanks Kyle Fox and prairiedogg.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-24 06:46:02 +00:00
Karen Tracey
b2d2aba77e
Fixed #10817 -- Corrected some grammar in the forms doc. Thanks nickretallack@gmail.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 18:10:10 +00:00
Gary Wilson Jr
7372ea159a
Fixed #10389 , #10501 , #10502 , #10540 , #10562 , #10563 , #10564 , #10565 , #10568 , #10569 , #10614 , #10617 , #10619 -- Fixed several typos as well as a couple minor issues in the docs, patches from timo, nih, bthomas, rduffield, UloPe, and sebleier@gmail.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 07:01:01 +00:00
Russell Keith-Magee
7b9fe15a9f
Fixed #10009 -- Corrected a field reference in an example on rendering hidden fields. Thanks to karihre@gmail.com for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:09:03 +00:00
Adrian Holovaty
352efd1893
Edited docs/topics/forms/index.txt changes from [9569] and fixed a typo in the visible_fields() docstring
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 04:07:42 +00:00
Malcolm Tredinnick
bfab9d62ee
Added a way to iterate over hidden/visible fields in a form. Useful for manual
...
form layout.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-05 04:22:00 +00:00
Karen Tracey
a5172c3e1f
Fixed #9618 : Corrected an error in some example code in the forms documentation. Thanks matthijs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 16:25:05 +00:00
Karen Tracey
675a4a1067
Fixed #9567 - Removed an extraneous 'are'.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9390 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-11 02:57:02 +00:00
Malcolm Tredinnick
0b7b74432a
Fixed #9325 -- Typo fix in the forms documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-09 09:19:47 +00:00
Adrian Holovaty
772639c692
Edited some recent docs changes
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 05:31:00 +00:00