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
Gary Wilson Jr
b3b541b68e
[1.0.X]: Fixed #10553 -- Corrected several uses of `URLconf` in documentation and comments, according to the Django style guide. Based on patch from rduffield.
...
Backport of r10256 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 16:09:22 +00:00
Gary Wilson Jr
68aa33f901
[1.0.X]: 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.
...
Backport of r10242 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 07:16:25 +00:00
Gary Wilson Jr
ef28364365
[1.0.X]: Fixed a few class references in the model field docs.
...
Backport of r10207 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 19:55:29 +00:00
Gary Wilson Jr
10a3e41c8a
[1.0.X]: Fixed #10076 -- Documented invalid arguments for `FileField`, based on patch from timo.
...
Backport of r10204 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 19:35:36 +00:00
Gary Wilson Jr
46292cdc71
[1.0.X]: Fixed #9853 -- Added information to the model date/time fields to note the Python objects used to represent them.
...
Backport of r10198 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 18:32:49 +00:00
Malcolm Tredinnick
dce8fdbc68
[1.0.X] Made a couple of cross-references in the model fields documentaiton consistent.
...
Backport of r10007 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 23:02:36 +00:00
Russell Keith-Magee
1c670a7053
[1.0.X] Fixed #10329 -- Added link target for get_FOO_display, get_next_by_FOO, and get_previous_by_FOO. Thanks to rctay for the report, and timo for the patch.
...
Merge of r10152 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 12:12:32 +00:00
Ian Kelly
de442c3ab6
[1.0.X] Clarified documentation regarding Oracle's treatment of nulls and empty strings. Backport of [9976] from trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-05 20:22:54 +00:00
Russell Keith-Magee
16f05e78f1
[1.0.X] Fixed #9347 -- Added an entry in the field reference for the verbose_name option. Thanks to marcoberi for the suggestion, and timo for the eventual patch.
...
Merge of r9865 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 07:19:26 +00:00
Russell Keith-Magee
d12ee872a1
[1.0.X] Fixed #9939 -- Corrected minor error in model fields documentation. Thanks to seemant for the report.
...
Merge of r9864 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 07:17:23 +00:00
Malcolm Tredinnick
ff3320cb6d
[1.0.X] Documented that case-insensitive matching is not supported for non-ASCII
...
strings in SQLite. Refs #9905 .
Backport of r9705 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-06 03:35:46 +00:00
Malcolm Tredinnick
01e04e90e0
[1.0.X] Fixed #9431 -- Added extra validation for VARCHAR-based fields on MySQL.
...
max_length > 255 and unique=True is not permitted. Based on a patch from
adamnelson.
Backport of r9470 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 06:49:43 +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
Karen Tracey
55943c0975
[1.0.X] Fixed #9497 - Doc typos. Many thanks ramiro.
...
[9330] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02 20:53:47 +00:00
Malcolm Tredinnick
8cf2a05d35
[1.0.X] Fixed #9420 -- Fixed an exception type in the documentation of
...
Queryset.get(). Based on a suggestion from daveyjoe.
Backport of r9257 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:20:29 +00:00
Malcolm Tredinnick
568cb5d87c
[1.0.X] Fixed #9390 -- Restored some documentation about select_related() that
...
was accidentally lost in the docs refactor.
Backport of r9256 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:19:45 +00:00
Malcolm Tredinnick
167a131e53
[1.0.X] Fixed a couple of markup errors in the documentation.
...
Backport of r9164 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:43:38 +00:00
James Bennett
9971852234
[1.0.X] Apply doc fix from [9105]; refs #9255 .
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30 22:31:06 +00:00
Malcolm Tredinnick
4eb26b1659
Restored documentation about pickling QuerySets (and how to only pickle the
...
details for the query, rather than the results) from r7499.
These were accidentally nuked in the docs refactor. We know who the offenders
were. They will be made to sit in the corner on the naughty mat for a while.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-28 03:08:30 +00:00
Russell Keith-Magee
54f962c0bf
Fixed #8967 : Added documentation for the 'through' option on a many-to-many field in the fields reference documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-22 11:07:35 +00:00
Simon Willison
f17f2bfd1f
Re-added docs for QuerySet reverse() and all() methods, refs #9000 - thanks ramiro
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 00:24:02 +00:00
Adrian Holovaty
1aa8449fb7
Fixed #9003 -- Fixed awkward wording in querysets.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8996 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 03:57:52 +00:00
Jacob Kaplan-Moss
7c2e2d2b5e
Added a note about queryset.query being opaque.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 21:47:57 +00:00
Jacob Kaplan-Moss
7b0b992a87
Fixed #8849 : added some more "new in 1.0" flags. Thanks, ramiro.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:55:04 +00:00
Simon Willison
cd5a00b4e4
Fixed #8838 - two typos in model field docs. Thanks, arien
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 15:35:58 +00:00
Malcolm Tredinnick
fd1d986bb1
Fixed #8802 -- Documented MySQL's usage of 1/0 instead of True/False for model
...
BooleanFields.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 06:14:13 +00:00
Jacob Kaplan-Moss
bc768e2b47
A bunch of cleanups to file documentation. Along the way some references to the old file methods were removed - thanks, varikin.
...
Fixes #8642 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 17:33:51 +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
James Bennett
c7a10b677d
Fixed #8786 : Moved phone number field docs to localflavor
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 00:26:28 +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
James Bennett
b085ccce6c
Fixed #8730 : Incorporated (with minor changes) additions/enhancements to one-to-one docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:32:41 +00:00
James Bennett
78ca7a6c07
Fixed #8533 : restored model inheritance docs, and updated one-to-one docs to match
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 10:13:32 +00:00
James Bennett
f2c80f93d9
Fixed #8658 : Added cross-references to signals docs from Model.save() docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 09:03:18 +00:00
James Bennett
6ba55eee30
Fixed #8679 : use full signature of Model.save() in docs and remove no-longer-used 'raw' argument
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 08:55:08 +00:00
Malcolm Tredinnick
2dba41056f
Revived a bunch of missing documentation that got lost in the docs-refactor.
...
This describes values_list(), the new cross-model order_by() syntax and the
effects of distinct(), values() and order_by() on each other.
Fixed #8634 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 05:04:26 +00:00
Malcolm Tredinnick
d22ee35ee9
Fixed #8662 -- Fixed the documentation of Model.save() to match the real
...
signature so that people overriding it will use the right signature.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 01:44:15 +00:00
Malcolm Tredinnick
c181734fa1
Changed create() and get_or_create() to force an insert (not update an existing value).
...
Backwards incompatible if you are using manually-specific primary key values
and relying on the previously documented behaviour that the new values would
always exist in the database (i.e. it would update the existing entry).
Fixed #8419 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 17:18:05 +00:00
Russell Keith-Magee
5c43a0a43f
Fixed #8406 : Corrected some expected output to use repr format. Thanks to arien for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 13:40:20 +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
f2b389b354
Added documentation to explain the gains and losses when using utf8_bin
...
collation in MySQL. This should help people to make a reasonably informed
decision. Usually, leaving the MySQL collation alone will be the best solution,
but if you must change it, this gives a start to the information you need and
pointers to the appropriate place in the MySQL docs.
There's a small chance I also got all the necessary Sphinx markup correct, too
(it builds without errors, but I may have missed some chances for glory and
linkage).
Fixed #2335 , #8506 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 01:59:25 +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