Removed links to deprecated IGNORABLE_404_STARTS/ENDS settings.

refs #19516 and 641acf76e7
This commit is contained in:
Tim Graham 2012-12-29 18:52:50 -05:00
parent a7b7d6320c
commit a04df803a5
4 changed files with 30 additions and 27 deletions

View File

@ -227,9 +227,9 @@ these changes.
be accessible through their GB-prefixed names (GB is the correct be accessible through their GB-prefixed names (GB is the correct
ISO 3166 code for United Kingdom). ISO 3166 code for United Kingdom).
* The :setting:`IGNORABLE_404_STARTS` and :setting:`IGNORABLE_404_ENDS` * The ``IGNORABLE_404_STARTS`` and ``IGNORABLE_404_ENDS`` settings have been
settings have been superseded by :setting:`IGNORABLE_404_URLS` in superseded by :setting:`IGNORABLE_404_URLS` in the 1.4 release. They will be
the 1.4 release. They will be removed. removed.
* The :doc:`form wizard </ref/contrib/formtools/form-wizard>` has been * The :doc:`form wizard </ref/contrib/formtools/form-wizard>` has been
refactored to use class-based views with pluggable backends in 1.4. refactored to use class-based views with pluggable backends in 1.4.

View File

@ -813,11 +813,12 @@ For more details, see the documentation about
Until Django 1.3, it was possible to exclude some URLs from Django's Until Django 1.3, it was possible to exclude some URLs from Django's
:doc:`404 error reporting</howto/error-reporting>` by adding prefixes to :doc:`404 error reporting</howto/error-reporting>` by adding prefixes to
:setting:`IGNORABLE_404_STARTS` and suffixes to :setting:`IGNORABLE_404_ENDS`. ``IGNORABLE_404_STARTS`` and suffixes to ``IGNORABLE_404_ENDS``.
In Django 1.4, these two settings are superseded by In Django 1.4, these two settings are superseded by
:setting:`IGNORABLE_404_URLS`, which is a list of compiled regular expressions. :setting:`IGNORABLE_404_URLS`, which is a list of compiled regular
Django won't send an email for 404 errors on URLs that match any of them. expressions. Django won't send an email for 404 errors on URLs that match any
of them.
Furthermore, the previous settings had some rather arbitrary default values:: Furthermore, the previous settings had some rather arbitrary default values::
@ -827,12 +828,12 @@ Furthermore, the previous settings had some rather arbitrary default values::
It's not Django's role to decide if your website has a legacy ``/cgi-bin/`` It's not Django's role to decide if your website has a legacy ``/cgi-bin/``
section or a ``favicon.ico``. As a consequence, the default values of section or a ``favicon.ico``. As a consequence, the default values of
:setting:`IGNORABLE_404_URLS`, :setting:`IGNORABLE_404_STARTS` and :setting:`IGNORABLE_404_URLS`, ``IGNORABLE_404_STARTS``, and
:setting:`IGNORABLE_404_ENDS` are all now empty. ``IGNORABLE_404_ENDS`` are all now empty.
If you have customized :setting:`IGNORABLE_404_STARTS` or If you have customized ``IGNORABLE_404_STARTS`` or ``IGNORABLE_404_ENDS``, or
:setting:`IGNORABLE_404_ENDS`, or if you want to keep the old default value, if you want to keep the old default value, you should add the following lines
you should add the following lines in your settings file:: in your settings file::
import re import re
IGNORABLE_404_URLS = ( IGNORABLE_404_URLS = (

View File

@ -881,11 +881,12 @@ For more details, see the documentation about
Until Django 1.3, it was possible to exclude some URLs from Django's Until Django 1.3, it was possible to exclude some URLs from Django's
:doc:`404 error reporting</howto/error-reporting>` by adding prefixes to :doc:`404 error reporting</howto/error-reporting>` by adding prefixes to
:setting:`IGNORABLE_404_STARTS` and suffixes to :setting:`IGNORABLE_404_ENDS`. ``IGNORABLE_404_STARTS`` and suffixes to ``IGNORABLE_404_ENDS``.
In Django 1.4, these two settings are superseded by In Django 1.4, these two settings are superseded by
:setting:`IGNORABLE_404_URLS`, which is a list of compiled regular expressions. :setting:`IGNORABLE_404_URLS`, which is a list of compiled regular
Django won't send an email for 404 errors on URLs that match any of them. expressions. Django won't send an email for 404 errors on URLs that match any
of them.
Furthermore, the previous settings had some rather arbitrary default values:: Furthermore, the previous settings had some rather arbitrary default values::
@ -895,12 +896,12 @@ Furthermore, the previous settings had some rather arbitrary default values::
It's not Django's role to decide if your website has a legacy ``/cgi-bin/`` It's not Django's role to decide if your website has a legacy ``/cgi-bin/``
section or a ``favicon.ico``. As a consequence, the default values of section or a ``favicon.ico``. As a consequence, the default values of
:setting:`IGNORABLE_404_URLS`, :setting:`IGNORABLE_404_STARTS` and :setting:`IGNORABLE_404_URLS`, ``IGNORABLE_404_STARTS``, and
:setting:`IGNORABLE_404_ENDS` are all now empty. ``IGNORABLE_404_ENDS`` are all now empty.
If you have customized :setting:`IGNORABLE_404_STARTS` or If you have customized ``IGNORABLE_404_STARTS`` or ``IGNORABLE_404_ENDS``, or
:setting:`IGNORABLE_404_ENDS`, or if you want to keep the old default value, if you want to keep the old default value, you should add the following lines
you should add the following lines in your settings file:: in your settings file::
import re import re
IGNORABLE_404_URLS = ( IGNORABLE_404_URLS = (

View File

@ -966,11 +966,12 @@ For more details, see the documentation about
Until Django 1.3, it was possible to exclude some URLs from Django's Until Django 1.3, it was possible to exclude some URLs from Django's
:doc:`404 error reporting</howto/error-reporting>` by adding prefixes to :doc:`404 error reporting</howto/error-reporting>` by adding prefixes to
:setting:`IGNORABLE_404_STARTS` and suffixes to :setting:`IGNORABLE_404_ENDS`. ``IGNORABLE_404_STARTS`` and suffixes to ``IGNORABLE_404_ENDS``.
In Django 1.4, these two settings are superseded by In Django 1.4, these two settings are superseded by
:setting:`IGNORABLE_404_URLS`, which is a list of compiled regular expressions. :setting:`IGNORABLE_404_URLS`, which is a list of compiled regular
Django won't send an email for 404 errors on URLs that match any of them. expressions. Django won't send an email for 404 errors on URLs that match any
of them.
Furthermore, the previous settings had some rather arbitrary default values:: Furthermore, the previous settings had some rather arbitrary default values::
@ -980,12 +981,12 @@ Furthermore, the previous settings had some rather arbitrary default values::
It's not Django's role to decide if your website has a legacy ``/cgi-bin/`` It's not Django's role to decide if your website has a legacy ``/cgi-bin/``
section or a ``favicon.ico``. As a consequence, the default values of section or a ``favicon.ico``. As a consequence, the default values of
:setting:`IGNORABLE_404_URLS`, :setting:`IGNORABLE_404_STARTS` and :setting:`IGNORABLE_404_URLS`, ``IGNORABLE_404_STARTS``, and
:setting:`IGNORABLE_404_ENDS` are all now empty. ``IGNORABLE_404_ENDS`` are all now empty.
If you have customized :setting:`IGNORABLE_404_STARTS` or If you have customized ``IGNORABLE_404_STARTS`` or ``IGNORABLE_404_ENDS``, or
:setting:`IGNORABLE_404_ENDS`, or if you want to keep the old default value, if you want to keep the old default value, you should add the following lines
you should add the following lines in your settings file:: in your settings file::
import re import re
IGNORABLE_404_URLS = ( IGNORABLE_404_URLS = (