Commit Graph

3608 Commits

Author SHA1 Message Date
Jannis Leidel 196ac8f8b3 Fixed #6213 -- Updated the flatpages app to only append a slash if the flatpage actually exist.
The FlatpageFallbackMiddleware (and the view) now only add a trailing slash and redirect if the resulting URL refers to an existing flatpage. Previously requesting /notaflatpageoravalidurl would redirect to /notaflatpageoravalidurl/, which would then raise a 404. Requesting /notaflatpageoravalidurl now will immediately raise a 404. Also, Redirects returned by flatpages are now permanent (301 status code) to match the behaviour of the CommonMiddleware.

Thanks to Steve Losh for the initial work on the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-20 14:41:47 +00:00
Luke Plant 96520e87bd Corrected factual error regarding logging in the CSRF docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-20 11:39:10 +00:00
Luke Plant 1286d78311 Fixed #15791 - method to signal that callable objects should not be called in templates
Thanks to ejucovy for the suggestion and patch!

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-19 22:06:19 +00:00
Gabriel Hurley 6f84e520e5 Fixed #15843 -- removed an extraneous quotation mark in the template tag docs. Thanks to Titan, Jer-ming Lin for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-18 23:15:28 +00:00
Adrian Holovaty d3e5380b41 Fixed #15800 -- Fixed error in class-based-views docs. Thanks, Natim
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-17 20:55:26 +00:00
Adrian Holovaty 78b2e254ca Fixed #15816 -- Changed docs/ref/utils.txt to refer to django.utils.datastructures instead of just SortedDict. The other stuff is still undocumented, which is probably a good thing
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-17 20:51:19 +00:00
Adrian Holovaty 5409168ba2 Fixed #15821 -- Removed incorrect link from docs/releases/1.3.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-17 20:46:48 +00:00
Adrian Holovaty f8495d2371 Fixed #15822 -- Removed references to the v1 postgresql backend (which has been removed). Thanks for the patch, aaugustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-17 20:45:06 +00:00
Jacob Kaplan-Moss d78e08f4a0 Updated the contributing document to accurately reflect our security process.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-17 14:13:19 +00:00
Luke Plant fda7ac3490 Fixed #15780 - Broken link in old release notes regarding CSRF upgrade
Thanks to Aryeh Leib Taurog for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-09 18:47:59 +00:00
Luke Plant 8d4b414760 Fixed #15757 - removed remaining instances of get_and_delete_messages
Thanks to void for the report, and julien for the bulk of the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-07 22:01:23 +00:00
Chris Beaven 91e59aeca0 Fixes #10786 -- Document that NullBooleanField should be used rather than BooleanField with null=True. Thanks sbj3 for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-06 10:33:32 +00:00
Chris Beaven ab9e596ca6 Fixes #10754 - minor clarification to the post/pre_delete signal documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-06 10:12:21 +00:00
Chris Beaven 4fa9646716 Fixes #11596 -- Make paginator.Page iterable
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-06 09:40:26 +00:00
Simon Meers e301899392 Fixed #15746. Clarified updated list_filter documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-03 23:08:48 +00:00
Adrian Holovaty 09b4a41aa7 Fixed a comma splice in docs/faq/install.txt from [16004]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02 21:49:39 +00:00
Ramiro Morales cca232c234 Updated the Python version requirements FAQ entry in the installation section.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02 19:03:11 +00:00
Russell Keith-Magee 576606a6f2 Advanced deprecations in core.cache.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02 08:37:15 +00:00
Russell Keith-Magee 5d5149cd18 Advanced deprecation of user-based messages and the LegacyFallbackStorage in contrib.messages.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02 08:36:04 +00:00
Adrian Holovaty 9a279edc1c Fixed some ReST errors from e-mail -> email change in docs, and changed some docs that shouldn't have been changed (because translation strings haven't been converted yet)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-01 16:18:23 +00:00
Adrian Holovaty 94af19c43f Changed e-mail to email throughout documentation and codebase. The one exception is translation strings, which I didn't want to disrupt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-01 16:10:22 +00:00
Luke Plant 16f6acdb89 Deprecated csrf_response_exempt and csrf_view_exempt decorators
With the removal of CsrfResponseMiddleware, csrf_response_exempt serves no
purposes, and csrf_exempt and csrf_view_exempt perform the same function.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30 17:35:41 +00:00
Luke Plant 1f5d684f14 Added release notes about the removal of Django 1.2 compatibility fallbacks for signed data
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30 17:35:32 +00:00
Luke Plant 8823021625 Removed deprecated CsrfResponseMiddleware, and corresponding tests and docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30 17:34:26 +00:00
Luke Plant 4550f95f29 Added stub release notes for 1.4
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30 17:34:01 +00:00
Jannis Leidel 37ed6f2681 Re-added a few compatibility modules that were removed in r15927 to lower the impact on 3rd party apps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30 08:34:05 +00:00
Timo Graham 99b2728b74 Fixed #15710 - removed "that that" typos.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-29 10:24:42 +00:00
Timo Graham d665c0b3b9 Fixed #15664 - Removed extra parens in commit_on_success example.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-27 23:00:36 +00:00
Adrian Holovaty 5d854608fe Fixed #15687 -- Fixed small typo in multidb docs. Thanks, jonash
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15919 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-26 03:54:53 +00:00
Jannis Leidel 6a5548cf83 Corrected another part of the staticfiles docs which was missed in r15913. Refs #15681.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-24 17:58:13 +00:00
Jannis Leidel 8ddf5ba66f Fixed #15681 -- Fixed a documentation error regarding the default value of the STATIC_URL setting. Thanks, Chris Drackett.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-24 17:52:32 +00:00
Simon Meers f3f1983f30 Moved versionadded below heading for "Localized names of languages".
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-24 10:02:58 +00:00
Simon Meers 1339ef4af8 Bumped django_next_version so that "New in Django 1.3" links appear correctly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-24 09:40:50 +00:00
Simon Meers e7d678237f Fixed a few typos in the 1.3 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-23 08:48:18 +00:00
James Bennett 7c08f4c635 Bump everything for 1.3.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-23 05:06:31 +00:00
James Bennett 1743db94f5 One final final tweak to 1.3 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-23 05:04:19 +00:00
James Bennett 5c00199581 Finalize 1.3 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-23 05:03:22 +00:00
Russell Keith-Magee 2f3bf2830d Made the English in r15897 much betterer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 23:20:52 +00:00
Russell Keith-Magee 62865b4cde Fixed #15527 -- Added a explanatory note about the SQL debug log. Thanks to boxm for the report, and jpaulett for the draft patch
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 23:18:09 +00:00
Simon Meers 8e7030d263 Fixed typo in forms API documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 23:16:22 +00:00
Gabriel Hurley 66594beae7 Fixed #15657 -- added the required `form` parameter to the method signatures of `form_valid` and `form_invalid` in the `FormMixin` docs. Thanks to jnns for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 22:01:27 +00:00
Gabriel Hurley a4ef094b0f Corrected a number of mislinked crossrefs and added a few new crossref targets found in/via the 1.3 release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 20:12:17 +00:00
Russell Keith-Magee 16f4a2bec2 Minor markup and organization fixes to docs to correct Sphinx errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 14:35:14 +00:00
James Bennett a5d373a463 Update release notes and other docs for impending 1.3.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 06:57:12 +00:00
Idan Gazit 6d8853b7c8 Added Idan to committers.txt. Wahoo!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 01:16:28 +00:00
Ramiro Morales a2c19f7984 Tweaked title level in custom file storage systems documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-21 15:39:26 +00:00
Ramiro Morales 413ceb57b2 Changed 'raise' statements to new style syntax in documentation. Thanks DaNmarner. Refs #15635.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-17 20:49:31 +00:00
Justin Bronn c70bdad8b4 Fixed #14133 -- Updated Windows installation instructions for GeoDjango, now recommend the OSGeo4W installer for spatial libraries.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-17 20:06:19 +00:00
Russell Keith-Magee 1af33427cb Fixed #15623 -- Corrected province codes for Canadian localflavor. Thanks to shelldweller for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-17 00:59:30 +00:00
Justin Bronn 127331041e Use Sphinx `:download:` directives for spatial database template creation scripts instead of linking to geodjango.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-16 16:21:16 +00:00