Commit Graph

1139 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
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
Adrian Holovaty cea1fcc0d1 Fixed ReST error in docs/faq.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 23:16:25 +00:00
Adrian Holovaty 44dabecf6e Fixed #2628 -- Added django.contrib.sitemap. Thanks for the patch, Dan Watson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 23:13:59 +00:00
Russell Keith-Magee fc2d5f461f Refs #2333 - Added more documentation for testing framework, and clarified some code as a result of trying to describe it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 14:29:47 +00:00
Adrian Holovaty d9883e1dec Added note about 'request' variable name to docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 04:31:54 +00:00
Adrian Holovaty 452847a659 Fixed #2609 -- Improved docs/sites.txt CurrentSiteManager to explain gotcha with models.Manager
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 04:08:25 +00:00
Adrian Holovaty 5e69536f7c Fixed #2610 -- Clarified docs on 'messages' variable for auth context processor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 03:50:59 +00:00
Jacob Kaplan-Moss ff4f24958d Added a rough cut of a document on using the new testing framework.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-29 18:04:09 +00:00
Jacob Kaplan-Moss 33637e3b03 Fixed #2610 -- corrected documentation about the auth context processor (thanks, ubernostrum).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-28 16:41:26 +00:00
Adrian Holovaty 1a1fb70c9f Fixed small typo in docs/overview.txt. Thanks, kirk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-24 03:37:34 +00:00
Adrian Holovaty 0a770a0d92 Added 'How can I get started contributing code to Django?' to the FAQ, and beefed up 'Why does this project exist?'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-23 23:15:09 +00:00
Adrian Holovaty 2836624ba4 Added some helpful hints to list_display documentation in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-23 15:40:41 +00:00
Adrian Holovaty 295429d1c3 Fixed #2572 -- Added all languages to docs/settings.txt. Thanks for the patch, gandalf@owca.info
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22 04:55:50 +00:00
Adrian Holovaty dbaf1219d5 Fixed #2580 -- Added missing </html> tag in docs/templates.txt examples. Thanks, jonathan-django@jmail.za.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-21 18:27:33 +00:00
Adrian Holovaty 128151ebc8 Fixed typo in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-20 05:32:20 +00:00
Wilson Miner df20bf52b0 Updated my bio in the FAQ.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 19:10:46 +00:00
Adrian Holovaty e7a91d3e06 Added note to 'If you don't need internationalization' section of docs/i18n.txt about removing the i18n context processor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:43:55 +00:00
Adrian Holovaty 0a9a59f4d1 Made small change to docs/templates_python.txt to explicitly define 'context processors', for the benefit of searches
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:40:47 +00:00
Adrian Holovaty d4a2fbb6a2 Added note to docs/cache.txt about CACHE_MIDDLEWARE_ANONYMOUS_ONLY=True and ordering AuthenticationMiddleware. Refs #2541.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:33:37 +00:00
Adrian Holovaty 8f065bba6b Fixed #2552 -- Added SetRemoteAddrFromForwardedFor middleware and documentation. Thanks, Ian Holsman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:12:36 +00:00
Adrian Holovaty efa19ae8a7 Fixed #2559 -- Added cool new operators for Admin.search_fields, plus documentation. Thanks, Andy Dustman.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3601 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 02:48:34 +00:00
Adrian Holovaty 445f692096 Small formatting change to docs/model-api.txt change from [3597] -- double hyphens instead of a single hyphen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-17 00:37:49 +00:00
Russell Keith-Magee 7fe6fd75ba Clarified documentation regarding string-form model references.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-17 00:02:51 +00:00
Adrian Holovaty f98f702f2b Added paragraph to docs/model-api.txt explicitly pointing out file uploads should be validated, for security reasons
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-14 23:07:43 +00:00
Adrian Holovaty 45be33a632 Fixed #2523 -- Added SESSION_COOKIE_SECURE setting. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 06:02:28 +00:00
Adrian Holovaty aa587cd977 Fixed ReST error in docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 05:31:31 +00:00
Adrian Holovaty 2e6aa7a578 Added paragraph to docs/documentation.txt about removing comments from frozen docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 20:31:43 +00:00
Adrian Holovaty 49c67053db Added docs/documentation.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 20:25:21 +00:00
Adrian Holovaty 0b71ffacab Improved urlresolvers so that URLconfs can be passed objects instead of strings
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 07:01:29 +00:00
Adrian Holovaty 925c711cf7 Fixed #2503 -- Fixed HttpResponse.delete_cookie() to work properly. It now takes path and domain as optional keyword arguments.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-09 15:40:24 +00:00
Adrian Holovaty 284bf1cf7d Added example of strftime formatting to docs/model-api.txt FileField docs. Thanks for the suggestion, Bradley Whittington
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-08 15:03:01 +00:00
Adrian Holovaty 0c8c42af7f Fixed #2486 -- Fixed typo in docs/generic_views.txt. Thanks, umbrae@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-05 01:49:26 +00:00
Adrian Holovaty 69de69d86a Cleaned up 'How do I create users without having to edit password hashes?' entry in docs/faq.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-04 04:20:34 +00:00
Adrian Holovaty a7f8984e6e Fixed #2465 -- Documented the fact that select_related doesn't follow null=True
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-01 21:45:57 +00:00
Adrian Holovaty 6ea0a13a16 Added link to 'batteries included' explanation in docs/add_ons.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-01 20:48:26 +00:00
Adrian Holovaty 1a428ec9b8 Fixed #2370 -- It's now possible to pass default URLconf arguments to include(). Added docs, as well. Thanks for the patch, martin.glueck@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-01 02:57:08 +00:00
Adrian Holovaty 0f977e974c Fixed inconsistency in docs/url_dispatch.txt with regard to matching docs/overview.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-01 02:23:24 +00:00
Malcolm Tredinnick f832f5f98d Fixed an RST typo so that the django-users mailing list reference is now a
proper link.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-31 10:36:30 +00:00
Adrian Holovaty 1e330b6267 Clarified 'Django no longer requires a database' in docs/release_notes_0.95.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-31 03:54:51 +00:00
Adrian Holovaty 22e8fb11db Fixed ReST error in docs/release_notes_0.95.txt. Thanks, Jeremy Dunck
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-30 05:07:06 +00:00
Adrian Holovaty 1a3b112610 Formatted docs/api_stability.txt in our ReST format, with titles
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-29 18:41:56 +00:00
Adrian Holovaty 4aefe9ad45 Formatted docs/release_notes_0.95.txt in our ReST format, with titles
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-29 18:41:09 +00:00
Adrian Holovaty a369151091 Added note to docs/templates.txt about same logical operator
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-29 00:31:33 +00:00
Adrian Holovaty 2cb629e05d Added some more stuff to docs/release_notes_0.95.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 22:24:05 +00:00
Adrian Holovaty 3ad00f3acf Changed .91 to .95 in docs/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 22:22:03 +00:00
Adrian Holovaty 1cf552dcec Changed django.VERSION to (0, 95, None) to signify final 0.95 release
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 21:53:54 +00:00
Adrian Holovaty f121772de9 Removed section in docs/templates_python.txt about Django 0.91
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 21:44:42 +00:00
Adrian Holovaty 9852ef8ff4 Added docs/release_notes_0.95.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 21:38:24 +00:00
Adrian Holovaty 0444f5644a Added 'Where can I find Django developers for hire?' to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3476 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 16:25:36 +00:00
Adrian Holovaty 2ef762f8f4 Fixed ReST error in docs/forms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 02:42:44 +00:00
Adrian Holovaty e5b51925ac Small clarifications to docs/forms.txt change from [3466]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 02:30:36 +00:00
Adrian Holovaty 8753a072f7 Small clarification to docs/templates.txt change from [3465]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 02:25:46 +00:00
Jacob Kaplan-Moss 09912cce70 Fixed #1653 -- added some documentation for FileFields/ImageFields. Thanks, Asmodai.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 23:59:35 +00:00
Jacob Kaplan-Moss 847b1ed54e Fixed #1650: the {% extends %} tag now can extend a Template object passed into the context. Thanks, clelland@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 23:23:55 +00:00
Jacob Kaplan-Moss 6537401ca4 Added notes on API stability in preparation for the 0.95 release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 18:12:53 +00:00
Adrian Holovaty 16bdaa7acb Added FAQ question 'I submitted a bug fix in the ticket system several weeks ago. Why are you ignoring my patch?'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 16:55:26 +00:00
Adrian Holovaty ecdd6ae6de Fixed #2433 -- Added allow_future option to date-based generic views
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 16:36:02 +00:00
Adrian Holovaty c37a6fa17a Fixed #2435 -- Fixed wording errors in Tutorial 4. Thanks, nicholas@aquarionics.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 16:16:17 +00:00
Adrian Holovaty eb25411407 Added 'Please do not put your name in the code' section to docs/contributing.txt. Thanks to OSCON presentation for the inspiration
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 00:46:32 +00:00
Adrian Holovaty f65cede313 Added note to docs/tutorial02.txt about which username to use in admin login
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-26 21:30:14 +00:00
Adrian Holovaty e427d5bc15 Fixed #2420 -- Fixed typo in docs/syndication_feeds.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-26 00:15:01 +00:00
Adrian Holovaty e5c40514fb Fixed typo in docs/i18n.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 02:52:52 +00:00
Adrian Holovaty 0991cd004c Fixed grammar: Designate -> Differentiate in docs/design_philosophies.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3438 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 02:43:09 +00:00
Adrian Holovaty 91bf6e5765 Added note to docs/contributing.txt about post-commit hook, for the curious
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 02:41:44 +00:00
Adrian Holovaty d43e6fc97a Added 'Transactions in MySQL' section to docs/transactions.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 02:39:50 +00:00
Adrian Holovaty ed80500a30 Added link to Luke Plant's current-user hack from docs/faq.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 02:28:09 +00:00
Adrian Holovaty 45076bf871 Fixed adverse -> averse typo in docs/faq.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 02:25:41 +00:00
Adrian Holovaty 571ee77dfe Fixed legacy mention of DjangoContext in docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 01:51:15 +00:00
Jacob Kaplan-Moss 1687b025dc Part 3 of pedant day: replaced all tabs in Django with spaces. Python the way Guido intended it, baby!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 20:48:17 +00:00
Jacob Kaplan-Moss e9a236d86c Fixed #2092: added a "is_secure()" method to HttpRequest which correctly handles the subtleties of mod_python's interaction with os.environ. This one's been bugging me for about a *year*, so many many thanks to k.shaposhnikov@gmail.com for figuring it out, and Tim Shaffer for pointing out this ticket.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 16:20:22 +00:00
Jacob Kaplan-Moss aa8b34cb92 Argh - fixed another typo in the docs for [3395]. One of these days I'll learn to proofread better, but don't hold your breath.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 16:06:02 +00:00
Jacob Kaplan-Moss a0a7378c50 Another quick doc fix -- I must have "nodes" on the brain
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 15:48:07 +00:00
Adrian Holovaty 6ab20c5475 Small style fixes to docs from [3395]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 15:45:16 +00:00
Jacob Kaplan-Moss 2a8a32c449 Added a CACHE_MIDDLEWARE_ANONYMOUS_ONLY setting which makes the cache ignore pages served to authenticated users. Fixes #1509 (thanks, Matt).
Also added a FAQ entry about using this setting to avoid caching of the admin interface. 


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 15:37:12 +00:00
Malcolm Tredinnick e6e663371b Fixed #2354 -- Added a note about "manage.py validate" to the list of useful
commands.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 02:28:35 +00:00
Malcolm Tredinnick 51705f60b1 Fixed #2332 -- Introduced is_authenticated() method on User and AnonymousUser classes. Recommended its use over is_anonymous in the docs. Changed internal Django use to match this recommendation. Thanks to SmileyChris and Gary Wilson for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 02:09:26 +00:00
Malcolm Tredinnick 533594d1a5 Fixed #2355 -- Corrected a couple of small typos in code examples in tutorial03.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 01:35:58 +00:00
Adrian Holovaty c6cbfb3d7c Documented allow_tags attribute for admin change list methods
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-17 14:59:41 +00:00
Adrian Holovaty e26f288823 Added 'Turning off auto-reload' section to docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-17 14:58:39 +00:00
Adrian Holovaty 6870edf2a0 Fixed #2356 -- Removed references to get_object() from docs/tutorial03.txt. Thanks, toddobryan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-17 14:16:17 +00:00
Malcolm Tredinnick 50448de634 Fixed #2347 -- documented the use of "and" in the blocktrans template tag.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3345 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14 02:57:10 +00:00
Adrian Holovaty cb19acf6fb Changed masochistic to sadistic in docs/templates.txt. Thanks, hedronist
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14 00:56:03 +00:00
Adrian Holovaty 36e4e5a938 Proofread docs/settings.txt changes from [3336]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-13 03:52:41 +00:00
Malcolm Tredinnick e88a9cc9a4 Made it clear that we do not alter the process environment when manual settings
configuration is used.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3336 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-12 07:40:28 +00:00
Adrian Holovaty 93b21610b9 Added note to docs/settings.txt and docs/i18n.txt about not importing from django.utils.translation in the settings file
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 02:49:56 +00:00
Adrian Holovaty 4872e16d1c Decimated 'whilst' in docs/templates_python.txt from [3308]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 14:22:04 +00:00
Malcolm Tredinnick 9af47730da Typo fixing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 10:50:04 +00:00
Malcolm Tredinnick 927d87d732 Fixed #2320 -- corrected numerous errors in the custom tag examples in
python_templates.txt. Also fixed an argument parsing error for such tags.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 10:48:08 +00:00
Adrian Holovaty c1847294b8 Fixed #2301 -- Added list_display_links option to 'class Admin', which regulates which fields in the change list have links. Thanks, kilian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 04:16:26 +00:00
Russell Keith-Magee c431ade5f5 Refs #2217 -- Updated DB API docs to discuss filtering using objects rather than IDs. Second attempt - forgot to save before commit last time.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-09 03:53:11 +00:00
Russell Keith-Magee 88189399b1 Refs #2217 -- Updated DB API docs to discuss filtering using objects rather than IDs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-09 03:51:37 +00:00
Adrian Holovaty 2eb492ba60 Fixed django.utils.httpwrappers call in docs/outputting_pdf.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-08 14:14:28 +00:00
Adrian Holovaty 8daddd4fae Fixed #1977 -- Added clarification about TIME_ZONE setting.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 22:39:43 +00:00
Adrian Holovaty 1c3689ccd5 Fixed ReST error in docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 22:29:02 +00:00
Adrian Holovaty 5f33157f62 Fixed #2295 -- Improved docs/sessions.txt to note INSTALLED_APPS requirement.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 22:25:32 +00:00
Adrian Holovaty 49e5f5450d Fixed #2272 -- Improved SQLite database introspection. Thanks, dne@mayonnaise.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 04:06:00 +00:00
Adrian Holovaty 930929e2b9 Fixed small typo in docs/forms.txt. Thanks, Antonio Cavedoni
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-06 14:23:37 +00:00
Russell Keith-Magee b9d9351e85 Fixes #2202 -- Added ability to customize output of pluralize filter to handle irregular cases (walrus/walruses, cherry/cherries). Thanks to gid for the suggestion and the initial patch
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04 06:18:39 +00:00
Adrian Holovaty 37aeabe71f Proofread newest changes to docs/authentication.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-03 02:12:24 +00:00
Adrian Holovaty b3debd80ed Small cleanups to docs/authentication.txt, but still not properly reworded/proofread
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-02 15:24:49 +00:00
Adrian Holovaty e37bb07bc6 Fixed #2274 -- Fixed error in settings documentation. Thanks, Le Roux Bodenstein
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-01 03:31:14 +00:00
Adrian Holovaty bd6a758e5c Added note to docs/add_ons.txt about reading the source code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-01 03:25:48 +00:00
Adrian Holovaty 4a324ba7ac Added USE_I18N setting, which lets you turn off internationalization overhead with a single setting. Defaults to True. Currently only affects the admin i18n JavaScript, but I'll be adding other optimizations.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-01 03:09:14 +00:00
Jacob Kaplan-Moss c9032ab07f Added a JSON serializer, a few more tests, and a couple more lines of docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-29 16:42:49 +00:00
Adrian Holovaty 963d88a809 Added 'How do I add database-specific options to my CREATE TABLE statements, such as specifying MyISAM as the table type?' to faq.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-29 03:57:19 +00:00
Adrian Holovaty 07687c516e Fixed #2263 -- Fixed typo in docs/authentication.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-29 03:57:01 +00:00
Jacob Kaplan-Moss aab3a418ac Merged multi-auth branch to trunk. See the authentication docs for the ramifications of this change. Many, many thanks to Joseph Kocherhans for the hard work!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-28 16:37:02 +00:00
Jacob Kaplan-Moss 4ea7a11659 Added initial cut at serialization framework, along with some basic tests and a stab at some docs. This is all a bit rough right now, so expect some bumps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-28 16:00:37 +00:00
Jacob Kaplan-Moss 48562965b9 Added {{{Manager.create()}}} method to create and save an object in a single step.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-27 20:36:25 +00:00
Adrian Holovaty e923ed2a83 Fixed #2158 -- Added title_template and description_template hooks to Feed class in syndication framework.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 23:19:03 +00:00
Adrian Holovaty d2b952377c Added information about flup to docs/fastcgi.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 12:48:47 +00:00
Adrian Holovaty cb73fed1ac Added links to FastCGI docs from various places
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 12:43:21 +00:00
Adrian Holovaty b410464a00 Finished proofreading docs/fastcgi.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 12:30:29 +00:00
Malcolm Tredinnick 25ffce4c83 Fixed #2235 -- corrected a couple of typos pointed out by jvinet@zeroflux.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 03:02:42 +00:00
Adrian Holovaty 2211eddb36 More proofreading to docs/fastcgi.txt. Still not finished.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 01:18:56 +00:00
Adrian Holovaty d8acac975a Fixed typo in docs/request_response.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-22 04:56:35 +00:00
Jacob Kaplan-Moss a490d6b4f6 Fixed a few small rst errors in request/response and fastcgi docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21 23:06:24 +00:00
Adrian Holovaty a159f660fe Reverted [3184]. There's no such thing as models.PasswordField.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21 14:42:52 +00:00
Malcolm Tredinnick 239adf83d3 Fixed #2053 -- added an optional comparison argument to the "timesince" filter.
Added a "timeuntil" filter that works analogously. Thanks, john@sneeu.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21 06:56:08 +00:00
Malcolm Tredinnick c4fa8a158a Fixed #2071 -- documented the PasswordField (including cavaets). Thanks to
asmodai for the initial patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21 04:49:12 +00:00
Adrian Holovaty 76448d0c4b Added draft of docs/fastcgi.txt. Haven't finished editing this yet.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 05:25:02 +00:00
Adrian Holovaty 136752ca9a Added 'method' attribute to HttpRequest objects
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 03:48:31 +00:00
Adrian Holovaty b10149b08a Fixed ReST error in [3158]. I think.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 02:57:19 +00:00
Adrian Holovaty 5bd6b322a9 Added 'Why is Django leaking memory?' to docs/faq.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 02:52:15 +00:00
Malcolm Tredinnick 214d88ce86 Fixed #1646 -- Added HttpResponseNotAllowed, as suggested by Ian Holsman.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19 02:04:37 +00:00
Malcolm Tredinnick a93b1f7ac3 Fixed #1473 -- Added support for categories back into syndication feeds
(was accidently removed in r1994). Thanks, k.shaposhnikov@gmail.com


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19 01:38:06 +00:00
Adrian Holovaty c256dcd04b Fixed #2176 -- Fixed typo in docs/db-api.txt. Thanks, simon@lieschke.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-18 17:33:02 +00:00
Adrian Holovaty b7d5bc6ecc Fixed #2173 -- Small tweaks to Windows mod_python question in docs/faq.txt. Thanks, paolo and asmodai
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-18 17:29:59 +00:00
Malcolm Tredinnick 75a8a32f86 Fixed #2181 -- allow '{' and '}' to be escaped via {% templatetag ... %}.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-18 04:12:55 +00:00
Malcolm Tredinnick 4540a85dda Fixed #2166 -- (take two!). Use "manage.py reset ..." to reset a model's
database tables, not the older piped combination that used to be required.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-17 02:32:50 +00:00
Malcolm Tredinnick cc56d65c6e Fixed #2166 - Use "manage.py dbshell" as the portable way to pipe commands to
the database. Thanks Paolo.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-16 13:37:26 +00:00
Malcolm Tredinnick ed1dcbf3e7 Fixed #2141 -- corrected indentation problems in a couple of the code fragments.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-14 03:34:52 +00:00
Malcolm Tredinnick 97fedcc031 Fixed #2143 -- Changed a few places where the pre-magic-removal-merge syntax
was still being used in the docs. Thanks to mssnlayam@yahoo.com for the patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-14 03:31:34 +00:00
Adrian Holovaty e5cd46d6d1 Fixed #2026 -- Added support for 'and' in template 'if' tags, added dozens of unit tests and updated docs. Thanks, ckknight
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08 03:33:21 +00:00
Adrian Holovaty 14c159d21d Fixed #2118 -- Fixed typos in docs/add_ons.txt. Thanks, donarb@nwlink.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08 03:03:19 +00:00
Adrian Holovaty 64ebd1da15 Added 'Is Django a content-management-system?' to the faq
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08 01:52:59 +00:00
Adrian Holovaty d028f891c9 Added section to docs/db-api.txt get_or_create() section about GET vs. POST
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 03:10:28 +00:00
Adrian Holovaty f3f002b161 Fixed #1697 and #2095 -- Made 'choices' parameter accept any iterable
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 02:46:08 +00:00
Adrian Holovaty 448becefdf Fixed #2096 -- Fixed small error in docs/templates_python.txt. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 02:38:37 +00:00
Adrian Holovaty b3a6348bc2 Added Manager.get_or_create()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 00:09:29 +00:00
Georg Bauer 7e88ec5271 fixed #2089: added language bidirectional support and updated the admin to use it. thanks meir@mksoft!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-06 15:22:53 +00:00
Adrian Holovaty 6dfea737f6 Made template names in django.contrib.auth.views passable as template_name argument to the view
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-06 05:16:05 +00:00
Wilson Miner afe55af1e7 Updated my URL in the FAQ doc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-05 16:28:09 +00:00
Adrian Holovaty b8fd9a44e5 Fixed #1684 -- Added apnumber template filter in django.contrib.humanize. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-04 01:03:48 +00:00
Adrian Holovaty fb537e177d Added django.contrib.humanize, a set of template tags for adding a 'human touch' to data. They're documented in add_ons.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-04 00:58:39 +00:00
Adrian Holovaty 168429d597 Fixed #593 -- Added 'search' DB-API lookup type, which does full-text index searches in MySQL
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-03 23:28:24 +00:00
Adrian Holovaty fc2a02f966 Fixed #2075 -- Added 'page' parameter to object_list generic view. Thanks, kanashii@kanashii.ca
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-03 22:06:48 +00:00
Adrian Holovaty 674773bb90 Cleaned up some small formatting in docs/authentication.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 18:06:41 +00:00
Adrian Holovaty b82ac716d0 Fixed #1638 -- Documented shortcomings of development server in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 05:40:31 +00:00
Adrian Holovaty c18dc3d759 Fixed #1870 -- Clarified (hopefully) the TEMPLATE_DIRS section of docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 05:06:36 +00:00
Adrian Holovaty 12254540c7 Fixed #1966 -- Documented list_per_page Admin option
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 04:54:28 +00:00
Adrian Holovaty ab2fb1634f Fixed #2062 -- Added YEAR_MONTH_FORMAT and MONTH_DAY_FORMAT settings, and added technical message IDs of the same names. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 04:20:32 +00:00
Adrian Holovaty 1717b94fc8 Fixed #2064 -- Added 'Falling back to raw SQL' section to docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 04:04:04 +00:00
Adrian Holovaty 26b61aa813 Fixed #395 -- Added SESSION_EXPIRE_AT_BROWSER_CLOSE setting, which regulates whether session framework should use browser-session-length cookies.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 22:25:06 +00:00
Adrian Holovaty a371eb3c90 Fixed #2057 -- Added explicit statement to auto_now and auto_now_add section in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:37:47 +00:00
Adrian Holovaty 1ffa1a9bc8 Fixed #2054 -- Added a bit of docs to the 'core' field docs in model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:35:44 +00:00
Adrian Holovaty 5077f9ceaf Fixed #697 -- Added make_object_list parameter to archive_year generic view. Thanks, jhf@hex.no
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:21:26 +00:00
Adrian Holovaty 9030236652 Fixed #2000 -- Added 'mimetype' parameter to generic views. Thanks, Ian Holsman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 15:08:06 +00:00
Adrian Holovaty a0de8b3b21 Fixed #2047 -- Typo in tutorial03.txt. Thanks, asmodai
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 14:29:11 +00:00
Adrian Holovaty 3c4e261931 Fixed #2046 -- Typo in tutorial03.txt. Thanks, asmodai
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 14:26:44 +00:00
Adrian Holovaty 6b1e7bddc1 Fixed typo in docs/tutorial02.txt. Thanks, Nick Fishman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 02:16:49 +00:00
Adrian Holovaty 2f513e0f0e Added support to django/contrib/auth/handlers/modpython.py for setting DJANGO_SETTINGS_MODULE via a PythonOption instead of SetEnv
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 02:09:07 +00:00
Adrian Holovaty be25b661b1 Fixed #1998 -- Changed double quotes to single quotes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 04:05:02 +00:00
Adrian Holovaty 14392b032d Made some edits to docs/templates_python.txt 'inclusion_tag' section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-25 05:29:27 +00:00
Malcolm Tredinnick b631a50250 Fixed #2001 -- corrected a couple of typos in the custom tag examples. Thanks
to topdeckmail@gmail.com.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@2978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-25 05:09:25 +00:00
Adrian Holovaty 9a4c39bb82 Fixed incorrect link in docs/sites.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-23 14:20:51 +00:00
Malcolm Tredinnick 8fbf9714c3 Changed an overlooked occurrence of repr() to str(). Pointed out by Jeremy
Dunck on the mailing list.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-23 01:34:06 +00:00
Adrian Holovaty f953c8afb6 Fixed ReST error in docs/sites.txt. I think.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 05:38:20 +00:00
Adrian Holovaty e3ac3bc074 Added small bit to docs/sites.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 05:22:58 +00:00
Adrian Holovaty 610cffe80e Added documentation for CurrentSiteManager to docs/sites.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2962 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 05:22:45 +00:00
Adrian Holovaty ddd37b20f1 Fixed funky formatting in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 05:04:40 +00:00
Adrian Holovaty e3839f32e5 Added docs/sites.txt -- documentation on the sites framework
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 04:48:44 +00:00
Adrian Holovaty cd54ba5696 Added the missing django.contrib applications to docs/add_ons.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 03:14:33 +00:00
Adrian Holovaty 0fc2a2c1a8 Added 'Overriding default model methods' section to model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 03:01:02 +00:00
Adrian Holovaty be57a7fd1a Fixed #849 -- Improved login_required view decorator to save query-string parameters. Also added documentation on the django.contrib.auth.views.login view to docs/authentication.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 02:46:55 +00:00
Adrian Holovaty 75df13278c Fixed #981 -- Documented backend-specific SQL files
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 02:24:32 +00:00
Adrian Holovaty 2c5e9fcf73 Fixed #1957 -- Added docs for 'version' to docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-21 20:20:47 +00:00
Malcolm Tredinnick 690f9ad8f0 Improved the advice on using QuerySets in extra_context based on feedback from
Luke Plant.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-21 12:44:58 +00:00
Malcolm Tredinnick 35869c53ef Documented that CommonMiddleware will not append a slash to URLs containing a
period in the last component.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-20 03:35:25 +00:00
Adrian Holovaty d5c9e19403 Small cleanups to docs/model-api.txt and docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-19 05:07:33 +00:00
Malcolm Tredinnick 87709d3fa5 Fixed #1886 -- documented the syncdb option.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-19 04:12:16 +00:00
Malcolm Tredinnick 8632f8ac4a Documented that the development server does not, by default handle static
files. Included a pointer to the relevant document for changing that.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-19 03:47:59 +00:00
Malcolm Tredinnick 21dd8e272b Fixed #981 -- documented the SQL initial data insert files.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-19 03:37:50 +00:00
Malcolm Tredinnick 026d8c6f08 Documented the simple_tag and inclusion_tag functions that make writing certain
types of template tags easier.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-19 02:02:34 +00:00
Malcolm Tredinnick ce6f058bbb Fixed #1724 -- updated the output from the shell commands to match what we now
produce.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-18 12:41:24 +00:00
Malcolm Tredinnick 390231d406 Clarified (hopefully) how to use the default settings override in configure().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-17 06:57:22 +00:00
Malcolm Tredinnick eb707d8c43 Clarified how extra_context values are evaluated and, in particular, how to
pass in a "live" QuerySet. Thanks to Jay Parlar for pointing out the potential
for confusion.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-17 04:01:00 +00:00
Malcolm Tredinnick 93201c89b4 Changed the link the "official tarball" to refer to the 0.91 release and added
a warning about the development version being preferred. Thanks to Todd O'Bryan
for pointing out the misinformation.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-17 02:39:52 +00:00
Adrian Holovaty c643e12faf Fixed #1321 -- Made DJANGO_SETTINGS_MODULE optional. You can now call django.conf.settings.configure() to set settings manually if you don't have a settings module. Thanks, Malcolm Tredinnick, Luke Plant, Fredrik Lundh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 21:28:06 +00:00
Adrian Holovaty 27612d8b7d Fixed #1833 -- Fixed some errors in tutorials. Thanks, quarkcool@yahoo.fr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 20:45:20 +00:00
Malcolm Tredinnick 34b798cb42 Fixed #1815: More documentation proof-reading from nico@teknico.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-15 11:33:17 +00:00
Malcolm Tredinnick d16215f6df Fixed #1880 - typo in caching documentation. Thanks to Matthew Flanagan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-15 11:28:37 +00:00
Jacob Kaplan-Moss aa11b3ea50 Fixed #1235: email sent from {{{django.core.mail}}} will now be encoded using
the value of the {{{DEFAULT_CHARSET}}} setting. Thanks, igor@goryachev.org and akaihola.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-13 17:18:42 +00:00
Adrian Holovaty 887131c749 Fixed bugs in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 21:32:56 +00:00
Adrian Holovaty 6341b43dfb Fixed #1811 -- Fixed inconsistencies in docs/overview.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 15:31:03 +00:00
Adrian Holovaty 4b69ef637a Fixed #1815 -- Fixed ReST errors in docs. Thanks, nico@teknico.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 15:21:28 +00:00
Luke Plant 8eecb95ec8 Added CsrfMiddleware to contrib, and documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2868 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-08 23:03:08 +00:00
Adrian Holovaty f0141f1c1c Fixed #1811 -- Fixed some inconsistencies in docs/overview.txt. Thanks, quarkcool@yahoo.fr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-08 21:59:37 +00:00
Adrian Holovaty 8e441e9c5a Made small clarification to docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-08 20:39:52 +00:00
Adrian Holovaty be0032f5ba Removed section in docs/model-api.txt about connection.commit(), which no longer exists
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 23:16:43 +00:00
Luke Plant 3c72a46f62 Updated docs regarding QuerySet slicing and IndexError, in line with r2859
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 22:55:30 +00:00
Adrian Holovaty 862328a98f Simplified example in 'Limiting QuerySets' section of docs/db-api.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 03:44:14 +00:00
Adrian Holovaty 4bc4aa2fa6 Fixed #1779 -- Fixed typo in docs/db-api.txt. Thanks, bde3@cornell.edu
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 03:32:01 +00:00
Adrian Holovaty 0c31254376 Small tweaks to docs/tutorial01.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 03:31:26 +00:00
Luke Plant f57e34e990 Fixed #1579 - added support for 'Q' objects in limit_choices_to.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 00:26:24 +00:00
Adrian Holovaty 3f932e31dc Fixed #1773 -- Fixed indentation error in docs/model-api.txt. Thanks, pb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 18:31:16 +00:00
Adrian Holovaty 87416a9c3c Fixed #1216 -- Noted in docs/contributing.txt 'Unit tests' section that the user needs permission to create a database
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 04:27:16 +00:00
Adrian Holovaty f94f0555bc Fixed #1726 -- Made django/contrib/auth/create_superuser.py a command-line function, and added docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:08:29 +00:00
Adrian Holovaty adf6126c81 Fixed #1731 -- Added note to docs/model-api.txt about location of model repository. Thanks, Malcolm
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 02:57:19 +00:00
Adrian Holovaty 00ea535d94 Fixed #1733 -- Clarified docs/db-api.txt section on slicing QuerySets. Thanks, Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 02:56:15 +00:00
Adrian Holovaty 9a0873f77a Fixed #1742 -- Fixed ReST errors in docs/db-api.txt. Thanks, pb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 02:45:13 +00:00
Adrian Holovaty a8ccdd0fcd Finished proofreading docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 01:56:29 +00:00
Adrian Holovaty a79cbb5fe8 Fixed #1765 -- Fixed bug in docs/tutorial01.txt. Thanks, nick@efford.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 19:35:30 +00:00
Adrian Holovaty 223a708278 Added note to docs/contributing.txt about nobody responding on django-developers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 14:17:56 +00:00
Adrian Holovaty 08fc16705f Proofread some of docs/model-api.txt. Still not done with this one.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 04:59:45 +00:00
Adrian Holovaty c6750acfe3 Removed 'Your first page' section from docs/tutorial01.txt in the interim before the doc is proofread.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 02:45:00 +00:00
Adrian Holovaty 332726981f Changed docs/faq.txt MVC question to use clearer argument made in Jacob's Google presentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 21:21:25 +00:00
Adrian Holovaty fc7b5fa0ae Fixed typos in docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 20:01:11 +00:00
Adrian Holovaty 3ec68658ec Temporarily changed 'blog' to 'poll' in tutorial01 to avoid confusion
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 13:50:32 +00:00
Adrian Holovaty 227d48af1c Proofread docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 06:22:08 +00:00
Adrian Holovaty c62a014049 Fixed #1747 -- Fixed error in docs/model-api.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 04:19:59 +00:00