Commit Graph

929 Commits

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