Commit Graph

185 Commits

Author SHA1 Message Date
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