Commit Graph

189 Commits

Author SHA1 Message Date
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
Malcolm Tredinnick ab64b38317 Fixed #2869 -- Do not append ADMIN_MEDIA_PREFIX to absolute-path URLs used for
included javascript. Based on patches from SmileyChris and oyvind@saltvik.no.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09 09:32:39 +00:00
Adrian Holovaty b21fd1e451 Small cleanup of docs/model-api.txt change from [4625]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4626 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26 21:52:22 +00:00
Jacob Kaplan-Moss 96604fdf8f Fixed #3455: added documentation of Model.get_FIELD_display(). Thanks, Ubernostrum.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26 21:40:15 +00:00
Jacob Kaplan-Moss abf79841fe Fixed #3397: You can now order by non-DB fields in the admin by telling Django which field to actually order by. Thanks, marcink@elksoft.pl
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26 05:37:24 +00:00
Adrian Holovaty 25895623ff Reverted [4578] because there's no such thing as a PasswordField database field type
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-25 19:51:33 +00:00
Jacob Kaplan-Moss 81bb3d9e74 Fixed #2071: added a smidge of docs on PasswordField. Thanks for the patch, asmodai.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-25 17:18:17 +00:00
Adrian Holovaty 2fe6476180 Copy edited new docs in docs/model-api.txt from [4535]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-18 04:44:17 +00:00
Malcolm Tredinnick ed3d787eda Fixed #2568 -- Added documentation for the permalink() decorator. Based on a
patch from Joeboy.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-17 05:51:45 +00:00
Russell Keith-Magee 54feaca70f Fixed #3098 -- Added db_table parameter to m2m fields, allowing the specification of a custom table name for the m2m table. Thanks, Wolfram Kriesing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-25 13:47:55 +00:00
Adrian Holovaty 9afddbe422 Fixed #3346 -- Documented that search_fields Admin option can use related models. Thanks for the patch, Robert Myers and Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-23 02:01:20 +00:00
Jacob Kaplan-Moss 43193c1821 Fixed #3287: method columns in the admin changelist can now have a {{{boolean}}} attribute that uses the clever little checkmark icons instead of the ugly "True" or "False" strings. Thanks for the patch, xian@mintchaos.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-12 19:40:06 +00:00
Russell Keith-Magee 3d38e5d840 Fixed #3223 -- Fixed typo in model API docs. Thanks, David van Mosselbeen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-03 14:29:21 +00:00
Adrian Holovaty 6cd6d9b85f Added note to docs/model-api.txt that EmailField has automatic maxlength=75
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-19 21:55:08 +00:00
Adrian Holovaty 61a1a1864d Negligible spacing fix to docs/model-api.txt from [3781]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 17:34:54 +00:00
Malcolm Tredinnick 3cf67a9920 Fixed #2649 -- Clarified behaviour of editable attribute on models. Thanks,
heckj@mac.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22 01:54:10 +00:00
Adrian Holovaty 2836624ba4 Added some helpful hints to list_display documentation in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-23 15:40:41 +00:00
Adrian Holovaty 128151ebc8 Fixed typo in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-20 05:32:20 +00:00
Adrian Holovaty efa19ae8a7 Fixed #2559 -- Added cool new operators for Admin.search_fields, plus documentation. Thanks, Andy Dustman.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3601 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 02:48:34 +00:00
Adrian Holovaty 445f692096 Small formatting change to docs/model-api.txt change from [3597] -- double hyphens instead of a single hyphen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-17 00:37:49 +00:00
Russell Keith-Magee 7fe6fd75ba Clarified documentation regarding string-form model references.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-17 00:02:51 +00:00
Adrian Holovaty f98f702f2b Added paragraph to docs/model-api.txt explicitly pointing out file uploads should be validated, for security reasons
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-14 23:07:43 +00:00
Adrian Holovaty 284bf1cf7d Added example of strftime formatting to docs/model-api.txt FileField docs. Thanks for the suggestion, Bradley Whittington
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-08 15:03:01 +00:00
Adrian Holovaty c6cbfb3d7c Documented allow_tags attribute for admin change list methods
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-17 14:59:41 +00:00
Adrian Holovaty c1847294b8 Fixed #2301 -- Added list_display_links option to 'class Admin', which regulates which fields in the change list have links. Thanks, kilian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 04:16:26 +00:00
Adrian Holovaty a159f660fe Reverted [3184]. There's no such thing as models.PasswordField.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21 14:42:52 +00:00
Malcolm Tredinnick c4fa8a158a Fixed #2071 -- documented the PasswordField (including cavaets). Thanks to
asmodai for the initial patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21 04:49:12 +00:00
Malcolm Tredinnick ed1dcbf3e7 Fixed #2141 -- corrected indentation problems in a couple of the code fragments.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-14 03:34:52 +00:00
Adrian Holovaty f3f002b161 Fixed #1697 and #2095 -- Made 'choices' parameter accept any iterable
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 02:46:08 +00:00
Adrian Holovaty 12254540c7 Fixed #1966 -- Documented list_per_page Admin option
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 04:54:28 +00:00
Adrian Holovaty a371eb3c90 Fixed #2057 -- Added explicit statement to auto_now and auto_now_add section in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:37:47 +00:00
Adrian Holovaty 1ffa1a9bc8 Fixed #2054 -- Added a bit of docs to the 'core' field docs in model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:35:44 +00:00
Adrian Holovaty ddd37b20f1 Fixed funky formatting in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 05:04:40 +00:00
Adrian Holovaty 0fc2a2c1a8 Added 'Overriding default model methods' section to model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 03:01:02 +00:00
Adrian Holovaty 75df13278c Fixed #981 -- Documented backend-specific SQL files
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 02:24:32 +00:00
Adrian Holovaty d5c9e19403 Small cleanups to docs/model-api.txt and docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-19 05:07:33 +00:00
Malcolm Tredinnick 21dd8e272b Fixed #981 -- documented the SQL initial data insert files.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-19 03:37:50 +00:00
Adrian Holovaty 887131c749 Fixed bugs in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 21:32:56 +00:00
Adrian Holovaty 4b69ef637a Fixed #1815 -- Fixed ReST errors in docs. Thanks, nico@teknico.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 15:21:28 +00:00
Adrian Holovaty be0032f5ba Removed section in docs/model-api.txt about connection.commit(), which no longer exists
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 23:16:43 +00:00
Luke Plant f57e34e990 Fixed #1579 - added support for 'Q' objects in limit_choices_to.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 00:26:24 +00:00
Adrian Holovaty 3f932e31dc Fixed #1773 -- Fixed indentation error in docs/model-api.txt. Thanks, pb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 18:31:16 +00:00
Adrian Holovaty adf6126c81 Fixed #1731 -- Added note to docs/model-api.txt about location of model repository. Thanks, Malcolm
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 02:57:19 +00:00
Adrian Holovaty a8ccdd0fcd Finished proofreading docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 01:56:29 +00:00
Adrian Holovaty 08fc16705f Proofread some of docs/model-api.txt. Still not done with this one.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 04:59:45 +00:00
Adrian Holovaty c62a014049 Fixed #1747 -- Fixed error in docs/model-api.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 04:19:59 +00:00
Adrian Holovaty 75824ba82d Fixed more ReST errors in docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 01:59:39 +00:00
Adrian Holovaty f69cf70ed8 MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 01:31:56 +00:00
Adrian Holovaty 40fee1b8f0 Fixed #1639 -- Small typo in docs/model-api.txt. Thanks, pb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-14 14:17:56 +00:00
Adrian Holovaty 0bf620f199 Fixed #1628 -- Added note to docs/model-api.txt about admin ordering by only first field
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-13 01:46:08 +00:00
Adrian Holovaty 4bcdb15091 Added some examples to 'ordering' section of docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-13 01:45:15 +00:00
Adrian Holovaty 5e06181be7 Added note to docs/model-api.txt about custom WHERE clauses
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-22 23:06:22 +00:00
Adrian Holovaty 97eb38b21d Fixed #1296 -- Made SlugField maxlength configurable. Thanks, Matt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-17 18:15:07 +00:00
Adrian Holovaty 1929d8e8f3 Fixed billion vs. million bug in docs/model-api.txt. Thanks, Armin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1926 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-12 04:43:29 +00:00
Adrian Holovaty 8da17bacf3 Fixed #972 -- Improved docs for 'choices' model field option. Thanks, radek
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 01:53:30 +00:00
Adrian Holovaty fe15c01a17 Fixed typo in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1426 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 03:15:09 +00:00
Adrian Holovaty b4bb345b94 Another change to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 17:36:16 +00:00
Adrian Holovaty c472b1471d Small improvement to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 17:35:29 +00:00
Adrian Holovaty 2bb18eddbe Added 'Executing custom SQL' section to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 17:33:40 +00:00
Adrian Holovaty 34560e0776 Fixed typo in docs/model-api.txt. Thanks, anl
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-19 20:20:13 +00:00
Adrian Holovaty f6bf41e59a Fixed #121 -- Django now quotes all names in SQL queries. Also added unit tests to confirm. Thanks, Robin Munn and Sune.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 01:44:35 +00:00
Adrian Holovaty 1b035c35d9 BACKWARDS-INCOMPATIBLE CHANGE -- Moved flatpages and redirects to standalone apps in django.contrib that are NOT installed by default. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges for full migration information.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 04:45:05 +00:00
Adrian Holovaty af4bef19ad Documented meta.Admin list_select_related option from [1092]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:08:29 +00:00
Adrian Holovaty a218cf5798 Fixed #281 -- Made e-mail address validation much more strict and accurate.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:59:18 +00:00
Adrian Holovaty 911a6dfe04 Fixed #319 -- Updated docs/model-api.txt to note that prepopulate_from doesn't accept DateTimeFields
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:53:07 +00:00
Jacob Kaplan-Moss fb55717a09 Documented {{{singular}}} argument for m2m relationships (fixes #664).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-30 14:35:44 +00:00
Adrian Holovaty d4abd6fb52 Small massaging of docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 22:43:54 +00:00
Adrian Holovaty 169f9d2bd3 Fixed #655 -- Improved 'validator_list' section of docs/model-api.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 13:22:20 +00:00
Adrian Holovaty 539e53ccf1 Fixed #317 -- SlugField now accepts hyphens. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 04:20:52 +00:00
Adrian Holovaty bf5dce64de Fixed #642 -- Added small improvement to EmailField docs. Thanks, Boffbowsh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 04:03:41 +00:00
Adrian Holovaty 30d7e62828 Fixed ReST bug in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 15:59:06 +00:00
Adrian Holovaty f1ecfe991d Fixed #630 -- Fixed formatting error in docs/model-api.txt. Thanks, ken@kenkinder.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-16 19:42:16 +00:00
Adrian Holovaty eb5d802cc2 Fixed ReST bug in docs/model-api.txt from [846]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-12 04:17:06 +00:00
Adrian Holovaty 5f9fe6d403 Fixed #589 -- Added FilePathField. It's available as an ORM field and as a standalone field in django.core.formfields. Thanks, jay@skabber.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-12 04:14:21 +00:00