Commit Graph

176 Commits

Author SHA1 Message Date
Russell Keith-Magee d3ba8cb88b Fixed #13316 -- Modified the default behavior of PasswordInput to prevent reflecting passwords on form failure. Thanks to clouserw for the report.
Although this changes nothing at a functional level, this is BACKWARDS INCOMPATIBLE from a UX perspective for anyone that wants passwords to be reflected to the user on form failure. See the 1.3 release notes for details.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-06 14:25:58 +00:00
Russell Keith-Magee 2f2018e04d Added skeleton 1.3 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21 12:19:32 +00:00
Russell Keith-Magee ab908685fb Fixed #13739 -- Updated release notes to make a note of the changes to Field.db_type.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-11 01:37:10 +00:00
Karen Tracey 6b2fd346ad Fixed #13566, a typo in the 1.2 release notes. Thanks johnthedebs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-19 12:35:02 +00:00
Jacob Kaplan-Moss 97560f3a07 Fixed a couple of typos in the release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 22:28:44 +00:00
James Bennett 9444c8dd1d Add in the section on Python 2.3 compatibility.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 17:57:07 +00:00
James Bennett c40b131ed5 A final *final* clarification in the release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 16:48:32 +00:00
James Bennett d88d0ec336 Some final clarifications in the release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 16:47:16 +00:00
Jacob Kaplan-Moss acd8dcd5b0 Some heavy refactoring to the 1.2 release notes.
Don't bury the lede, folks!

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 16:32:29 +00:00
Jannis Leidel 06ab9eeaf5 Added notes about the two new date format specifiers (``c`` and ``u``) added in 1.2. Thanks for the patch, Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-16 20:48:19 +00:00
Russell Keith-Magee 626d2e7243 Removed the 'under development' marker from the 1.1.2 release notes; a little too late, but better than never.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-14 11:42:59 +00:00
Russell Keith-Magee bca6a7f6c0 Minor fixes to 1.2 release docs. Thanks to Ramiro Morales for noticing the version number problem.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-14 11:41:15 +00:00
Russell Keith-Magee 9900917d79 Fixed #13540 -- Corrected typo in 1.2 release docs. Thanks to erw for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-14 11:27:00 +00:00
James Bennett 23decc4b86 Update 1.2 release notes in anticipation of final release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-14 06:51:42 +00:00
Karen Tracey 8e7d2d2e68 Fixed #13530: Corrected a handful of doc typos. Thanks Ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12 22:53:23 +00:00
Russell Keith-Magee d0d3e6792d Fixed #13524 -- Added backwards compatibility and feature notes regarding admin inlines and formsets. Thanks to Ramiro Morales and Gabriel Hurley.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12 11:56:42 +00:00
Russell Keith-Magee e9d5ccb9eb Added 1.2 RC1 docs to the releases index.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-08 07:29:57 +00:00
James Bennett f419c9b6e2 Mention that we will be updating docs between now and final.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-06 04:22:05 +00:00
James Bennett 77dd5beda7 Draft 1.2 RC release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-06 04:09:13 +00:00
Justin Bronn c772ea2055 Typo fixes and small clarification.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04 23:34:17 +00:00
Justin Bronn 402f8cede5 Fixed #13315, #13430 -- Recreated `django.contrib.gis.db.backend` module with `SpatialBackend` alias and added `Adaptor` alias for backwards-compatibility purposes; added GeoDjango 1.2 backwards-incompatibility documentation and release notes; added a section in the docs about how MySQL is a crippled spatial database; updated versions in install docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04 21:43:40 +00:00
Russell Keith-Magee b26aa18c5c Fixed #13444 -- Improved the documentation around the backwards compatibility quirks of the cycle and include tags. Thanks to awmcclain for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-01 14:27:10 +00:00
Jannis Leidel 77c13844ae Fixed #11068 - Introduced new language code "nb" for Norwegian Bokmål as a replacement of the current "no".
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-29 14:36:09 +00:00
Malcolm Tredinnick 70037f80ac Updated syndication framework porting notes.
This is based on some experience porting older code and trying to work
out why my feed content was empty.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-10 03:12:48 +00:00
Malcolm Tredinnick ff2d0ebdb8 Fixed three small doc markup errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-10 00:58:05 +00:00
Luke Plant 960af90279 Fixed #13058 - "smart if" template tag doesn't support "if not in ..." condition
Thanks to ramusus for the report.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@12732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08 23:25:37 +00:00
Joseph Kocherhans fa6c967438 Fixed #12896. Documented the new side-effects of ModelForm validation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-06 19:51:29 +00:00
Jacob Kaplan-Moss c8015052d9 Fixed #5786: relaxed the validation for usernames to allow more common characters '@', etc.
This is really just a stop-gap until we come up with a improved way of handling
disparate auth data, but it should help us stretch a bit more milage out of the
current system.

