Commit Graph

1059 Commits

Author SHA1 Message Date
Russell Keith-Magee f9cdde0cb4 Fixed #3162 -- Added coded to catch and rethrow exceptions that are thrown by the views visited by the test client. Thanks, Ben <afternoon@uk2.net>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-11 00:23:31 +00:00
Malcolm Tredinnick 23272de5db Fixed #3159 -- documented how to work around a lack of symlinking functionality
on Windows (with respect to django-admin.py).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 09:07:54 +00:00
Malcolm Tredinnick d8deb0c61c Fixed #3147 -- documented how to use .pth files for easy switching between
different versions of the code. Thanks to Waylan Limberg for the patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 08:55:18 +00:00
Malcolm Tredinnick 937f3190ba Fixed #2762 -- added copyright element support to RSS and Atom feeds. Patch
from Jonathan Buchanan.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 08:36:39 +00:00
Malcolm Tredinnick fefcbbfe37 Fixed #2655 -- added documentation about resolve_variable() for custom template
tags. Thanks dave@thebarproject.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 08:29:34 +00:00
Malcolm Tredinnick 1aa1c4672c Added some documentation for truncatewords_html (added in [4468]).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 05:22:12 +00:00
Adrian Holovaty 45e0a522bb Fixed ReST bug in docs/fastcgi.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 03:42:24 +00:00
Adrian Holovaty f0a3f5fc1a Updated reportlab user guide link in docs/outputting_pdf.txt. Thanks, Derek Lee-Wo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 03:39:14 +00:00
Russell Keith-Magee 9ba27afce0 Added a ``session`` attribute to the test Client, to make it easier to test if session variables have been modified in a view. Also renamed Client.cookie to Client.cookies, to match documentation and common sense.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4464 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-09 13:47:36 +00:00
Adrian Holovaty a031cadf4e Fixed #3385 -- Fixed broken link in docs/design_philosophies.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-29 00:25:14 +00:00
Adrian Holovaty cf75fcc832 Fixed #3255 -- Added help_text argument to newforms Field class.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-28 22:10:04 +00:00
Russell Keith-Magee 54feaca70f Fixed #3098 -- Added db_table parameter to m2m fields, allowing the specification of a custom table name for the m2m table. Thanks, Wolfram Kriesing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-25 13:47:55 +00:00
Adrian Holovaty dfee6b328e Fixed #3302 -- Added small note to docs/django-admin.txt about ordering of initial-data SQL files
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4425 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-25 00:53:30 +00:00
Adrian Holovaty 1b0b3febe1 Fixed ReST error in docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4421 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-24 20:11:54 +00:00
Adrian Holovaty 8e54c49784 Fixed #3333 -- Docs now use relative links, not hard-coded djangoproject.com links. Thanks for the patch, SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-24 20:08:47 +00:00
Adrian Holovaty 85fe107996 Made tiny grammar change to docs/newforms.txt. Thanks, Rex
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-24 03:30:32 +00:00
Adrian Holovaty 5b96692894 Fixed #2296 -- Documented required trailing slash for MEDIA_URL. Thanks, nwp@nz.lemon-computing.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-23 02:30:55 +00:00
Adrian Holovaty 7d1b483d07 Fixed a couple more ReST errors I found in docs/generic_views.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-23 02:15:36 +00:00
Adrian Holovaty 2933110569 Fixed #3234 -- Fixed ReST error in docs/generic_views.txt. Thanks, paolo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4396 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-23 02:13:25 +00:00
Adrian Holovaty 9ad98054db Fixed small inconsistency in docs/url_dispatch.txt 'New in Django development version' text
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-23 02:11:33 +00:00
Adrian Holovaty 13280259a8 Fixed #3283 -- Added support for empty QuerySets via none() method. Thanks for the patch, medhat
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4394 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-23 02:11:08 +00:00
Adrian Holovaty 31bdd8d720 Fixed #3282 -- Fixed incorrect statement in docs/tutorial03.txt. Thanks, dave.pawson@gmail.com and Simon G.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-23 02:02:35 +00:00
Adrian Holovaty 9afddbe422 Fixed #3346 -- Documented that search_fields Admin option can use related models. Thanks for the patch, Robert Myers and Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-23 02:01:20 +00:00
Adrian Holovaty 8f8b77bb55 Fixed #3321 -- Fixed typo in docs/testing.txt (which still needs to be proofread). Thanks, russblau@imapmail.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-20 17:34:35 +00:00
Adrian Holovaty 51a21bcbc3 Changed one link in docs/url_dispatch.txt to use a relative link, as an experiment to see whether it'll work
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-19 17:21:04 +00:00
Adrian Holovaty bc52fdc446 Fixed #3317 -- Fixed typos in docs/testing.txt. Thanks for the patch, Marc Fargas
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-19 03:18:36 +00:00
Adrian Holovaty 8a3fe9d937 Fixed #3318 -- Fixed out-of-date info in docs/contributing.txt. Thanks for the patch, Marc Fargas
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-19 03:16:54 +00:00
Adrian Holovaty e7546eb275 Fixed a couple of typos in docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-17 21:35:22 +00:00
Jacob Kaplan-Moss 2926fb238d Added a description of our new ticket workflow to the contributing doc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-17 20:07:49 +00:00
Jacob Kaplan-Moss 43193c1821 Fixed #3287: method columns in the admin changelist can now have a {{{boolean}}} attribute that uses the clever little checkmark icons instead of the ugly "True" or "False" strings. Thanks for the patch, xian@mintchaos.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-12 19:40:06 +00:00
Adrian Holovaty 73d62743e9 newforms: Added unit tests and docs explaining that clean_data will only ever contain fields of the form, even if extra fields are passed in data
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-11 00:04:27 +00:00
Jacob Kaplan-Moss 3f6fd5dfd1 Fixed #3277 - fixed a couple of typoes in docs/testing.txt. Thanks, Jeremy.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-10 19:55:44 +00:00
Adrian Holovaty 2e148d7064 newforms: Added 'initial' parameter to Form, which lets initial data be specified dynamically
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-09 04:39:44 +00:00
Russell Keith-Magee 3b4d6b4dc1 Fixed #3229 -- Fixed reference in install.txt. Thanks again, deepfall@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-06 00:08:55 +00:00
Adrian Holovaty 6ee9aeb0d6 Added note to docs/newforms.txt that points out ValidationError is a different class than previously
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-05 22:15:46 +00:00
Adrian Holovaty 9cb85eb370 Fixed #3236 -- Fixed some typos in docs/newforms.txt. Thanks, christoffer.carlborg@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-05 20:14:26 +00:00
Russell Keith-Magee 8a8d05a318 Fixed #3229 -- Fixed typo in numbering in install.txt. Thanks, deepfall@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-05 12:32:55 +00:00
Adrian Holovaty 9d29892f56 Fixed ReST error in docs/newforms.txt from [4288]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-05 05:22:36 +00:00
Adrian Holovaty 84b673e9b1 Added a lot more to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-05 05:21:39 +00:00
Adrian Holovaty 13184efb0f More additions to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-05 00:13:36 +00:00
Adrian Holovaty 61ede43202 Added first part of 'Using forms to validate data' section to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-04 06:52:50 +00:00
Jacob Kaplan-Moss 295f4c9fad Fixed #3225: fixed a typo on docs/middleware.txt. Thanks, Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-03 22:40:06 +00:00
Jacob Kaplan-Moss 023b863251 Oops -- reverted accidentally commited material from [4280]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-03 22:38:51 +00:00
Jacob Kaplan-Moss da9affa8f8 Fixed #3226: removed some pre-magic-removal-isms in settings docs. Thanks, ubernostrum.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-03 22:37:05 +00:00
Russell Keith-Magee 3d38e5d840 Fixed #3223 -- Fixed typo in model API docs. Thanks, David van Mosselbeen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-03 14:29:21 +00:00
Russell Keith-Magee e1c6e987d0 Fixed #2756 -- Modified the get_object_or_404/get_list_or_404 shortcuts to accept model managers as well as model classes. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-03 14:16:58 +00:00
Russell Keith-Magee c3f891210a Fixes #3176, #3004 -- Added an argument to the floatfilter to allow users to specify precision of floats, Thanks, Eric Floehr.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-03 05:29:34 +00:00
Adrian Holovaty fcdbb92918 Fixed #3137 -- Added 'Clearing the session table' section to docs/sessions.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-30 07:30:00 +00:00
Adrian Holovaty 08f3969d5e Added a small note about decoupling to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-30 00:39:41 +00:00
Adrian Holovaty b9eb649492 Added first bit of 'More granular output' to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-29 19:32:28 +00:00
Adrian Holovaty 99723ac65a Negligible change to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-27 05:14:34 +00:00
Adrian Holovaty 550781d9ab Removed duplication in docs/legacy_databases.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-27 04:23:40 +00:00
Adrian Holovaty b3d1ce68ea Fixed typo in docs/redirects.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-19 04:37:03 +00:00
Adrian Holovaty 8103b7dfad Negligible spacing changes to docs/csrf.txt to be consistent
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-18 03:59:45 +00:00
Russell Keith-Magee 94edd4b81f Fixed #3118 -- Fixed reversed logic in DBAPI regarding handling of empty PKs on save(). Thanks, Makoto Tsuyuki.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-17 14:17:11 +00:00
Adrian Holovaty 1147a57d20 Clarified docs/newforms.txt 'Migration plan' section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-15 18:07:20 +00:00
Adrian Holovaty 706fcec164 Copied django.forms to django.oldforms and changed all code to reference django.oldforms instead of django.forms. Updated docs/forms.txt to add 'Forwards-compatibility' section that says you should not be using django.oldforms for any new projects.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-15 18:00:50 +00:00
Adrian Holovaty 74a74f3766 Beefed up 'Using branches' part of docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-14 21:02:30 +00:00
Adrian Holovaty ad7d92ddf9 Fixed #1977 -- Changed postgresql.org link regarding timezone choices in docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-14 04:09:18 +00:00
Adrian Holovaty 472a0d379e Added 'Notes on field ordering' to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-13 23:13:01 +00:00
Adrian Holovaty 10edce12fc Updated docs/newforms.txt to reflect [4197]. Refs #3112
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-13 06:48:57 +00:00
Adrian Holovaty 5467c34b0b Added more to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-11 03:03:54 +00:00
Adrian Holovaty 5c8d789efe Edited docs/contributing.txt changes from [4190]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-11 01:24:33 +00:00
Russell Keith-Magee 08ba8e841b Added ticket triage as one way to help out; added details on the need for tests and documentation on patches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-11 00:44:02 +00:00
Adrian Holovaty 4e72dc86ff Fixed small Unicode error in newforms. Thanks, Honza Král. Refs #3114
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-08 05:54:14 +00:00
Adrian Holovaty 9a02d668c1 Small tweak to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-07 04:59:36 +00:00
Adrian Holovaty 625ae4ef93 Added preliminary stub for docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-06 17:36:48 +00:00
Adrian Holovaty e5de9997e6 Fixed #3068 -- Fixed ReST error in docs/settings.txt. Thanks, Antonio Cavedoni
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-06 06:43:46 +00:00
Adrian Holovaty 311fadeee0 Added django.contrib.formtools, including the forced-preview application
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-05 20:51:25 +00:00
Russell Keith-Magee 8925843d7e Fixed #3085 -- Typo in testing documentation. Thanks, Lachlan Cannon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-01 07:07:18 +00:00
Adrian Holovaty d1757daf0f Fixed #2931 -- Changed 'if request.POST' to 'if request.method == POST' in docs/sessions.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-27 00:08:46 +00:00
Adrian Holovaty f759dac2c9 Fixed #3033 -- Extended django.contrib.sitemaps to support new, generic sitemap protocol rather than Google's proprietary version. Thanks, Petar Marić
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-20 16:32:40 +00:00
Adrian Holovaty 5d8c6cf651 Fixed typo in docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-10 15:28:32 +00:00
Adrian Holovaty 7cce717f34 Fixed typo in docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-10 03:30:00 +00:00
Adrian Holovaty 8fd2252e2b Fixed #3000 -- Fixed typo in docs/testing.txt. Thanks, Bastian Kleineidam
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-10 03:29:50 +00:00
Adrian Holovaty fdb3b738a8 Fixed typo in docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07 23:42:27 +00:00
Adrian Holovaty a84404c190 Formatting fixes from the past round of checkins
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07 19:07:27 +00:00
Jacob Kaplan-Moss b1b4e8e7c4 Fixed #2800: the ifchanged tag now can optionally take paramaters to be checked for changing (instead of always using the content). Thanks, Wolfram Kriesing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07 05:36:51 +00:00
Jacob Kaplan-Moss fef89a01c5 Fixed #2866: Added DATABASE_OPTIONS setting which gets passed as extra kwargs to the backend's connect method. Thanks, ymasuda.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07 05:17:38 +00:00
Jacob Kaplan-Moss 3a0733e12c Fixed #2364: added NumberIsInRange validator. Thanks, Matt McClanahan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07 04:29:07 +00:00
Jacob Kaplan-Moss 4d59730fad Fixed #2934: greatly improved the accuracy if the isExistingURL check. Also introduced a new setting, URL_VALIDATOR_USER_AGENT, which is the User-Agent that the validator will use to check for URL existance. Thanks, Jeremy.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07 02:20:08 +00:00
Jacob Kaplan-Moss 09d40c508a Fixed #2987: cleaned up the syndication documentation a bit, thanks to dev@simon.net.nz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07 01:54:34 +00:00
Russell Keith-Magee 7b78fd6f5d Fixes #2971 -- Fixed inor typo in example in authentication documentation. Thanks, heckj@mac.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-02 14:30:11 +00:00
Adrian Holovaty 97dd47a8ed Added note to docs/generic_views.txt that extra_context is new in Django development version. Refs #2966 and [3950]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-30 20:57:35 +00:00
Adrian Holovaty 149933075a Fixed #2963 -- Fixed bug in docs/static_files.txt. Thanks, Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-30 20:52:02 +00:00
Russell Keith-Magee 6d1335c058 Fixes #2966 -- Added extra_context parameter to direct_to_template generic view to keep it aligned with capabilities of other generic views. Thanks, wam-djangobug@wamber.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-30 14:30:43 +00:00
Russell Keith-Magee a043715d74 Fixes #2967 -- Fixed some typos in tutorial 4. Thanks, ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-30 13:44:41 +00:00
Adrian Holovaty 8211eb23e4 Fixed #2958 -- Pointed out in docs/modpython.txt that we use <Location> instead of <Directory>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-27 02:03:15 +00:00
Adrian Holovaty 48234a0925 Fixed #2961 -- Added 'opencomment' and 'closecomment' options to {% templatetag %} templatetag. Thanks for the patch, Jeong-Min Lee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-27 01:58:13 +00:00
Adrian Holovaty 60b46d72ac Fixed #648 -- Added comment syntax to template system: {# #}. Thanks for the patch, mccutchen@gmail.com and Hawkeye
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24 21:30:38 +00:00
Adrian Holovaty 41d903bdba Fixed #2854 -- Fixed inconsistency in docs/tutorial02.txt. Thanks, ymasuda
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3928 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24 16:56:25 +00:00
Adrian Holovaty cacbedee27 Fixed #2940 -- Clarified docs/settings.txt entry about MANAGERS. Thanks, matt.riggott@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24 16:38:48 +00:00
Adrian Holovaty 7988a48583 Made small edits to docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24 16:23:05 +00:00
Russell Keith-Magee c65cd1be99 Fixes #2950 -- Removed reference to a 'Summer 2006' release of v1.0
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-23 23:53:24 +00:00
Malcolm Tredinnick 025980be53 Fixed #2941 -- Fixed a typo pointed out by jeff@nokrev.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-23 07:59:30 +00:00
Malcolm Tredinnick c60853e288 Fixed #2854 -- Incorporated a small suggestion which might make it clearer where
TEMPLATE_DIRS could point. Thanks, bonovoxmofo@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-23 07:55:16 +00:00
Malcolm Tredinnick 28ff6ecbda Fixed #2931 -- Use request.method == 'POST' where appropriate in the examples.
Thanks, David Schein.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-23 07:51:29 +00:00
Malcolm Tredinnick 86404743d5 Fixed #2929 -- Replaced a few occurrences of DEFAULT_MIME_TYPE with the correct
DEFAULT_CONTENT_TYPE setting variable.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-23 07:46:22 +00:00
Malcolm Tredinnick 31ff83e3ce Fixed #2863 -- Fixed a small typo in one of the examples. Thanks
bonovoxmofo@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-23 07:42:04 +00:00
Malcolm Tredinnick 3f4179464f Fixed #2837 -- Documented the context_instance parameter to
render_to_response().


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-23 07:39:19 +00:00
Adrian Holovaty 6cd6d9b85f Added note to docs/model-api.txt that EmailField has automatic maxlength=75
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-19 21:55:08 +00:00
Adrian Holovaty 4e99600d65 Updated docs/install.txt to note lack of setuptools in development version
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-16 22:38:18 +00:00
Russell Keith-Magee fbbbf8b9a1 Fixes #2737 -- Added code to allow None as a query value for __exact queries, raising an error otherwise. __exact=None is interpreted as the SQL 'value = NULL'. This fixes some minor problems with queries on unsaved objects with related object sets, and stops queries with a value of None being outright ignored (even if they reference an unknown attribute).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-14 02:48:05 +00:00
Russell Keith-Magee 73a6eb8ed0 Fixes #2384,#2566 -- Clarify the role that TEMPLATE_STRING_IF_INVALID plays in the template system, and the problems that can occur if it is used on a production site.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-13 14:26:08 +00:00
Russell Keith-Magee 6afa40ea00 Fixed typo in r3885.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-30 01:22:30 +00:00
Russell Keith-Magee fa4bb1b093 Clarified documentation to indicate that authenticating a user doesn't imply that they are active. Reinforced the fact that has_perm only returns true if user is active, and fixed a minor bug to that effect.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-30 01:21:03 +00:00
Russell Keith-Magee 14fb13da7e Disabled access to the admin site for inactive accounts, and clarified documentation regarding User.is_active. Thanks to Enrico <rico.bl@gmail.com> for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-29 13:37:58 +00:00
Malcolm Tredinnick fa8a1d252a Fixed #2845 -- Corrected a few spelling errors in the docs and changed a
couple of correctly spelt words to their North American counterparts for
consistency. Thanks, treborhudson@gmail.com


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3883 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-29 02:30:42 +00:00
Adrian Holovaty 7d5f6fe0f4 Fixed ReST error in docs/tutorial04.txt. Thanks, Dave Abrahams
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3882 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-28 20:39:37 +00:00
Malcolm Tredinnick 555ac9ca06 Fixed a small typo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-28 11:38:19 +00:00
Malcolm Tredinnick db6688a454 Added a note about not using ifequal and ifnotequal to compare against True,
False, None, etc.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-28 11:20:48 +00:00
Adrian Holovaty f638234932 Removed ENABLE_PSYCO setting. If you still need to use this, write custom middleware that activates psyco for you.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-28 02:31:05 +00:00
Adrian Holovaty ad14446780 Added 'Do I lose anything by using Python 2.3 versus newer Python versions, such as Python 2.5?' to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26 21:57:46 +00:00
Adrian Holovaty 5e21888822 Fixed #2744 -- Added 'Writing your own context processors' to docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26 15:38:44 +00:00
Adrian Holovaty 83613ad6de Added the word 'static' to docs/apache_auth.txt for benefit of search engines. Thanks, Paul
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 19:56:00 +00:00
Adrian Holovaty 7cfe56524b Proofread new django-admin 'adminmedia' option from [3811] and [3812]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 17:50:36 +00:00
Adrian Holovaty f32318be98 Proofread changes to docs/serialization.txt from [3795]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 17:44:07 +00:00
Adrian Holovaty 8920f65acd Formatting change to docs/forms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 17:43:13 +00:00
Adrian Holovaty a0b78df2bb Proofread changes to docs/forms.txt from [3792]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 17:42:19 +00:00
Adrian Holovaty 321a59a36a Small improvements to profanities-to-settings move from [3784]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 17:38:35 +00:00
Adrian Holovaty 61a1a1864d Negligible spacing fix to docs/model-api.txt from [3781]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 17:34:54 +00:00
Adrian Holovaty 227626dcd0 Fixed typos and improved documentation for permission_required decorator addition from [3779]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 17:33:17 +00:00
Adrian Holovaty 40aa0ca875 Proofread changes to docs/contributing.txt from [3771]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 17:22:59 +00:00
Russell Keith-Magee 0c41869e6c Made ``pk`` a generic expansion for the primary key, rather than just an expansion for __id__exact.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 13:49:01 +00:00
Malcolm Tredinnick 14993ece48 Documented the change in r3811. Refs #2600.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-24 08:22:52 +00:00
Malcolm Tredinnick d8b84cac91 Fixed #2515 -- Allow passing of options to JSON serializer. Thanks, nesh.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22 13:26:07 +00:00
Malcolm Tredinnick f88d58285b Fixed #2546 -- Formatting fix in authentication docs. Thanks, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22 12:53:51 +00:00
Malcolm Tredinnick 4ca66711b5 Documented the always_test attribute for validator functions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22 12:46:35 +00:00
Malcolm Tredinnick b46a093c45 Fixed #2678 -- Moved the list of profanities for the hasNoProfanities validator
into global_settings. Patch from Matt Croydon.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22 02:48:19 +00:00
Malcolm Tredinnick 3cf67a9920 Fixed #2649 -- Clarified behaviour of editable attribute on models. Thanks,
heckj@mac.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22 01:54:10 +00:00
Malcolm Tredinnick 6be701eba1 Fixed #2629 -- Added a permission_required decorator to
django.contrib.auth.decorator. Thanks, dummy@habmalnefrage.de.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3779 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22 01:44:28 +00:00
Malcolm Tredinnick e947fb2111 Fixed #2769 -- Applied some ReST formatting fixes. Thanks, ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-21 13:30:01 +00:00
Malcolm Tredinnick d85ee1c01e Fixed #2556 -- Documented that simple_tag functions can take any number of
arguments, not just one.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-21 11:41:18 +00:00
Malcolm Tredinnick d411a9a777 Updated the settings variables required to run the internal test suite. Also
fixed up the paths to existing tests and added a link to the documentation for
writing new tests for Django itself.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-21 11:19:34 +00:00
Russell Keith-Magee a5f4a0255d Clarified development stream status of some of the django-admin command line arguments
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-15 09:30:35 +00:00
Adrian Holovaty 927ec3fe7b Fixed #2732 -- Fixed error in FastCGI docs and added keyword-arg support in a FastCGI function. Thanks for the patch, James Crasta
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-14 15:37:11 +00:00
Russell Keith-Magee 45399b4b13 Updated documentation for ChangeManipulators to reflect use of flatten_data() rather than __dict__ to populate form data.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-14 13:31:50 +00:00
Adrian Holovaty 9b5807a3fe Fixed #2687 -- Fixed bug in docs/authentication.txt. Thanks, Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-11 18:32:45 +00:00
Russell Keith-Magee 5b34781f28 Clarified some minor issues in test system documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-08 13:10:57 +00:00
Adrian Holovaty 7bd946258e Fixed #2646 -- Removed unneeded comma in docs/syndication_feeds.txt. Thanks, lec9@leicester.ac.uk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3721 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-05 00:20:53 +00:00
Adrian Holovaty 8f79523b62 Corrected spelling of 'behavior' in docs/templates_python.txt from [3714]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-04 23:40:28 +00:00
Russell Keith-Magee f0362aa300 Refs #2333 - Made minor formatting modifications to test framework documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-04 14:22:30 +00:00
Russell Keith-Magee cfe77946d7 Fixes #2637 -- Clarified handling of TEMPLATE_STRING_IF_INVALID, especially with regards to filtering of invalid values. Modified unit tests to test both empty and non-empty values for TEMPLATE_STRING_IF_INVALID. Thanks to SmileyChris for identifying and helping to resolve this bug.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-04 14:02:11 +00:00
Russell Keith-Magee 3a919dbe2e Refs #2333 - Made minor tweaks to the formatting of testing documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-04 13:05:51 +00:00
Russell Keith-Magee 8192a808bd Refs #2333 - Added documentation for the test Client, and removed a stray import.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-03 02:44:15 +00:00
Russell Keith-Magee d78e2ae355 Refs #2333 - Added a TEST_DATABASE_NAME setting that can be used to override the 'test_' + DATABASE_NAME naming policy. This setting is then used in runtests.py to restore the use of 'django_test_db' as the Django model/regression test database. Thanks to Michael Radziej for the feedback.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-01 13:33:26 +00:00
Adrian Holovaty 60ebb616a9 Renamed django.contrib.sitemap to django.contrib.sitemaps, to be more consistent with our plural form for these sorts of things.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 23:44:26 +00:00
Adrian Holovaty a30653ac54 Changed FlatpageSitemap to FlatPageSitemap, to be consistent with FlatPage model
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 23:31:25 +00:00
Adrian Holovaty 0a11c82b04 Added 'sitemaps' to docs/add_ons.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 23:19:53 +00:00
Adrian Holovaty fe9a21b243 Added 'New in Django development version' to docs/sitemaps.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3696 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 23:17:37 +00:00