Commit Graph

2772 Commits

Author SHA1 Message Date
Luke Plant be57541af1 Fixed #12839 - noted change of import path for csrf_exempt decorator
Thanks rubic for the report.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@12407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-10 23:51:09 +00:00
Luke Plant 4682d693c4 Fixed #12829 - typos introduced in [12400]
Thanks Alex.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@12401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-09 20:05:52 +00:00
Luke Plant eaee55e547 Removed docs that assume developer might be using Python < 2.4
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-09 19:37:08 +00:00
Luke Plant 4bff194633 Fixed #12804 - regression with decorating admin views.
This is a BACKWARDS INCOMPATIBLE change, because it removes the flawed
'auto_adapt_to_methods' decorator, and replaces it with 'method_decorator'
which must be applied manually when necessary, as described in the 1.2
release notes.

For users of 1.1 and 1.0, this affects the decorators:

 * login_required
 * permission_required
 * user_passes_test

For those following trunk, this also affects:

 * csrf_protect
 * anything created with decorator_from_middleware 

If a decorator does not depend on the signature of the function it is
supposed to decorate (for example if it only does post-processing of the
result), it will not be affected.
 



git-svn-id: http://code.djangoproject.com/svn/django/trunk@12399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-09 15:02:39 +00:00
James Bennett d334713ea2 Clarify number of deprecations in the beta release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-06 20:48:55 +00:00
James Bennett 8c43d2e32a Couple final tweaks to the release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-06 05:48:03 +00:00
James Bennett 8c50f9de6a Fix reST error in release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-06 05:32:46 +00:00
James Bennett d4c034d0e1 Add 1.2 beta release notes to release notes index.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12391 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-06 05:25:50 +00:00
James Bennett f30f1514f3 Reorganize the beta release notes a bit and trim down the section on feeds.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12390 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-06 05:19:15 +00:00
James Bennett 2638c90ce2 Clarify object-level permissions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12389 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-06 03:57:02 +00:00
James Bennett 7f975df129 Initial draft of 1.2 beta release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12388 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-06 03:37:50 +00:00
James Bennett 091a631601 Fixed #12797: Corrected typo in the documentation for the changepassword management command.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-06 03:14:47 +00:00
Jannis Leidel a0bae6ebb8 Updated formset docs to contain the new management form field for max_num values.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-01 14:19:30 +00:00
Russell Keith-Magee 84599495a0 Fixed #6364 -- Added the ability to run individual doctests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-01 13:00:00 +00:00
James Bennett e0dd8a930b Fixed #12745: The maxlength -> max_length change happened in 2007, we can probably stop mentioning it in the tutorial now.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-01 11:53:14 +00:00
Russell Keith-Magee 47acb1d659 Fixed #6273 -- Added a 'changepassword' management command. Thanks to Ludvig Ericson and Justin Lilly for their work on this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-29 08:10:29 +00:00
Ian Kelly 1e64f57683 Fixed #4140: Documented the ORA-06552 error that can occur when a keyword is used as a field name in the Oracle notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 22:12:18 +00:00
Russell Keith-Magee c4c27d8a04 Fixed #6188, #6304, #6618, #6969, #8758, #8989, #10334, #11069, #11973 and #12403 -- Modified the syndication framework to use class-based views. Thanks to Ben Firshman for his work on this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 13:46:18 +00:00
Russell Keith-Magee 7856a759d0 Fixed #12715 -- Clarified the docs on the usage of database routers, especially regarding the default routing scheme. Thanks to Chris Curvey for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12335 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 03:04:24 +00:00
Luke Plant 8daec78cfd Fixed #12557 - AnonymousUser should check auth backends for permissions
Thanks to hvdklauw for the idea and work on the patch.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@12316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 01:47:23 +00:00
Luke Plant 3f50119868 Added some release notes for the object permissions foundation (added in r11807)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 01:26:19 +00:00
Russell Keith-Magee 58cd220f51 Fixed #7270 -- Added the ability to follow reverse OneToOneFields in select_related(). Thanks to George Vilches, Ben Davis, and Alex Gaynor for their work on various stages of this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-27 13:30:29 +00:00
Russell Keith-Magee 8e8d4b5888 Fixed #12671 -- Added set_many(), get_many(), and clear() methods to the cache backend interface. Thanks to Jeff Balogh for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-27 08:21:35 +00:00
Russell Keith-Magee c8873bbba7 Made the database master router tolerant of router definitions that omit individual routing methods.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-27 07:56:53 +00:00
Jannis Leidel c14937cf7a Fixed #12508 - Added ability to dynamically add inlines in the admin app.
Refs #13. Also introduces an ``empty_form`` attribute on formsets to make it easier to implement dynamic forms.

