1
0
mirror of https://github.com/django/django.git synced 2024-11-18 23:44:22 +00:00
Commit Graph

64 Commits

Author SHA1 Message Date
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
Adrian Holovaty
179017afb5 Fixed formatting bug in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 18:32:48 +00:00
Adrian Holovaty
474cfe56d4 Fixed #601 -- Updated docs/model-api.txt unique_together section to say it's enforced at the database level.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 14:00:20 +00:00
Jacob Kaplan-Moss
1838c76307 Fixed #472 - added notes about File/ImageFields from the FAQ to the model API doc
git-svn-id: http://code.djangoproject.com/svn/django/trunk@742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-30 13:49:43 +00:00
Adrian Holovaty
1d65ba62db Added a few notes about list_display to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-20 02:37:39 +00:00
Adrian Holovaty
005e70387c Added clarifying note to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 02:12:53 +00:00
Adrian Holovaty
df3564dace Fixed typo in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 19:11:54 +00:00
Adrian Holovaty
25d8441d72 Final ReST bugfix to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 19:10:07 +00:00
Adrian Holovaty
10204da326 Fixed ReST bug in docs/model-api.txt -- I think
git-svn-id: http://code.djangoproject.com/svn/django/trunk@566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 19:08:42 +00:00
Adrian Holovaty
09b5266d64 Fixed bug in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 19:07:39 +00:00
Adrian Holovaty
879222786a Added 'Using models', 'Models across files' and 'Models in multiple files' sections to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 19:02:07 +00:00
Adrian Holovaty
f6f3b1f97b Fixed another stupid ReST bugs in [560]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 18:36:57 +00:00
Adrian Holovaty
c0fef161c1 Fixed the inevitable ReST bugs in [560]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 18:36:20 +00:00
Adrian Holovaty
9138dc7008 Fixed the inevitable ReST bugs in [560]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 18:35:44 +00:00
Adrian Holovaty
b8e1be6f46 Beefed up docs/model-api.txt -- added a significant amount of documentation, links to example models and formatting changes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 18:29:11 +00:00
Adrian Holovaty
1aaa3358b9 Fixed ReST bug in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 05:34:37 +00:00
Adrian Holovaty
25264c8604 Fixed #122 -- BIG, BACKWARDS-INCOMPATIBLE CHANGE. Changed model syntax to use fieldname=FieldClass() syntax. See ModelSyntaxChangeInstructions for important information on how to change your models
git-svn-id: http://code.djangoproject.com/svn/django/trunk@549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-25 22:51:30 +00:00
Adrian Holovaty
56071754ea Fixed #318 -- Fixed typo in docs/model-api.txt. Thanks, django@sharpbanana.co.uk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15 16:15:26 +00:00
Jacob Kaplan-Moss
54f93895a8 Added a quick example of prepopulate_from to clarify the description
git-svn-id: http://code.djangoproject.com/svn/django/trunk@493 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-14 01:09:51 +00:00
Adrian Holovaty
8dac184adc Fixed ReST bugs in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-11 16:05:25 +00:00
Adrian Holovaty
8a209c232c Fixed #296 -- Fixed typo in docs/model-api.txt. Thanks, rmunn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 03:46:11 +00:00
Adrian Holovaty
4f00611f74 Fixed #211 -- edit_inline_type is deprecated, in favor of edit_inline itself. For example, instead of 'edit_inline=True, edit_inline_type=meta.TABULAR', use 'edit_inline=meta.TABULAR'.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09 21:08:00 +00:00
Adrian Holovaty
b7e5121684 Fixed #280 -- Added _pre_delete() and _post_delete() hooks. Also updated the docs and added a unit testdjango/core/meta/__init__.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-08 18:29:02 +00:00
Adrian Holovaty
f5b22bf431 Fixed #271 -- Changed doc references to ManyToOneField. Thanks, brantley
git-svn-id: http://code.djangoproject.com/svn/django/trunk@406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-04 19:00:20 +00:00
Adrian Holovaty
c2a5c49ac2 Fixed #153 -- Changed docs to use new ordering syntax
git-svn-id: http://code.djangoproject.com/svn/django/trunk@299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 18:45:22 +00:00
Jacob Kaplan-Moss
18749c0060 Rolled a number of comments into documentation; thanks to all those who contributed.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 19:05:10 +00:00