Commit Graph

166 Commits

Author SHA1 Message Date
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 e79eb09f21 Fixed #293 -- Typo in tutorial04. Thanks, espen@grindhaug.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09 15:34:20 +00:00
Adrian Holovaty b108360407 Fixed #290 -- Thanks, Matt Croydon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09 00:43:33 +00:00
Adrian Holovaty ee52eba85a Fixed formatting problem in docs/tutorial03.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-08 21:04:32 +00:00
Adrian Holovaty 1cc4531f0b Added docs/tutorial04.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-08 21:02:28 +00:00
Adrian Holovaty b7e226d8b8 Fixed typos in generic-views documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-08 19:45:57 +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 03bd1d7ff9 Made some improvements/clean-ups to docs/tutorial03.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@430 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-08 15:47:57 +00:00
Adrian Holovaty 67bb1bc701 Added explicit note to docs/tutorial02.txt that you should edit TEMPLATE_DIRS in the *admin* settings file if you want to change admin template directories
git-svn-id: http://code.djangoproject.com/svn/django/trunk@425 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-07 01:00:58 +00:00
Adrian Holovaty 9d8dd8610d Changed 'check back within 48 hours' message, because it's blatantly false -- apologies
git-svn-id: http://code.djangoproject.com/svn/django/trunk@416 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05 22:44:16 +00:00
Adrian Holovaty a537a4efa1 Changed 'django-admin startapp' so that it doesn't create the 'urls' directory. People have said they're a bit overwhelmed by the multiple url directories, and this one isn't necessary for basic Django usage. You can always make it yourself if you know what you're doing and want to decouple/distribute your apps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05 22:43:35 +00:00
Adrian Holovaty 432e19034a Small formatting improvement to docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05 14:38:22 +00:00
Adrian Holovaty 05d074670a Added 'How this is possible' section to docs/db-api.txt, describing keyword arguments in the API
git-svn-id: http://code.djangoproject.com/svn/django/trunk@407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05 14:33:29 +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 c0451036ac Changed faq to say explicitly that db.queries includes all SQL statements
git-svn-id: http://code.djangoproject.com/svn/django/trunk@394 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02 20:38:55 +00:00
Adrian Holovaty 3af4730419 Fixed #252 -- Updated shared-hosting FAQ. Thanks, Matt Croydon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02 20:33:02 +00:00
Adrian Holovaty 72e32b31f2 Fixed #249 -- Added our IRC nicks to docs/faq.txt. Good idea, espen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@389 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02 18:00:13 +00:00
Adrian Holovaty e73c734336 Added 'Can I use Django with a pre-existing database?' to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 21:40:13 +00:00
Adrian Holovaty 6950f4f8dd Fixed small typo in docs/overview.txt -- thanks, Trent
git-svn-id: http://code.djangoproject.com/svn/django/trunk@381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 21:37:16 +00:00
Adrian Holovaty 6656806f42 Fixed duplicate code bug in docs/overview.txt -- thanks, James Kew
git-svn-id: http://code.djangoproject.com/svn/django/trunk@380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 21:35:55 +00:00
Adrian Holovaty 8483f0aa04 Additional clarification to [365]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 19:03:33 +00:00
Adrian Holovaty d62f31228b Clarified Tutorial 3 to explain settings have changed -- thanks, Robin Munn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 19:02:55 +00:00
Adrian Holovaty 7c738177dc Fixed typo in tutorial03 -- thanks, Robin Munn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 18:59:35 +00:00
Adrian Holovaty b307fb09bb Fixed #239 and #107 -- Changed model init() to use Field.get_default() if the value wasn't explicitly passed as a keyword argument. That means setting 'id=None' is no longer necessary, and you can leave off fields if you want them to have default values set.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 16:26:39 +00:00
Adrian Holovaty cae7ebe19f Changed docs/install.txt to note SQLite support and requirement for pysqlite 2.0.3 or higher
git-svn-id: http://code.djangoproject.com/svn/django/trunk@335 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-28 18:21:46 +00:00
Adrian Holovaty f188d5930d Fixed #143 -- Clarified the need for an environment variable in tutorial 1. Thanks, sdelatorre@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 22:58:39 +00:00
Adrian Holovaty 284948b9cf Fixed #166 -- Added an 'in' lookup type to the database API
git-svn-id: http://code.djangoproject.com/svn/django/trunk@318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 16:53:58 +00:00
Adrian Holovaty 63009faa14 Added 'ne' lookup type to docs/db-api
git-svn-id: http://code.djangoproject.com/svn/django/trunk@317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 16:26:48 +00:00
Adrian Holovaty 786c750c40 Fixed #163 -- Added 'pk' database API option, which is a shorthand for (primary_key)__exact
git-svn-id: http://code.djangoproject.com/svn/django/trunk@316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 16:11:43 +00:00
Adrian Holovaty f14c98e44c Fixed #203 -- Added explicit comma to tutorial 2. Thanks, sirpete@iki.fi
git-svn-id: http://code.djangoproject.com/svn/django/trunk@315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 14:41:13 +00:00
Adrian Holovaty 7d574e8f76 Removed 'use_numeric_months' parameter in generic date views (from [308]) in favor of something more powerful -- you can now provide month_format and day_format, which are format strings that specify how you expect the month and day to be formatted in the URL.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 03:48:41 +00:00
Jacob Kaplan-Moss 5498dbe519 Fixed #196: date-based generic views now have a "use_numeric_months" option if you'd like to use numeric months in the urls. Also fixed #183 while I was at it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-25 22:07:04 +00:00
Adrian Holovaty f6c4395329 Copy-edited docs from [303] and [304]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-25 17:18:39 +00:00
Adrian Holovaty 1c947e50c9 Cleaned up FAQ changes from [303]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-25 16:46:52 +00:00
Jacob Kaplan-Moss 371144f134 A bunch of generics: documentation of generic views; cleaned up existing generic views, and added create/update generic views.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-24 22:21:09 +00:00
Jacob Kaplan-Moss 8bd30b01e4 Added formfields/manipulators docs; added a few notes to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-24 19:02:22 +00:00
Adrian Holovaty 4ab1e196c4 Fixed #169 -- Thanks, django@gimbo.org.uk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-23 15:47:06 +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 e320a0936e Added sqlite3 database backend -- somewhat tested, but probably not 100% perfect.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 03:15:43 +00:00
Adrian Holovaty 9c3c0bed33 Fixed typos in docs/url_dispatch from [282]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 19:45:36 +00:00
Adrian Holovaty f8e5df6d7e Fixed spelling error and reworded mod_python PythonInterpreter section of docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 19:42:51 +00:00
Jacob Kaplan-Moss 8b58f8b3ae Fixed #141 -- thanks sdelatorre@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 19:19:01 +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
Jacob Kaplan-Moss 96d69c5b5f Updated url dispatch docs to make it more clear that the prefix need not end in a dot
git-svn-id: http://code.djangoproject.com/svn/django/trunk@282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 18:12:29 +00:00
Jacob Kaplan-Moss df6feb54f2 Rolled comments on faq into the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 18:03:25 +00:00
Jacob Kaplan-Moss 6bb7c50143 Rolled comments on tutorial 3 into document and cleaned up a few things.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 17:59:05 +00:00
Jacob Kaplan-Moss 2dfea67e34 No, [278] missed the actual bug; this should fix it
git-svn-id: http://code.djangoproject.com/svn/django/trunk@279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 17:39:11 +00:00
Jacob Kaplan-Moss 8a285ec790 Fixed ReST bug in [277]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 17:38:28 +00:00
Jacob Kaplan-Moss 7af62f48e3 Added note about using different settings modules in the same virtual host
(thanks steadicat).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 17:37:36 +00:00
Adrian Holovaty 52d761cc7a Fixed #135 -- Added 'Multiple Django installations on the same Apache' to docs/mod_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 15:40:33 +00:00