Jacob Kaplan-Moss
00f0519859
Added documentation about the "app.Model" relation syntax introduced by [7185]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-26 21:18:34 +00:00
Malcolm Tredinnick
d9a3c1b9fc
Made a bunch of tiny documentation formatting and typo fixes.
...
Thanks, quicklizard, adamv, Gary Wilson, superjudge and David Pretty.
Fixed #6554 , #6573 ,#6592, #6595 , #6608 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-15 11:38:53 +00:00
Adrian Holovaty
e5e75b0c52
Edited various doc changes from [6801]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 06:13:56 +00:00
Ian Kelly
bbc3a95557
Fixed #6007 : Added DEFAULT_TABLESPACE and DEFAULT_INDEX_TABLESPACE
...
options to global_settings.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 19:23:49 +00:00
Malcolm Tredinnick
e2b03bd0c2
Fixed #5955 -- Made a bunch of ReST fixes. Thanks, SmileyChris.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 18:15:38 +00:00
Malcolm Tredinnick
8216abe748
Documentation for creating custom model fields.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-05 13:59:52 +00:00
Malcolm Tredinnick
d1efe9b2f7
Fixed #4944 -- Added a note about Model.save() raising IntegrityError is a
...
'unique' constraint is violated. Patch from PhiR.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 12:35:10 +00:00
Adrian Holovaty
31a07e8cf9
Fixed errors in docs/model-api.txt changes from [6378]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 01:48:47 +00:00
Jacob Kaplan-Moss
980fa8b827
Fixed #231 : all fields that should take max_length now do. Thanks, Don Spaulding.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-19 23:33:57 +00:00
Malcolm Tredinnick
e2409750f8
Fixed #3703 -- Added pk property to models. Thanks, Collin Grady and jeromie@gmail.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 01:57:25 +00:00
Adrian Holovaty
0639474d01
Fixed #5449 -- Noted in docs/model-api.txt that the admin date selection always starts on a Sunday. Thanks, flother
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:33:03 +00:00
Adrian Holovaty
9cccf59db5
Fixed #5460 -- unique_together now accepts a single tuple for convenience. Thanks, Deryck Hodge
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 20:36:53 +00:00
Adrian Holovaty
0d52d2b2f9
Fixed #5342 -- Added max_length parameter to EmailField. Thanks, donspaulding and gwilson
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 19:22:43 +00:00
Russell Keith-Magee
bc21612012
Fixed #4544 -- Updated docs for allowed field types in an admin list_filter. Thanks to Matt Croydon.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 08:29:51 +00:00
Adrian Holovaty
db6093641c
Fixed #5406 -- Fixed spelling error in docs/model-api.txt. Thanks, Andrew Shearer
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 13:11:51 +00:00
Gary Wilson Jr
a047f6a8fe
Fixed #5346 -- Fixed a couple typos in the model-api docs. Thanks, David Paccoud.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-08 19:30:16 +00:00
Adrian Holovaty
eb2ce98b29
Fixed #5170 -- Made FileField a link in the ImageField section of docs/model-api.txt -- assuming the ReST gods are smiling on me today
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:48:32 +00:00
Adrian Holovaty
d1bef59905
Fixed #5110 -- Made a small clarification in docs/model-api.txt. Thanks, Jarek Zgoda
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 03:01:37 +00:00
Adrian Holovaty
f1edb8c2b3
Fixed #5097 -- Made various updates and corrections to the documentation. Thanks, Nicola Larosa
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-07 02:33:11 +00:00
Adrian Holovaty
d4623df463
Added note to docs/model-api.txt about help_text not being escaped in the admin interface
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:33:18 +00:00
Gary Wilson Jr
212ee65be7
Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 05:14:46 +00:00
Gary Wilson Jr
973f44aa4c
Changed some more links to be relative in the documentation. I had a couple unsaved files that didn't get in with [5798].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 04:42:26 +00:00
Gary Wilson Jr
b54de86010
Fixed #5078 -- Fixed several broken links to the syndication documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-04 03:19:14 +00:00
Adrian Holovaty
910bbe8f1f
Added some additional docs to docs/model-api.txt db_type() section
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 21:24:30 +00:00
Adrian Holovaty
ac2b9f2a3f
Added a db_type() method to the database Field class. This is a hook for calculating the database column type for a given Field. Also converted all management.py CREATE TABLE statements to use db_type(), which made that code cleaner. The Field.get_internal_type() hook still exists, but we should consider removing it at some point, because db_type() is more general. Also added docs -- the beginnings of docs on how to create custom database Field classes. This is backwards-compatible.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 06:28:56 +00:00
Gary Wilson Jr
0be6d32c24
Fixed #4817 -- Removed leading forward slashes from some urlconf examples in the documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 02:34:42 +00:00
Malcolm Tredinnick
953badbea5
Merged Unicode branch into trunk (r4952:5608). This should be fully
...
backwards compatible for all practical purposes.
Fixed #2391 , #2489 , #2996 , #3322 , #3344 , #3370 , #3406 , #3432 , #3454 , #3492 , #3582 , #3690 , #3878 , #3891 , #3937 , #4039 , #4141 , #4227 , #4286 , #4291 , #4300 , #4452 , #4702
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:11:04 +00:00
Adrian Holovaty
8cea4c7c5e
Fixed some awkward wordings from docs/model-api.txt from [5519] and added 'new in Django development version' notes
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 20:58:36 +00:00
Malcolm Tredinnick
ac64e91a0c
Merged boulder-oracle-sprint branch (r3965:5512) back into trunk. All
...
expected tests pass for all databases.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 14:16:00 +00:00
Adrian Holovaty
042d7e44fa
Fixed #4637 -- Fixed broken link in docs/model-api.txt. Thanks, john.scott.atlakson@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 19:39:24 +00:00
Adrian Holovaty
7c3fa24fad
Fixed #4638 -- Fixed typo in docs/model-api.txt. Thanks, john.scott.atlakson@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 19:38:19 +00:00
Malcolm Tredinnick
04f5bd4378
Fixed #4406 -- Documented the maxlength parameter (added in [4295]) for the
...
URLField.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-11 11:19:43 +00:00
Jacob Kaplan-Moss
908b72f76d
Fixed #3880 : added a link to the transaction docs from the model API. Thanks, ken37@tds.net.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 18:12:12 +00:00
Malcolm Tredinnick
5785763833
Added references to the various get_FOO_*() methods for FileField and
...
ImageField. Fixed #4025 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 13:01:21 +00:00
Malcolm Tredinnick
c0c9534697
Fixed #4351 -- Attempted to make it easier for readers to see the difference
...
between null and blank if they are reading from top to bottom.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:17:38 +00:00
Adrian Holovaty
35cc9d9b09
Added 'New in Django development version' notes to docs/model-api.txt regarding DecimalField and FloatField (see [5302])
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 20:45:33 +00:00
Malcolm Tredinnick
92c35a0617
Fixed #2365 , #3324 -- Renamed FloatField to DecimalField and changed the code
...
to return Decimal instances in Python for this field. Backwards incompatible
change.
Added a real FloatField (stores floats in the database) and support for
FloatField and DecimalField in newforms (analogous to IntegerField).
Included decimal.py module (as django.utils._decimal) from Python 2.4. This is
license compatible with Django and included for Python 2.3 compatibility only.
Large portions of this work are based on patches from Andy Durdin and Jorge
Gajon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 01:29:58 +00:00
Malcolm Tredinnick
5ab9c3ac82
Fixed #4334 -- Fixed typo in model-api.txt. Thanks, Gary Wilson.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 18:35:42 +00:00
Adrian Holovaty
60acd7c71c
Fixed small grammar error in docs/model-api.txt from [5250]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-18 16:40:27 +00:00
Malcolm Tredinnick
7969c1bb65
Fixed #3664 -- Documented that get_absolute_url() and item_link() (in
...
syndication) links are expected to be strings that can be used in URLs without
further quoting or encoding.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15 18:03:00 +00:00
Malcolm Tredinnick
77ec8ae811
Fixed #4203 -- Noted that "blank" defaults to False in models. Thanks,
...
david@kazserve.org .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 03:20:49 +00:00
Malcolm Tredinnick
939f678e65
Fixed #3857 -- Used a table to describe the required arg for FileField. This
...
makes it consistent with other argument descriptions. Thanks, whiteinge.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-25 06:38:23 +00:00
Malcolm Tredinnick
b786cc1017
Changed all URL references for django_admin/ to the canonical name of
...
django-admin/. This will avoid problems with missing HTTP redirects in future
historical documents. Refs #3992 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-20 09:22:01 +00:00
Adrian Holovaty
73269ec8bc
Fixed #4029 -- Fixed some broken links and made some links relative in docs/model-api.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-13 01:19:44 +00:00
Adrian Holovaty
e9e728c212
Fixed #3786 -- Fixed sqlinitialdata references in some docs. Thanks, Ramiro Morales
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-13 01:01:57 +00:00
Russell Keith-Magee
bbeb62c9af
Backwards-incompatible change -- Removed LazyDate helper class. To preserve existing functionality, query arguments can now be callable. Callable query arguments are evaluated with the query is evaluated.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 13:28:09 +00:00
Adrian Holovaty
da1d001ce1
Edited docs/model-api.txt permalink changes from [4879]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4891 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 05:22:14 +00:00
Malcolm Tredinnick
d7cf8eb406
Fixed #3540 -- Updated permalink documentation to fix an error and document how
...
to pass keyword arguments.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 11:35:06 +00:00
James Bennett
1c13d05043
Remove notes about things added/removed in development version, since the development version is about to become 0.96
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 20:45:30 +00:00
Adrian Holovaty
b14ff2f94d
Tightened change to docs/model-api.txt from [4692]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-16 15:17:20 +00:00