Commit Graph

293 Commits

Author SHA1 Message Date
Adrian Holovaty cb022650e7 Clarified docs/django-admin.txt to say 'runserver' runs the model validator automatically
git-svn-id: http://code.djangoproject.com/svn/django/trunk@535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-18 04:50:09 +00:00
Adrian Holovaty 1dccbcdcc1 Added a link to docs/legacy_databases.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-18 04:13:48 +00:00
Adrian Holovaty 94960d5635 Added docs/legacy_databases.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-18 04:12:01 +00:00
Adrian Holovaty 8acb6c836b Fixed typo in docs/generic_views.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-17 19:48:40 +00:00
Adrian Holovaty 81c4649944 Made some tiny tweaks to docs/tutorial02.txt -- thanks, anonymous
git-svn-id: http://code.djangoproject.com/svn/django/trunk@527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-17 15:01:12 +00:00
Adrian Holovaty 99d8bb34fe Added 'Session object guidlines' section to docs/sessions.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@524 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-17 04:05:42 +00:00
Adrian Holovaty 21c4526557 Added doc/sessions.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@523 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-17 04:00:02 +00:00
Adrian Holovaty a579724852 Fixed #336 -- Typo in docs/generic_views.txt. Thanks, Matt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@522 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-17 02:05:53 +00:00
Adrian Holovaty 07889c13a6 Fixed #1 -- Added anonymous session support via middleware and request.session. Removed the former request.session, which wasn't being used anyway. Removed auth.Session model. See the BackwardsIncompatibleChanges wiki page for IMPORTANT notes on code you'll have to change and a DB table you'll have to create.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-16 22:54:05 +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
Adrian Holovaty db127b7983 Fixed #322 -- Development server now calls validate() again. Thanks, rmunn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15 15:24:56 +00:00
Adrian Holovaty e004d2a0f7 Changed docs/tutorial01.txt to be clearer about PYTHONPATH environment variable -- thanks for the suggestion, Ken Kinder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15 04:19:16 +00:00
Adrian Holovaty 025b16178f Changed docs/tutorial01.txt to use a tree format instead of 'ls' output -- thanks for the suggestion, Ken Kinder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15 04:15:59 +00:00
Adrian Holovaty 1303933fd9 Fixed typo in docs/tutorial04.txt -- thanks, 'nitpicker'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15 04:08:28 +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 8ebe5db684 Added link to mod_python doc from docs/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-11 19:00:56 +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 aed151d3d8 Improved docs/tutorial01.txt thanks to reader suggestions
git-svn-id: http://code.djangoproject.com/svn/django/trunk@480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-11 16:01:09 +00:00
Adrian Holovaty bdcea2e6ca Fixed #118 -- Renamed 'flat files' to 'flat pages' in the admin. Didn't rename it in the Python code, because too many things would break.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 21:46:40 +00:00
Adrian Holovaty 7bb1a2bbba Changed docs/django-admin.txt to add note about which databases 'inspectdb' works with.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 21:02:07 +00:00
Adrian Holovaty 9c2d890eec Added link to docs/django-admin from tutorial01
git-svn-id: http://code.djangoproject.com/svn/django/trunk@474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 20:38:00 +00:00
Adrian Holovaty 78387d5e34 Fixed another ReST bug in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 20:30:30 +00:00
Adrian Holovaty 066722db04 Added 'Available options' section to docs/django-admin.txt, and fixed the inevitable ReST errors
git-svn-id: http://code.djangoproject.com/svn/django/trunk@472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 20:29:55 +00:00
Adrian Holovaty 055f1d0de6 Added docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 20:24:51 +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 217c746789 Copy-edited docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@442 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09 22:39:25 +00:00
Adrian Holovaty 32fe8e3863 Removed Janet Reno example from doc/templates.txt -- thanks, Bob
git-svn-id: http://code.djangoproject.com/svn/django/trunk@441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09 21:42:27 +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 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
Adrian Holovaty 8aa1645812 Changed tutorial docs to account for auto-reload on the development server
git-svn-id: http://code.djangoproject.com/svn/django/trunk@274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 15:36:43 +00:00
Adrian Holovaty c21f6ecee2 Fixed #92 -- meta.Admin 'fields' parameter is now optional. If it's not given, Django will use all editable fields by default. This cuts down on redundancy. Also updated relevant docs to reflect the change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 03:46:16 +00:00
Adrian Holovaty d330be0169 Added 'django-admin createsuperuser' and updated tutorial to use it instead of manually creating the user in the Python interactive prompt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 02:17:45 +00:00
Adrian Holovaty 0500321a4b Added 'Serving media files' to docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 01:48:59 +00:00
Adrian Holovaty 903920a3d2 Fixed #103 -- Changed docs/install.txt to note there is no official version yet
git-svn-id: http://code.djangoproject.com/svn/django/trunk@258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 01:33:13 +00:00
Adrian Holovaty bc5359f754 Added optional rel_name parameter to ManyToManyField, which makes it possible to many-to-many-relate a single model to another model more than once. Also updated the model docs to reflect this
git-svn-id: http://code.djangoproject.com/svn/django/trunk@257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 22:55:01 +00:00
Jacob Kaplan-Moss d9656947db Fixed #123 -- thanks jay!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 21:41:43 +00:00
Jacob Kaplan-Moss 65bed3241d Added note about ForeignKey("self"); fixes #100
git-svn-id: http://code.djangoproject.com/svn/django/trunk@254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 21:24:03 +00:00
Adrian Holovaty 10ace9a124 Added clarification about 'django-admin.py sqlclear' to docs/tutorial01
git-svn-id: http://code.djangoproject.com/svn/django/trunk@253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 21:01:47 +00:00
Jacob Kaplan-Moss 99a75541fd Fixed small problem in [250]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 20:12:29 +00:00
Jacob Kaplan-Moss e5a8c38fa1 Added "philosophy" sections to tutorials so they can be styled differently
git-svn-id: http://code.djangoproject.com/svn/django/trunk@250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 20:10:35 +00:00
Adrian Holovaty ec31445c52 Added '--settings' option to django-admin. This specifies which settings module to use, if you don't want to deal with setting the DJANGO_SETTINGS_MODULE environment variable. Refactored django-admin to use optparse. Updated the tutorials to use '--settings' instead of environment variables, which can be confusing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 17:42:36 +00:00
Adrian Holovaty 039d121227 Added 'How can I customize the functionality of the admin interface?' to FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 01:34:08 +00:00
Adrian Holovaty a881193693 Fixed typos and tightened up docs/url_dispatch.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 01:16:51 +00:00
Adrian Holovaty 76633e5499 Fixed inevitable ReST bug in [224]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:58:16 +00:00
Adrian Holovaty 9581c9ed96 Added better description of SlugField
git-svn-id: http://code.djangoproject.com/svn/django/trunk@225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:51:00 +00:00
Adrian Holovaty b0e1a1dda8 Changed docs/cache to add docs for site-wide caching, via the cache middleware
git-svn-id: http://code.djangoproject.com/svn/django/trunk@224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:49:07 +00:00
Adrian Holovaty 12321ea962 Added 'Running a development server with mod_python' to docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:20:38 +00:00
Adrian Holovaty 3148adf91d Added note about 'PythonDebug Off' to docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:08:17 +00:00
Adrian Holovaty 1dfc375e35 Added some more to docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:05:52 +00:00
Adrian Holovaty 21f152e9e5 Removed redundant word from docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:01:49 +00:00
Adrian Holovaty c97d93ed56 Added note to tutorial02 on how to stop the development server on Unix vs. Windows
git-svn-id: http://code.djangoproject.com/svn/django/trunk@219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 19:58:19 +00:00
Adrian Holovaty c9f90060a5 Added 'How can I see the raw SQL queries Django is running?' to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 19:55:31 +00:00
Adrian Holovaty 3ad2a774a7 Added 'How to use Django with mod_python' -- docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 19:55:18 +00:00
Adrian Holovaty 258afd8fae Fixed bug in example exception in tutorial03 -- thanks, Amit Upadhyay
git-svn-id: http://code.djangoproject.com/svn/django/trunk@214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 18:34:25 +00:00
Adrian Holovaty df66763406 Fixed #67 -- Human-readable name is now optional in model fields. If a second positional argument isn't given, Django will use the first argument, converting underscores to spaces. This change is fully backwards-compatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 17:20:37 +00:00
Adrian Holovaty e243d82874 Fixed ReST formatting bug in db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 15:44:04 +00:00
Wilson Miner b68f26e42d Added screenshots to admin css docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 15:39:15 +00:00
Wilson Miner 0bb0ad8d43 Fixed error in instructions for form labels.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 15:31:05 +00:00
Adrian Holovaty 5797066383 Added support for istartswith and iendswith in database API
git-svn-id: http://code.djangoproject.com/svn/django/trunk@207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 15:24:03 +00:00
Adrian Holovaty b617884ced Fixed typo in tutorial03 -- thanks, Robin Munn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 15:23:22 +00:00
Adrian Holovaty bec9009d83 Changed tutorial03 to match the new error message from [193]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 14:41:08 +00:00
Adrian Holovaty 1062b1e042 Small formatting fix to tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 05:58:19 +00:00
Adrian Holovaty 851b14deca Word-wrapped some code examples in tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 05:55:42 +00:00
Adrian Holovaty 09e825c746 Small formatting fix to tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 05:52:54 +00:00
Adrian Holovaty 6fdb7c98e8 Small clarification to tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 05:52:06 +00:00
Adrian Holovaty b20bb2fc26 Fixed stupid error in tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 05:50:33 +00:00
Adrian Holovaty 1f4379bcd4 Added docs/tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 05:43:07 +00:00
Adrian Holovaty 73ea27ccb0 Fixed bug in [191]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 03:06:28 +00:00
Adrian Holovaty 2363af5782 Fixed #54 -- Corrected typos in urlconfs in docs/overview. Thanks, james!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 02:22:11 +00:00
Adrian Holovaty 00f54d6cf6 Added scary warning about not using the development server in production environments
git-svn-id: http://code.djangoproject.com/svn/django/trunk@188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 23:22:07 +00:00
Adrian Holovaty b55b29c891 Changed tutorial2 to use 'django-admin runserver' instead of mod_python. Also updated WSGI mentions in the docs, now that we're WSGI-friendly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@187 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 23:14:48 +00:00
Adrian Holovaty 34f749e506 Fixed #52 -- Corrected and clarified some things in docs/model-api. Thanks, Dobbes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 20:53:02 +00:00
Adrian Holovaty a7237aafac Fixed #71 -- Changed default admin base_site template to use example.com instead of mysite.com. Thanks, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 20:43:57 +00:00
Adrian Holovaty 0944653673 Added link to compiled Windows psycopg in docs/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 18:47:55 +00:00
Adrian Holovaty 32e9209dd9 Fixed #68 -- Changed reference to deprecated mod_python config in tutorial 2. Thanks, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 18:10:41 +00:00
Adrian Holovaty fbfa3d603e Improved docs/install.txt to say you don't have to run 'setup.py install' if you're using SVN. Thanks, dp_wiz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 14:03:56 +00:00
Adrian Holovaty fe8ca41e63 Fixed #57 -- Added some more helpful mod_python information to tutorial 2 -- thanks, Manuzhai!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 13:57:25 +00:00
Adrian Holovaty dd85d8da10 Fixed #50 -- Fixed small bug in tutorial1 directory-listing example. Thanks, sirpete@iki.fi!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 02:48:52 +00:00
Adrian Holovaty fe3373c794 Fixed inevitable ReST bugs in [150]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:59:59 +00:00
Adrian Holovaty f87473e12d Fixed inevitable ReST bugs in [149]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:59:37 +00:00
Adrian Holovaty 7718319cbd Fixed inevitable ReST bugs in [148]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:58:53 +00:00
Adrian Holovaty ad8e55db9b Added notes to documentation that MySQL support has not been comprehensively tested. Thanks, Simon!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:53:56 +00:00
Adrian Holovaty 7e951c92f3 Changed tutorial01 to clarify how to set an environment variable in Windows. Thanks, JZ!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:23:34 +00:00
Adrian Holovaty 136d78b86e Fixed typo in template docs -- Thanks, Nicholas Riley and Robin Munn!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:15:26 +00:00
Adrian Holovaty 0b62adddb2 Linked tutorial 2 to the admin CSS guide
git-svn-id: http://code.djangoproject.com/svn/django/trunk@144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 06:30:31 +00:00
Adrian Holovaty a1ef6aa10b Fixed mistake in tutorial01 -- it mentioned expiration date by mistake. Thanks for the pointer, Barryp!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 06:12:58 +00:00
Adrian Holovaty c9cc6f87f9 Finished tutorial02 and added a link to it from tutorial01
git-svn-id: http://code.djangoproject.com/svn/django/trunk@142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 06:11:33 +00:00
Adrian Holovaty 7ade767819 Tiny tweaks to tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:54:43 +00:00
Adrian Holovaty 069bd054fd Fixed small formatting errors in [139]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:53:34 +00:00
Adrian Holovaty 081f2f8c8d Added 'Customize the admin change list' section to docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:52:07 +00:00
Adrian Holovaty 5162e4745f Fixed the inevitable ReST bug in [137]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:22:48 +00:00
Adrian Holovaty af86b4e4b1 Added 'Adding related objects' section to docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:21:19 +00:00
Adrian Holovaty 5e309eb6e4 Copy-edited model-API docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 04:20:57 +00:00
Adrian Holovaty 81215d7933 Improved tutorial02 to discuss login errors, linking to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 02:59:31 +00:00
Adrian Holovaty 4211bcb437 Added an example to one of the FAQ answers from [132]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 02:46:04 +00:00
Adrian Holovaty 364f3704b0 Added two admin login-related questions to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 02:43:18 +00:00
Adrian Holovaty 2b681e9203 Changed FAQ 'Who's behind this' to give our locations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 02:21:54 +00:00
Adrian Holovaty f926982800 Fixed ReST errors in docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 01:00:25 +00:00
Adrian Holovaty c012d6ccf1 Added first part of docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 00:54:15 +00:00
Wilson Miner b9ec05d4c0 Fixed formatting in admin css docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 22:19:10 +00:00
Adrian Holovaty 87b7703bd3 Fixed bug in template example in docs/overview.txt -- thanks, pbx!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 21:17:58 +00:00
Adrian Holovaty 31cd933263 Copy-edited docs/faq.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 21:16:40 +00:00