Commit Graph

578 Commits

Author SHA1 Message Date
Adrian Holovaty 528b4ebd8d Fixed #1139 -- Changed django.core.mail to raise BadHeaderError (a subclass of ValueError) and changed docs/email.txt example to use that
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-29 22:12:54 +00:00
Adrian Holovaty 8b5c2192e8 Fixed #1135 -- Changed django.core.mail functions not to allow newlines in headers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-29 20:33:56 +00:00
Adrian Holovaty f7f812cd70 Fixed #1137 -- Added a _contains_() method to SessionWrapper. Thanks, Brant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-29 19:17:32 +00:00
Adrian Holovaty 5f47ce0b4c Fixed #1128 -- Fixed typo in docs/url_dispatch.txt. Thanks, joost
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-28 23:14:09 +00:00
Adrian Holovaty bf5125734e Added note to docs/db-api.txt about using distinct=True with get_values()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-28 19:18:48 +00:00
Adrian Holovaty de72616ac0 Added small bits to docs/email.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1785 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-27 22:57:45 +00:00
Adrian Holovaty 0891e7bec5 Added docs/email.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-27 22:52:06 +00:00
Adrian Holovaty a180f638bb Fixed #1111 -- Fixed bug in docs/forms.txt. Thanks, afarhham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1776 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-24 16:27:53 +00:00
Adrian Holovaty 49fd163a95 Fixed #925 -- Added TEMPLATE_CONTEXT_PROCESSORS, which lets you specify processesors for DjangoContext. Thanks, Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-24 04:39:59 +00:00
Adrian Holovaty d9269055c9 Fixed typo in OR syntax example in docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-22 15:10:01 +00:00
Adrian Holovaty 197aae8d98 Added link to 'Submitting and maintaining translations' from docs/i18n.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-21 05:47:37 +00:00
Adrian Holovaty c4b543ff46 Added clarification to 'Using branches' in docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1762 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-21 05:47:17 +00:00
Adrian Holovaty 7ce1d7d098 Added 'Submitting and maintaining translations' section to docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1761 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-21 05:43:58 +00:00
Adrian Holovaty 0c6653cf03 Added 'Where should this code live?' section to tutorial01
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 23:44:33 +00:00
Adrian Holovaty 4e7006856d Fixed grammar error in docs from [1584]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 03:40:27 +00:00
Adrian Holovaty e6745d3420 Fixed #857 -- Changed default session cookie name from hotclub to sessionid. Django is now 10% less pornish.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 03:39:31 +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 36c5ea7b06 Lightly reworded docs/i18n.txt section on JavaScript
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 19:50:12 +00:00
Georg Bauer c464e57da9 reverted changes from [1534] and [1536] regarding ticket #966
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 18:54:44 +00:00
Georg Bauer e19edfbea0 fixed a small bug in the positional interpol sample in i18n.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 18:12:16 +00:00
Georg Bauer 4ed3d57184 added documentation for the query kwargs introduced by [1534]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 14:04:56 +00:00
Georg Bauer f33cc0163d updated the i18n documentation with regard to JavaScript translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 13:08:37 +00:00
Adrian Holovaty 2863e09f2e Fixed typo in docs/templates.txt. Thanks, pbx
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1525 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 20:27:34 +00:00
Adrian Holovaty 9ede371c85 Fixed #971 -- inspectdb for SQLite now introspects field types.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 06:32:25 +00:00
Adrian Holovaty bf0f6ec3b4 Added allow_empty hook to archive_index date-based generic view.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 22:03:50 +00:00
Adrian Holovaty 9541d7a7c7 Fixed #251 -- Added OR support to queries, via the new 'complex' DB API keyword argument. Updated docs and added unit tests. Also removed old, undocumented '_or' parameter. Thanks, Hugo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 06:14:05 +00:00
Adrian Holovaty 991bb61242 Fixed #736 -- Changed behavior of QueryDict items() to be more consistent, fixed mutability holes, gave MultiValueDict many more dictionary methods and added unit tests. Thanks, Kieran Holland. This is slightly backwards-incompatible if you happened to rely on the behavior of QueryDict.items(), which is highly unlikely.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 04:08:46 +00:00
Adrian Holovaty 3cb20c45c7 Moved Apache auth handler to django/contrib/auth/handlers/modpython.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 01:14:23 +00:00
Adrian Holovaty 674ac13ca6 Fixed #709 -- Added a __contains__ method to MultiValueDict. Thanks, Brantley
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 00:19:15 +00:00
Jacob Kaplan-Moss 289119563e Fixed small ReST error in [1495]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 18:27:35 +00:00
Jacob Kaplan-Moss ae76186a4f Added mod_python authentication handler and document on authenticating against Django's auth database from Apache
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 18:26:07 +00:00
Jacob Kaplan-Moss 568a926452 Clarified wording about deprecated features (thanks, Wilson)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 15:30:06 +00:00
Adrian Holovaty 3373447fba Fixed typo in docs/admin_css.txt. Thanks, Daniel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 14:43:07 +00:00
Adrian Holovaty de7a336486 Fixed #460 -- Added 'django-admin.py inspectdb' support for SQLite. Thanks, Swaroop
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 02:05:32 +00:00
Adrian Holovaty e9193a79fd Fixed some tiny typos in docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 00:24:34 +00:00
Jacob Kaplan-Moss 1ee5982b2c Added "how to contribute to Django" document
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 15:30:21 +00:00
Adrian Holovaty e85b071e47 Fixed #798 and #715 -- Added optional arguments to createsuperuser, for each use in shell scripts. Thanks for the patch, bjorn@exoweb.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 02:57:38 +00:00
Adrian Holovaty f1eff69a4f Updated middleware.txt and url_dispatch.txt docs to reflect [1470] (support for non-named groups in URLconf regexes)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 23:03:56 +00:00
Adrian Holovaty 1bd85787ec Fixed #933 -- Updated 'django-admin.py sql polls' output in tutorial01. Thanks, jhernandez
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 19:28:38 +00:00
Adrian Holovaty 2fb95f1de6 Changed template library system so that it looks for a module-level variable named 'register' rather than the first instance of template.Library it finds
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 16:43:56 +00:00
Adrian Holovaty ed97929b91 Added a 'Directory listings' section to docs/static_files.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 15:28:19 +00:00
Adrian Holovaty c8e98f4cdd Fixed ReST error in [1455]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 14:52:12 +00:00
Adrian Holovaty 5e0be518f8 Added note to docs/static_files.txt about serving static files in production
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 14:49:57 +00:00
Adrian Holovaty c0700db1a3 Added docs/static_files.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 14:42:21 +00:00
Adrian Holovaty 501b06c7b4 Fixed several bugs in docs/url_dispatch.txt, and made several clarifications
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1453 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 14:35:18 +00:00
Adrian Holovaty a2527ebe77 Improved docs/modpython.txt to add note about debugging under mod_python with print statements
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 13:53:35 +00:00
Adrian Holovaty 515ae9c128 Fixed ReST error in docs/templates_python.txt. Thanks, EABinGA
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 07:28:51 +00:00
Adrian Holovaty 3ede006fc9 Fixed #911 -- Made template system scoped to the parser instead of the template module. Also changed the way tags/filters are registered and added support for multiple arguments to {% load %} tag. Thanks, rjwittams. This is a backwards-incompatible change for people who've created custom template tags or filters. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 22:46:31 +00:00
Adrian Holovaty 8128f440ee Fixed #903 -- Added login_url argument to user_passes_test view decorator. Didn't add it to login_required decorator because that would turn login_required into a callable decorator, which would break backwards compatibility.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 07:20:07 +00:00
Adrian Holovaty d058a8a104 Fixed bug in Python 2.3 example of user_passes_test decorator in docs/authentication.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 07:02:59 +00:00
Adrian Holovaty 5ad144b29e Added 'Error handling' section to docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 03:17:52 +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 140f4a6913 Added TEMPLATE_DEBUG to docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 23:29:25 +00:00
Adrian Holovaty 5b662cdd86 Added docs/add_ons.txt -- small documentation of contrib
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 19:21:51 +00:00
Adrian Holovaty e1b2e48a3e Fixed #876 -- Fixed typos in docs/forms.txt. Thanks, czhang
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 14:24:07 +00:00
Adrian Holovaty 2bb84b9c2c Fixed #875 -- Fixed typo in docs/db-api.txt. Thanks, wojtek
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 14:23:07 +00:00
Adrian Holovaty bedf10a98d Fixed #598 -- Added {% include %} template tag. Added docs and unit tests. Thanks, rjwittams
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 05:44:04 +00:00
Adrian Holovaty 24b98280a5 Fixed bug in docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 04:45:12 +00:00
Adrian Holovaty 3ae9542c24 Beefed up docs for floatformat template filter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 04:44:21 +00:00
Adrian Holovaty 912ddb16bc Fixed formatting bug in docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 04:42:26 +00:00
Adrian Holovaty a49fa746cd Fixed #273 -- BACKWARDS-INCOMPATIBLE CHANGE -- Changed auth.User.password field to add support for other password encryption algorithms. Renamed password_md5 to password and changed field length from 32 to 128. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges for upgrade information
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 03:33:22 +00:00
Adrian Holovaty b96f6059f0 Added clarification to TIME_ZONE setting docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1320 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 00:27:48 +00:00
Adrian Holovaty acdd24f526 Added 'Should I use the official version or development version?' question to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 23:49:35 +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 16493e135c Added note to docs/sessions.txt about only being available in development version
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 17:18:25 +00:00
Adrian Holovaty 3895a825a9 Added SESSION_SAVE_EVERY_REQUEST setting.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 17:16:13 +00:00
Adrian Holovaty cd01d6d381 Fixed #848 -- Made auth docs more clear on permission handling.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 16:35:44 +00:00
Adrian Holovaty 58f95c3a6a Fixed #850 -- Made clarification in docs/tutorial02.txt. Thanks, Daniel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 16:20:24 +00:00
Adrian Holovaty 85c50d4fdf Fixed #839 -- Fixed typo in docs/cache.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 05:17:55 +00:00
Adrian Holovaty 72d8e07de4 Fixed #846 -- Fixed bug in docs/syndication_feeds.txt. Thanks, deric
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 04:53:28 +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 c5068ff4ac Fixed ReST bugs in [1291]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-19 18:28:08 +00:00
Adrian Holovaty f125fb0afc Beefed up docs/url_dispatch.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-19 18:20:30 +00:00
Adrian Holovaty cdbc94dbd2 Fixed #838 -- Removed unused link in tutorial01.txt. Thanks, paolo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-18 21:42:45 +00:00
Adrian Holovaty 33ffa72e40 Fixed #827 -- For admin list_display functions without a short_description, Django now converts underscores to spaces. Thanks, Aaron Swartz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-17 15:26:50 +00:00
Adrian Holovaty 674c0b353c Added official-version information to docs/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 05:35:59 +00:00
Adrian Holovaty 17d54d1d9e Fixed #808 -- Fixed typo in docs/forms.txt. Thanks, limodou
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 03:37:01 +00:00
Adrian Holovaty 6b870c136b Changed tutorial02 not to say redirects and flatpages are included
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 03:09:50 +00:00
Adrian Holovaty 93519513a1 Added links to auth docs in docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 02:59:22 +00:00
Adrian Holovaty 464e84257d Changed 'django-admin.py startapp' application template to use views.py instead of views package, for simplicity. Updated tutorial to reflect the change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 02:00:23 +00:00
Adrian Holovaty 2d49f70b0d Small style cleanup of docs/generic_views.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 00:25:48 +00:00
Georg Bauer 9b3b250291 added danish translation to the settings documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 18:40:10 +00:00
Jacob Kaplan-Moss 400cf5658d Added django.views.generic.simple.redirect_to view for issuing simple redirects. Also updated direct_to_template to use render_to_response to be consistant with coding style, and documented the simple generic views.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 17:19:33 +00:00
Adrian Holovaty ed92d36825 Followup faq change to [1237]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 07:36:09 +00:00
Adrian Holovaty a411d68a10 Added extra paragraphs to 'Why did you write all of Django from scratch' FAQ question
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 07:34:18 +00:00
Adrian Holovaty 74865663bb Fixed #787 -- High-level syndication framework now picks up author details. Also updated documentation. Thanks, mattycakes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 05:15:40 +00:00
Adrian Holovaty 7626cb0581 Improved Atom feed-generating framework to output <link rel='self'>. Added a feed_url hook to feedgenerator for this purpose, and changed the syndication Feed and views to use it. Also updated docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 04:59:20 +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 6e40d8c29f Fixed #783 -- Added AnonymousUser.id = None. Thanks, EABinGA
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 23:33:05 +00:00
Adrian Holovaty 8a0137446f Added Icelandic and Swedish translations to docs/settings.txt LANGUAGES section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 23:18:22 +00:00
Adrian Holovaty 27eaf5a891 Fixed #782 -- Fixed broken link in docs/overview.txt. Thanks, frederik
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 23:10:27 +00:00
Adrian Holovaty e70be11814 Added 'Safety and security' section to docs/design_philosophies.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 22:59:51 +00:00
Adrian Holovaty b40952b0a1 Fixed #780 -- Fixed typo in docs/modpython.txt. Thanks, jhernandez
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 16:14:14 +00:00
Adrian Holovaty 29bdbc3dbf Added 'Limiting access to generic views' section to docs/authentication.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 04:48:52 +00:00
Adrian Holovaty 46083845d4 Changed slightly misleading example in docs/sessions.txt to use baggage-less 'members' instead of 'users'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 04:43:07 +00:00
Adrian Holovaty 23c9e2aec9 Fixed typo in docs/tutorial03.txt. Thanks, Dave Hodder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 00:22:39 +00:00
Adrian Holovaty f7d2e9ea9f Grammar cleanups for recent documentation and docstring changes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 00:19:16 +00:00
Georg Bauer f3d1f39559 added the LANGUAGES setting to the settings documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 21:36:38 +00:00
Georg Bauer 33accf560d updated i18n documentation for the LANGUAGES setting
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 21:33:46 +00:00
Adrian Holovaty b2e05910ed Fixed #773 -- Removed reference to CACHE_MIDDLEWARE_GZIP in docs/cache.txt. Thanks, Eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 18:17:22 +00:00
Adrian Holovaty a70c04d83b Fixed #774 -- Fixed typos in docs/authentication.txt. Thanks, footless and jbennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 18:15:26 +00:00
Adrian Holovaty 91f1b08759 More small tweaks to docs/syndication_feeds.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 04:00:35 +00:00
Adrian Holovaty 782edb393b Fixed ReST bug in docs/syndication_feeds.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 03:48:53 +00:00
Adrian Holovaty 10214bdac0 Fixed ReST bugs in docs/syndication_feeds.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 03:48:14 +00:00
Adrian Holovaty 944de9e9e6 Completely refactored legacy RSS framework to the new django.contrib.syndication package. Also added Atom support, changed the way feeds are registered and added documentation for the whole lot. This is backwards-incompatible, but the RSS framework had not yet been documented, so this should only affect tinkerers and WorldOnline. Fixes #329, #498, #502 and #554. Thanks for various patches/ideas to alastair, ismael, hugo, eric moritz and garthk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 03:44:53 +00:00
Adrian Holovaty e8ae356739 Added 'Install Python' section to docs/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 03:24:32 +00:00
Adrian Holovaty 1873c95b31 Added INSTALLED_APPS to global_settings. It's an empty tuple by default.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 22:56:18 +00:00
Adrian Holovaty c62b427b12 Added a link to docs/outputting_csv.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 14:54:27 +00:00
Adrian Holovaty 16a3822460 Fixed ReST missing link in docs/outputting_csv.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 14:53:15 +00:00
Adrian Holovaty a3a1fcddc5 Added docs/outputting_csv.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 14:51:33 +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 a11a1d5e16 Added SITE_ID to docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 03:50:21 +00:00
Adrian Holovaty d0a0a54538 Added INSTALLED_APPS to docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 03:25:52 +00:00
Adrian Holovaty d38e882695 Updated docs/middleware.txt to say exception middleware is applied in reverse order.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 01:14:02 +00:00
Adrian Holovaty 394eafb840 Updated middleware.txt to note that response middleware is applied in reverse
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 00:25:03 +00:00
Adrian Holovaty e3e37ed120 Fixed #724 -- Ensured get_next_by_FOO() and get_previous_by_FOO() methods don't skip or duplicate any records in the case of duplicate values. Thanks for reporting the bug, mattycakes@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-10 05:36:41 +00:00
Adrian Holovaty f85cd32dbd Improved docs/authentication.txt to note that messages only work with registered users, not anonymous users
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 18:07:06 +00:00
Adrian Holovaty 1847c9ef64 Small formatting fix to docs/settings.txt -- MIDDLEWARE_CLASSES example was scrolling off the page
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 17:39:18 +00:00
Adrian Holovaty 8b71b9b870 Finished docs/authentication.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-08 18:45:03 +00:00
Adrian Holovaty c7b28cf7e6 Added 'Serving the admin files' section in docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 14:47:29 +00:00
Adrian Holovaty 54c3367a63 Updated install.txt and modpython.txt to note required Apache and mod_python versions. Also gave full example for Apache config
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 14:39:13 +00:00
Adrian Holovaty c6ef1e0588 Changed register_tag example in docs/templates_python.txt to be consistent with other examples. Thanks, EABinGA
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 14:26:40 +00:00
Adrian Holovaty e205b96825 Fixed typo in docs/i18n.txt. Thanks, Esaj
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 14:24:13 +00:00
Adrian Holovaty c6fd835137 Added note about CacheMiddleware to docs/i18n.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:57:56 +00:00
Adrian Holovaty 371f63c210 Fixed #742 -- Implemented 't' dateformat. Thanks, radek.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:53:13 +00:00
Adrian Holovaty d4df074d41 Fixed #109 -- Created DATE_FORMAT, DATETIME_FORMAT and TIME_FORMAT settings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:49:03 +00:00
Adrian Holovaty 72547994c1 Fixed ReST bug in templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:37:20 +00:00
Adrian Holovaty bd0d8a779e Fixed ReST bug in templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:36:28 +00:00
Adrian Holovaty eb590d894d Changed headers in docs/templates.txt to match style from other documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:33:23 +00:00
Adrian Holovaty aa89487fd0 Fixed ReST bug in [1110]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:32:22 +00:00
Adrian Holovaty 92241e21b8 Reformatted docs/templates.txt to put headings in filter and tag references, so each tag/filter gets a permalink
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:30:06 +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 1b626e4083 Fixed #723 -- Documented 'django-admin installperms'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:02:54 +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
Adrian Holovaty e19c9ccfcb Reworded docstrings and settings documentation from [1068]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:22:02 +00:00
Adrian Holovaty e859854d0a Made small edits to docs/i18n.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-05 04:40:07 +00:00
Adrian Holovaty 0588183976 Fixed ReST bugs in i18n.txt from [1087]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-05 04:24:19 +00:00
Adrian Holovaty 6dbc781a2a Moved translation.txt to i18n.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-05 04:23:10 +00:00
Adrian Holovaty 6e7620baf0 Moderately heavy rewrite of docs/translation.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-05 04:22:25 +00:00
Jacob Kaplan-Moss 5cf8f68423 Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: this means that the i18n branch is now obsolete and will be made read-only.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 04:59:46 +00:00
Adrian Holovaty cb45fd0ae2 Added DATABASE_PORT to docs/legacy_databases.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 22:28:08 +00:00
Adrian Holovaty f29205fc7b Updated docs/legacy_databases.txt to remove 'auth_admin_log' from list of tables that shouldn't be in the database, because that's now optional.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 21:55:21 +00:00
Adrian Holovaty 2d5c6ec256 Changed docs/legacy_databases.txt to link to settings docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 21:53:32 +00:00
Adrian Holovaty b5df9c308f Improved docs/db-api.txt to specify that case-sensitive ordering isn't supported
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 20:31:12 +00:00
Adrian Holovaty 27efe14c54 Added 'Session IDs in URLs' and 'Session cookies' sections to docs/sessions.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 14:26:55 +00:00
Adrian Holovaty 7136eb8f3a Fixed #507 -- Changed MySQL backend so that it uses 'LIKE BINARY' for case-sensitive comparisons -- contains, startswith and endswith. Thanks, Simon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 01:08:13 +00:00
Adrian Holovaty 390666ac2b Fixed #508 -- Added support for 'expires' in cookies and changed session middleware to set 'expires' in addition to 'max_age'. Thanks, mark@junklight.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 01:02:07 +00:00