Russell Keith-Magee
500202337e
[1.0.X] Fixed #11374 -- Modified the documentation for forms.BooleanField to allow for the fact that it can be rendered using widgets other than a checkbox. Thanks to lygaret for the patch.
...
Merge of r11236 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15 14:17:29 +00:00
Russell Keith-Magee
bc07a498fe
[1.0.X] Fixed #10792 -- Ensured that ModelChoiceFields don't provide an empty option when the underlying field has blank=False and there is a default value available. Thanks to carljm for the report and patch.
...
Merge of r10729 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-11 00:01:40 +00:00
Jacob Kaplan-Moss
597102199e
[1.0.X] Fixed a whole bunch of small docs typos, errors, and ommissions. Backport of the parts of r10371 that apply to the 1.0 docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-03 18:37:43 +00:00
Jacob Kaplan-Moss
a9017a1e5a
[1.0.X] A whole lotta documentation fixes, backported from r10303 on trunk.
...
I got my commit message cut off the first try, but luckily I get to still thank Kevin Kubasik for rolling all these fixes up into a single easy patch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 00:08:34 +00:00
Adrian Holovaty
267122978f
[1.0.X] Merged trunk changes [9850], [9851], [9852], [9853]
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-21 08:54:32 +00:00
Gary Wilson Jr
44239004db
[1.0.X] Fixed #9902 -- Corrected misspelling in form validation documentation, thanks zunzun.
...
Backport of r9674 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 04:14:51 +00:00
Malcolm Tredinnick
6dd5c855d4
[1.0.X] Changed some ReST formatting of headers (in forms/validation.txt).
...
Backport of r9666 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-22 04:19:41 +00:00
Malcolm Tredinnick
bc2cc6eb09
[1.0.X] Fixed #9772 -- Fixed a couple of broken links and pointed them to a more
...
appropriate section. Thanks, Ramiro Morales.
Backport of r9621 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:18:02 +00:00
Malcolm Tredinnick
c667fdd4d8
[1.0.X] Fixed some markup errors in the form validation docs.
...
Backport of r9564 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-04 05:39:50 +00:00
Malcolm Tredinnick
c0feb2fad9
[1.0.x] Fixed #9477 -- Removed and edited a bunch of references to "development
...
version". Some were replaced with versionadded or versionchanged directives.
Other, more minor ones, were removed altogether.
Based on a patch from James Bennett.
Backport of r9454 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 05:56:01 +00:00
Malcolm Tredinnick
73ea785d6b
[1.0.X] Fixed #9384 -- Fixed a couple of typos. Thanks, Thomas Güttler and romke.
...
Backport of r9255 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:19:07 +00:00
Malcolm Tredinnick
94c210427f
[1.0.X] Fixed #9239 -- Somebody read my form validation docs from r9180 and
...
found a typo in them. I guess that was predictable. Thanks, Berry Groenendijk
Backport of r9217 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-09 09:33:35 +00:00
Malcolm Tredinnick
e4b28a9b61
[1.0.X] Added a lot more explanation about form field validation, including
...
expanded examples. Fixed #5843 , #6652 , #7428 .
Backport of r9177 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 11:28:39 +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
Simon Willison
5389c0d2af
Added documentation of the Form class's custom __iter__ method to the forms API reference as well
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 00:07:13 +00:00
Jacob Kaplan-Moss
64a9469127
Fixed #8753 : converted "new in ..." callouts to proper Sphinx "versionadded/versionchanged" directives. Thanks to Marc Fargas for all the heavy lifting here.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 03:40:42 +00:00
Jacob Kaplan-Moss
4ae746b574
Added a TypedChoiceField
which acts just like ChoiceField
, except that it
...
returns a value coerced by some provided function. Refs #6967 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 20:10:50 +00:00
Gary Wilson Jr
c2ba59fc1d
Removed oldforms, validators, and related code:
...
* Removed `Manipulator`, `AutomaticManipulator`, and related classes.
* Removed oldforms specific bits from model fields:
* Removed `validator_list` and `core` arguments from constructors.
* Removed the methods:
* `get_manipulator_field_names`
* `get_manipulator_field_objs`
* `get_manipulator_fields`
* `get_manipulator_new_data`
* `prepare_field_objs_and_params`
* `get_follow`
* Renamed `flatten_data` method to `value_to_string` for better alignment with its use by the serialization framework, which was the only remaining code using `flatten_data`.
* Removed oldforms methods from `django.db.models.Options` class: `get_followed_related_objects`, `get_data_holders`, `get_follow`, and `has_field_type`.
* Removed oldforms-admin specific options from `django.db.models.fields.related` classes: `num_in_admin`, `min_num_in_admin`, `max_num_in_admin`, `num_extra_on_change`, and `edit_inline`.
* Serialization framework
* `Serializer.get_string_value` now calls the model fields' renamed `value_to_string` methods.
* Removed a special-casing of `models.DateTimeField` in `core.serializers.base.Serializer.get_string_value` that's handled by `django.db.models.fields.DateTimeField.value_to_string`.
* Removed `django.core.validators`:
* Moved `ValidationError` exception to `django.core.exceptions`.
* For the couple places that were using validators, brought over the necessary code to maintain the same functionality.
* Introduced a SlugField form field for validation and to compliment the SlugField model field (refs #8040 ).
* Removed an oldforms-style model creation hack (refs #2160 ).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 07:19:44 +00:00
Malcolm Tredinnick
9de848cec9
Fixed #8544 -- Some more documentation markup fixes from Thejawsi Puthraya.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 05:57:27 +00:00
Malcolm Tredinnick
4091e6525d
Fixed #8518 -- Fixed some markup problems in the widget documentation. Thanks,
...
Thejawsi Puthraya.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 05:56:57 +00:00
James Bennett
829a5c1352
Fixed #8512 : Corrected typo in form validation documentation. Thanks for the catch, Karen.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-24 07:22:30 +00:00
Jacob Kaplan-Moss
97cb07c3a1
Massive reorganization of the docs. See the new docs online at http://docs.djangoproject.com/ .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-23 22:25:40 +00:00