0
0
mirror of https://github.com/django/django.git synced 2024-11-22 11:57:34 +01:00
Commit Graph

453 Commits

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