Commit Graph

2787 Commits

Author SHA1 Message Date
Jannis Leidel 0d4726f518 Fixed #11714 - Document a few of the i18n function that can be used outside views and templates. Thanks, Jarek Zgoda and Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:44:05 +00:00
Jannis Leidel 8d8237fa41 Fixed #12275 - Small fix in Sphinx templates.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:41:05 +00:00
Jannis Leidel 67d4289c2e Fixed #12066 - Moved auth context processor from core to the auth app. Thanks, Rob Hudson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:40:47 +00:00
Jannis Leidel 1559f64549 Fixed #12795 - Updated the middleware docs to include the messages app middleware. Thanks, Timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:40:03 +00:00
Jannis Leidel 579e8573c8 Fixed #12620 - Refer to better fieldname in defer docs. Thanks, dwillis.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:39:08 +00:00
Jannis Leidel ca9f0879fe Fixed #12604 - Typo in 1.1 release docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:38:50 +00:00
Jannis Leidel 373be1ec1f Fixed #12877 - Typo in settings docs. Thanks Timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:38:11 +00:00
Jannis Leidel 421f0195c1 Fixed #12887 - Fixed typo in release docs. Thanks blueyed.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:37:54 +00:00
Jannis Leidel b2c43df84f Fixed #12895 - Fixed typo in auth docs. Thanks Timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:37:35 +00:00
Jannis Leidel 0d37cfdc05 Fixed #12897 - Typo in multi-db docs. Thanks fgutierrez.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:37:19 +00:00
Jannis Leidel eb26c9686b Fixed #7050 - Allow the makemessages command to optionally ignore paths when examining source code and templates for translation strings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-16 12:15:04 +00:00
Jannis Leidel fef575a7f9 Fixed #6380 - Follow symlinks when examining source code and templates for translation strings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-16 12:14:27 +00:00
Jannis Leidel f93f056c32 Fixed #10260 - Refactored internationalization documentation. Thanks, Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-16 12:12:53 +00:00
Jacob Kaplan-Moss db0209e2b2 Fixed #12798: fixed a typo in the 1.2 release notes. Thanks, Andrew Badr.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-14 18:43:47 +00:00
Jacob Kaplan-Moss 3d84904794 Fixed #12840: mark natural key serialization in the docs as new in 1.2. Thanks, ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-14 18:39:42 +00:00
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