Commit Graph

877 Commits

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