Commit Graph

36 Commits

Author SHA1 Message Date
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
Russell Keith-Magee ade3dcb494 [1.0.X] Fixed #10437 -- Corrected typo in Widget media example. Thanks to Manuel Saelices.
Merge of r10149 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 12:04:43 +00:00
Gary Wilson Jr 1d37663aef [1.0.X] Fixed #9884 -- Corrected template example in model forms documentation, thanks bradmontgomery.
Backport of r9676 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 05:22:10 +00:00
Gary Wilson Jr 47de671948 [1.0.X] Fixed #9896 -- Corrected a couple uses of `formset.forms`, thanks aglzen.
Backport of r9672 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 00:15:03 +00:00
Gary Wilson Jr 518e19a363 [1.0.X] Fixed #9780 -- Fixed an undefined internal link in the model forms documentation, thanks ramiro.
Backport of r9670 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 00:03:19 +00:00
Karen Tracey 26554aa6b2 [1.0.X] Fixed #9898 -- Added a missing 'e' to 'one'. Thanks gizzywump. Also Americanized specialised while in the area, per contributing's guideline.
r9662 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-21 04:23:35 +00:00
Adrian Holovaty 3988cb2d27 [1.0.X] Did some much-needed rewriting/editing in the formsets section of docs/topics/forms/modelsforms.txt. 'It self' is not two words. Backport of [9616]
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 04:20:54 +00:00
Brian Rosner 7edf9149d7 [1.0.X] Improved the model formset and inline formset documentation to be more explicit and handle some cases that were never addressed before.
Backport of r9614 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 00:36:25 +00:00
Malcolm Tredinnick 931d96e065 [1.0.X] Added a short note to the modelforms documentation linking between
save(commit=False) and using force_insert or force_update on the Model.save()
call. Refs #8672.

Backport of r9539 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-02 06:00:44 +00:00
Karen Tracey 7f06c373d2 [1.0.X] Fixed #9618: Corrected an error in some example code in the forms documentation. Thanks matthijs.
r9517 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 16:26:08 +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 1b68c6a50f [django-1.0.X] Fixed #9531 -- Fixed some awkward wording in the docs. Thanks, gsf.
Backport of r9434 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 08:07:11 +00:00
Karen Tracey 1ea0057296 [1.0.X] Fixed #9567 - Removed an extraneous 'are'.
[9390] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9391 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-11 03:00:27 +00:00
Malcolm Tredinnick f0ba276fd6 [1.0.X] Fixed #9325 -- Typo fix in the forms documentation.
Backport of r9215 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-09 09:21:22 +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
Adrian Holovaty fdd3cb4930 Edited forms/index.txt changes from [9030]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 05:22:08 +00:00
Simon Willison fe3a560768 Added mention of inclusion tags to reusable form templates documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 15:44:59 +00:00
Russell Keith-Magee b8ba0154b8 Fixed #9085: Modified some example form HTML to be XHTML, consistent with Django default rendering. Thanks to Jarek Zgoda for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 12:14:31 +00:00
Simon Willison 7617e73c8c Added documentation on creating reusable form templates; thanks for the suggestion, oggie rob
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 09:30:05 +00:00
Simon Willison 6fcdcbd456 Clarified the wording of the section on customizing form.errors within a field loop
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 00:13:25 +00:00
Simon Willison 7ac86d17c8 Added documentation for looping over a form's fields in a template
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 23:55:09 +00:00
Russell Keith-Magee 7ab3285f64 Fixed #9060: Clarified some language in the description of modelformset_factory. Thanks to gsf for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 08:36:58 +00:00
Brian Rosner 9ee0b0d384 Fixed #9027 -- Corrected the documentation about can_delete default value. Thanks gsf for catching this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-12 16:52:28 +00:00
Brian Rosner 1a2296267d Fixed #9056 -- Corrected a typo in topic/forms/modelforms.txt documentation. Thanks drozzy for catching this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-12 15:52:39 +00:00
Adrian Holovaty 74f386dba2 Fixed #8979 -- Made a bunch of typo/formatting fixes to the docs. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 01:54:20 +00:00
Adrian Holovaty 5f83e0488a Fixed #8894 -- Fixed typo in modelforms.txt. Thanks, koblaid@web.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-06 00:09:17 +00:00
James Bennett 87da9cd759 Fixed #8829: Corrected typo in docs/topics/forms/index.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 04:40:52 +00:00
Jacob Kaplan-Moss f6a3652eb2 Fixed #8788: fixed a few typoes in [8805]. Thanks, Matthew Flanagan and mir.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:33:56 +00:00
Brian Rosner a658d45a6c Improved the docs even more.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 17:57:18 +00:00
Brian Rosner 7163fe4d96 Added some docs on model formsets in views.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 17:57:02 +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 3a18002bbd Fixed #8210 and #8664: moved `USStateField` and `PhoneNumberField` to `django.contrib.localflavor.us`. This is a backwards-incompatible change, albeit a minor one; just add an aditional `import` and go on your way.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:15:35 +00:00
Jacob Kaplan-Moss ea05e61b2b Fixed #8209: `ModelForm`s now validate unique constraints. Alex Gaynor did much of this work, and Brian Rosner helped as well.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 19:08:08 +00:00
Brian Rosner e704559e56 Fixed #8435 -- Documented the `prefix` option on formsets.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 16:44:52 +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
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