Thanks to alextreme, lbruno, and clayg.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-01 19:49:05 +00:00
Joseph Kocherhans 16fe73d918 Fixed #7190. Boolean fields now return bool values instead of 1 or 0. Thanks, Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24 17:36:18 +00:00
Russell Keith-Magee df5e1f7860 Fixed #12925 -- Corrected typo in v1.1 release notes. Thanks to aruseni for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23 13:19:24 +00:00
Russell Keith-Magee 156cdcf92d Fixed #12912 -- Placed the psycopg1-backed ``postgresql`` database backend on the deprecation path.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23 12:24:41 +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 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 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
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
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
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
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 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
Joseph Kocherhans 418bfa2819 Fixed #12516. Added the new location of email_re to the release notes. This regex is undocumented, so we're not putting in an import for backwards compatibility.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-12 14:58:47 +00:00
Luke Plant d83769f8dc Documented the backwards incompatibility caused by `in` being a new keyword in the `if` template tag.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-12 13:14:32 +00:00
Adrian Holovaty 50bfa46c39 Edited docs/releases/1.2.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-09 17:55:28 +00:00
Russell Keith-Magee 47147071fe Corrected some referencing problems in the docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-07 11:38:14 +00:00
Russell Keith-Magee 1d18f324f1 Corrected yet another BACKEND/ENGINE error in the docs, this time in the release notes. Thanks to Jeff Croft for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-06 08:16:07 +00:00
James Bennett a81feaee4f Move database settings changes into deprecated rather than backwards-incompatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-06 06:00:30 +00:00
James Bennett 4b0e080462 Add 1.2 alpha release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-06 05:54:52 +00:00
James Bennett 24b631d33f Add note about model validation to draft 1.2 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-06 05:41:05 +00:00
Russell Keith-Magee e07560a88e Modified the way EMAIL_BACKEND is specified to make it consistent with the new "use the class name" policy for backends.
This is a BACKWARDS-INCOMPATIBLE CHANGE for anyone using a manually
specified EMAIL_BACKEND setting. If you have manually specified
EMAIL_BACKEND, you will need to append ".EmailBackend" to your
existing EMAIL_BACKEND setting. See the django-dev mailing list for
details.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-04 12:05:04 +00:00
Gary Wilson Jr 28d2d3e705 Added backwards incompatibility note to 1.1.2 release notes for the change in test runner exit status codes (refs #11615).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-03 19:02:55 +00:00
Gary Wilson Jr 5dd6bbd2cf Fixed #11615 -- Changed test runners to use an exit status code of 1 for any number of failed tests. The previous behavior of using an exit status code equal to the number of failed tests produced incorrect exit status codes when the number of test failures was 256 or greater. Thanks to lamby for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-03 18:52:25 +00:00
Karen Tracey 9a55432213 Fixed #12364: Added graceful exit from a test run when Ctrl-C is pressed. Thanks Randy Barlow.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-31 18:48:28 +00:00
Russell Keith-Magee c38d66a216 Fixed #12112 -- Made the colors used by syntax highlighting customizable.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-28 06:48:47 +00:00
Gary Wilson Jr adb74a8f2e Fixed several broken and redirecting URLs in the documentation (fixes #12219, refs #12427).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26 06:37:26 +00:00
Gary Wilson Jr 39122c841f Fixed #12205 -- Corrected malformed reference links in the 1.1 and 1.1-alpha release notes, and corrected position of field lookup reference label. Thanks velmont and timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26 00:55:06 +00:00
Brian Rosner bcd9482a20 Fixed #342 -- added readonly_fields to ModelAdmin. Thanks Alex Gaynor for bootstrapping the patch.
ModelAdmin has been given a readonly_fields that allow field and calculated
values to be displayed alongside editable fields. This works on model
add/change pages and inlines.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 18:29:00 +00:00
Jannis Leidel 9233d04265 Fixed #7980 - Improved i18n framework to support locale aware formatting (dates and numbers) and form processing.
Thanks to Marc Garcia for working on this during his Google Summer of Code 2009!

Additionally fixes #1061, #2203, #3940, #5526, #6449, #6231, #6693, #6783, #9366 and #10891.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 17:58:49 +00:00
Karen Tracey 51602128a5 Fixed markup for 1.2 release notes added in r11943, I think.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 17:16:28 +00:00
Russell Keith-Magee ff60c5f9de Fixed #1142 -- Added multiple database support.
This monster of a patch is the result of Alex Gaynor's 2009 Google Summer of Code project.
Congratulations to Alex for a job well done.

Big thanks also go to:
 * Justin Bronn for keeping GIS in line with the changes,
 * Karen Tracey and Jani Tiainen for their help testing Oracle support
 * Brett Hoerner, Jon Loyens, and Craig Kimmerer for their feedback.
 * Malcolm Treddinick for his guidance during the GSoC submission process.
 * Simon Willison for driving the original design process
 * Cal Henderson for complaining about ponies he wanted.

... and everyone else too numerous to mention that helped to bring this feature into fruition.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 15:18:51 +00:00
Karen Tracey 7ef212af14 Added mention of the big integer field and failfast test option to the 1.2 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 13:41:51 +00:00
Russell Keith-Magee 35cc439228 Fixed #7052 -- Added support for natural keys in serialization.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-14 12:39:20 +00:00
Russell Keith-Magee 44b9076bbe Fixed #6262 -- Added a cached template loader, and modified existing template loaders and tag to be cacheable. Thanks to Mike Malone for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-14 12:08:23 +00:00
Luke Plant 2c2f5aee4d Implemented 'smart if' template tag, allowing filters and various operators to be used in the 'if' tag
Thanks to Chris Beaven for the initial patch, Fredrik Lundh for the basis
of the parser methodology and Russell Keith-Magee for code reviews.

There are some BACKWARDS INCOMPATIBILITIES in rare cases - in particular, if
you were using the keywords 'and', 'or' or 'not' as variable names within
the 'if' expression, which was previously allowed in some cases.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-09 22:40:36 +00:00
Luke Plant 25020ddb05 Fixed #4604 - Configurable message passing system, supporting anonymous users
This deprecates User.message_set in favour of a configurable messaging
system, with backends provided for cookie storage, session storage and
backward compatibility.

Many thanks to Tobias McNulty for the bulk of the work here, with
contributions from Chris Beaven (SmileyChris) and lots of code review from
Russell Keith-Magee, and input from many others.  Also credit to the authors
of various messaging systems for Django whose ideas may have been pinched
:-)



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-09 16:57:23 +00:00
Russell Keith-Magee 78ad0a61a9 Expanded on the SMTPConnection deprecation notes, and made the deprecation a PendingDeprecationWarning as per the deprecation guidelines.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-03 14:58:58 +00:00
Luke Plant 2552599800 Corrected spelling of e-mail (according to our standard).
Also fixed an incorrect link in release notes.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-03 14:55:28 +00:00
Luke Plant 20c7e646ff Added notes to "Features deprecated in 1.2" about CSRF and SMTPConnection
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-03 14:48:47 +00:00
Russell Keith-Magee cf169d9e12 Cleaned up the release notes index page, and added some stub 1.1.2 and 1.2 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-23 13:44:24 +00:00
Luke Plant 04f869a80c Fixed #12198 - CSRF changes not clearly noted in docs.
The docs no longer unhelpfully point to BackwardsIncompatibleChanges,
and instead a section has been added to help those upgrading and
those following trunk.  Tentative 1.2 release notes added.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-14 19:13:33 +00:00
Luke Plant f00ad4168e Added explicit notes about the need to update any customised templates for contrib apps for CSRF changes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-27 12:11:56 +00:00
Luke Plant 7230a995ce Moved contrib.csrf.* to core code.
There is stub code for backwards compatiblity with Django 1.1 imports.

The documentation has been updated, but has been left in
docs/contrib/csrf.txt for now, in order to avoid dead links to
documentation on the website.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-27 00:36:34 +00:00
Luke Plant 8e70cef9b6 Fixed #9977 - CsrfMiddleware gets template tag added, session dependency removed, and turned on by default.
This is a large change to CSRF protection for Django.  It includes:

 * removing the dependency on the session framework.
 * deprecating CsrfResponseMiddleware, and replacing with a core template tag.
 * turning on CSRF protection by default by adding CsrfViewMiddleware to
   the default value of MIDDLEWARE_CLASSES.
 * protecting all contrib apps (whatever is in settings.py)
   using a decorator.

For existing users of the CSRF functionality, it should be a seamless update,
but please note that it includes DEPRECATION of features in Django 1.1,
and there are upgrade steps which are detailed in the docs.

Many thanks to 'Glenn' and 'bthomas', who did a lot of the thinking and work
on the patch, and to lots of other people including Simon Willison and
Russell Keith-Magee who refined the ideas.

Details of the rationale for these changes is found here:

http://code.djangoproject.com/wiki/CsrfProtection

As of this commit, the CSRF code is mainly in 'contrib'.  The code will be
moved to core in a separate commit, to make the changeset as readable as
possible.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-26 23:23:07 +00:00
Luke Plant c6e8e5d9f0 Fixed non-standard introspection support in LazyObject.
LazyObject called a public method ``get_all_members`` on wrapped objects in
order to allow introspection.  This could easily cause name clashes with
existing methods on wrapped objects, and so has been changed to use the
standard methods.  This could be slightly backwards-incompatible, in obscure
cases, if the undocumented LazyObject has been used externally.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11636 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-19 21:48:06 +00:00
Russell Keith-Magee b8b9411ffc Fixed #11659 -- Corrected a minor typo in the v1.1 release notes. Thanks to agabel for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-12 22:52:25 +00:00
James Bennett 542c33eec8 Add release date to 1.1 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-29 05:52:06 +00:00
Jacob Kaplan-Moss 91f18400cc Added 1.1 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-29 05:31:00 +00:00
Russell Keith-Magee 6644ef72c8 Fixed #11519 -- Corrected minor typo in release notes index.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-27 01:52:23 +00:00
James Bennett 84d86c07e0 Clarify the description of URL namespacing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-22 01:41:16 +00:00
James Bennett d33386c584 Add draft release notes for 1.1 RC 1.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-22 01:26:47 +00:00
Russell Keith-Magee b9d1757840 Fixed #11119 -- Corrected spelling error in 1.0 porting guide.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:35:36 +00:00
Jacob Kaplan-Moss c6c25adf6d Fixed a whole bunch of small docs typos, errors, and ommissions.
Fixes #8358, #8396, #8724, #9043, #9128, #9247, #9267, #9267, #9375, #9409, #9414, #9416, #9446, #9454, #9464, #9503, #9518, #9533, #9657, #9658, #9683, #9733, #9771, #9835, #9836, #9837, #9897, #9906, #9912, #9945, #9986, #9992, #10055, #10084, #10091, #10145, #10245, #10257, #10309, #10358, #10359, #10424, #10426, #10508, #10531, #10551, #10635, #10637, #10656, #10658, #10690, #10699, #19528.

Thanks to all the respective authors of those tickets.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-03 18:30:54 +00:00
Gary Wilson Jr b4f5655c86 Fixed #10553 -- Corrected several uses of `URLconf` in documentation and comments, according to the Django style guide. Based on patch from rduffield.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 16:07:07 +00:00
Jacob Kaplan-Moss 4246c832b6 Added 1.1 beta release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23 23:25:03 +00:00
Luke Plant 4e2533436e Removed erroneous changes to 1.1 alpha 1 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23 16:37:25 +00:00
Luke Plant 2d28724730 Added CSRF middleware to default settings and updated docs.
Updated docs to reflect the change, and the fact that using the
two separate middleware is preferred to using the combined one.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@10094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-19 23:14:20 +00:00
Jacob Kaplan-Moss 28605a9c26 Whitespace fix to [9896].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-24 02:31:09 +00:00
Jacob Kaplan-Moss 17bb750b08 Cleaned up some reST errors in the 1.1 alpha release notes, and made a few minor edits.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-24 02:21:09 +00:00
James Bennett f3a95d2d14 Add 1.1 alpha 1 release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-24 01:42:45 +00:00
Karen Tracey b197fa7ece Fixed #10152 -- Fixed typo in porting guide. Thanks eagle-eyed anonymous.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-29 20:21:43 +00:00
Malcolm Tredinnick d1102d63e6 Fixed #9677 -- Fixed a tiny typo in the 1.0.2 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:54:45 +00:00