Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit fda7ac3490d78c3e6c21d7d56e7f4f9676bc9b8e 1 parent 8d4b414
Luke Plant authored April 09, 2011
18  docs/releases/1.2-alpha-1.txt
@@ -32,8 +32,13 @@ changes that developers must be aware of:
32 32
 
33 33
  * All contrib apps use a ``csrf_protect`` decorator to protect the view. This
34 34
    requires the use of the ``csrf_token`` template tag in the template, so if you
35  
-   have used custom templates for contrib views, you MUST READ THE :ref:`UPGRADE
36  
-   INSTRUCTIONS <ref-csrf-upgrading-notes>` to fix those templates.
  35
+   have used custom templates for contrib views, you MUST READ THE UPGRADE
  36
+   INSTRUCTIONS to fix those templates.
  37
+
  38
+   .. admonition:: Documentation removed
  39
+
  40
+      The upgrade notes have been removed in current Django docs. Please refer
  41
+      to the docs for Django 1.3 or older to find these instructions.
37 42
 
38 43
  * ``CsrfViewMiddleware`` is included in :setting:`MIDDLEWARE_CLASSES` by
39 44
    default. This turns on CSRF protection by default, so that views that accept
@@ -195,8 +200,13 @@ template tag method (see above), and will be removed completely in Django
195 200
 ``CsrfResponseMiddleware`` and ``CsrfViewMiddleware`` has likewise been
196 201
 deprecated.
197 202
 
198  
-Also, the CSRF module has moved from contrib to core, and the old imports are
199  
-deprecated, as described in the :ref:`upgrading notes <ref-csrf-upgrading-notes>`.
  203
+Also, the CSRF module has moved from contrib to core, and the old
  204
+imports are deprecated, as described in the upgrading notes.
  205
+
  206
+.. admonition:: Documentation removed
  207
+
  208
+   The upgrade notes have been removed in current Django docs. Please refer
  209
+   to the docs for Django 1.3 or older to find these instructions.
200 210
 
201 211
 ``SMTPConnection``
202 212
 ------------------
17  docs/releases/1.2.txt
@@ -435,8 +435,13 @@ should be aware of:
435 435
 
436 436
  * All contrib apps use a ``csrf_protect`` decorator to protect the view. This
437 437
    requires the use of the ``csrf_token`` template tag in the template. If you
438  
-   have used custom templates for contrib views, you MUST READ THE :ref:`UPGRADE
439  
-   INSTRUCTIONS <ref-csrf-upgrading-notes>` to fix those templates.
  438
+   have used custom templates for contrib views, you MUST READ THE UPGRADE
  439
+   INSTRUCTIONS to fix those templates.
  440
+
  441
+   .. admonition:: Documentation removed
  442
+
  443
+      The upgrade notes have been removed in current Django docs. Please refer
  444
+      to the docs for Django 1.3 or older to find these instructions.
440 445
 
441 446
  * ``CsrfViewMiddleware`` is included in :setting:`MIDDLEWARE_CLASSES` by
442 447
    default. This turns on CSRF protection by default, so views that accept
@@ -861,8 +866,12 @@ functionality of ``CsrfResponseMiddleware`` and
861 866
 ``CsrfViewMiddleware``, has likewise been deprecated.
862 867
 
863 868
 Also, the CSRF module has moved from contrib to core, and the old
864  
-imports are deprecated, as described in the :ref:`upgrading notes
865  
-<ref-csrf-upgrading-notes>`.
  869
+imports are deprecated, as described in the upgrading notes.
  870
+
  871
+.. admonition:: Documentation removed
  872
+
  873
+   The upgrade notes have been removed in current Django docs. Please refer
  874
+   to the docs for Django 1.3 or older to find these instructions.
866 875
 
867 876
 ``SMTPConnection``
868 877
 ------------------

0 notes on commit fda7ac3

Please sign in to comment.
Something went wrong with that request. Please try again.