Many thanks to Zain Memon for the initial patch from his Summer of Code 2009 project, Stanislaus Madueke for his django-dynamic-formset app and all the other people helping out.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-26 15:02:53 +00:00
Jannis Leidel df82175c17 Fixed #12673 - Require a version of GNU gettext of 0.1.5 and above.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-26 15:01:58 +00:00
Russell Keith-Magee 89f81810ed Removed some stray content from the multi-db docs. Thanks to Yuri Baburov for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-25 12:29:56 +00:00
Russell Keith-Magee 14116bc53e Fixed #12672 -- Added the ability to configure which applications are available on which database.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-25 12:23:30 +00:00
Russell Keith-Magee 6755a039eb Fixed #12542 -- Added the TEST_MIRROR setting, allowing testing of read slave databases.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-25 12:05:38 +00:00
Luke Plant 739d5aec0f Synced 1.2 release notes with 1.1.2 release notes w.r.t. cookie encoding, for consistency.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-24 00:10:30 +00:00
Luke Plant 7f944a2b68 Documented backwards incompatibility in 1.1.X branch introduced in r12283
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-23 23:38:36 +00:00
Luke Plant 088f717077 Fixed #12470 - django.contrib.messages CookieStorage failing silently in safari when comma is used in message
This issue was fixed by changing the underlying cookie storage mechanism.

This will fix other bugs with cookies for Internet Explorer and Safari, but
could also cause backwards incompatibilities with existing javascript that
may parse cookie values that contain commas or semi-colons, and, very
rarely, with existing cookie values.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@12282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-23 23:13:00 +00:00
Russell Keith-Magee e71b10efb7 Added color configuration for HTTP 304, since it doesn't require as much attention as other 3XX codes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-23 17:26:56 +00:00
Russell Keith-Magee dbad025637 Fixed #12668 -- Corrected some typos in the multi-db docs. Thanks to mattimustang for the eagle eyes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-23 04:32:34 +00:00
Russell Keith-Magee 7ca9d9306c Fixed #10314 -- Added a message prefix argument to Django's test assertions. Thanks to Wes Winham for the original suggestion, and Chistian Oudard for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-22 15:02:02 +00:00
Russell Keith-Magee 1b3dc8ad9a Fixed #12540, #12541 -- Added database routers, allowing for configurable database use behavior in a multi-db setup, and improved error checking for cross-database joins.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-22 14:30:06 +00:00
Russell Keith-Magee e2d094b8fb Fixed #12640 -- Corrected a regression in test suite construction order introduced by #12255. Also updated the docs to reflect what the test code has always done. Thanks to Ramiro Morales for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-19 01:14:02 +00:00
Russell Keith-Magee 9aba6f807e Fixed #12638 -- Minor documentation cleanups around the new class-based test runners. Thanks to Ramiro Morales for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-18 23:53:08 +00:00
Russell Keith-Magee be26f1ace4 Updated the docs around test runners to encourage the use of **kwargs in the test runner constructor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-18 23:49:20 +00:00
Luke Plant 58440c0b66 Fixed typo in docs - supports_objects_permissions should be supports_object_permissions
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-18 20:51:29 +00:00
Russell Keith-Magee 53b61d9c02 Fixed #12624 -- Modified test runners to be class based.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-18 15:11:01 +00:00
Karen Tracey 34e420184c Fixed bad indentation in contenttypes code example so that cut and paste from doc will work.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-18 13:00:22 +00:00
Jannis Leidel d033dfd894 Added a few more versionadded directives to the documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 22:29:50 +00:00
Jannis Leidel 2187fa3ea4 Added versionchanged directive to docs introduced in r12139.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 22:29:30 +00:00
Luke Plant 2e9518bb39 Created a 'DB optimization' topic, with cross-refs to relevant sections.
Also fixed #10291, which was related, and cleaned up some inconsistent doc labels.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@12229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-16 03:13:16 +00:00
Russell Keith-Magee 0ca28f3926 Fixed #12603 -- Corrected typo in m2m signals docs. Thanks to hvdklauw for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-13 23:54:07 +00:00
Russell Keith-Magee 6afd505b5b Fixed #5390 -- Added signals for m2m operations. Thanks to the many people (including, most recently, rvdrijst and frans) that have contributed to this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-13 11:07:16 +00:00
Jannis Leidel f56f6e9405 Fixed #9326 - Use decorator syntax in get_absolute_url example. Thanks, timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-12 23:37:07 +00:00
Jannis Leidel 9614b0190f Fixed #11794 - Typo in model manager documentation. Thanks, timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-12 23:36:43 +00:00
Jannis Leidel e752d4984a Fixed #12496 - Added code examples to built-in filter documentation. Thanks, Arthur Koziel.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-12 23:36:19 +00:00