Commit Graph

889 Commits

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