Commit Graph

834 Commits

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