1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #23531 -- Added CommonMiddleware.response_redirect_class.

This commit is contained in:
Berker Peksag
2014-11-04 22:19:10 +02:00
committed by Tim Graham
parent 83daf53636
commit df0523debc
4 changed files with 42 additions and 2 deletions

View File

@@ -304,6 +304,13 @@ Management Commands
:setting:`FIXTURE_DIRS` contains duplicates or a default fixture directory
path (``app_name/fixtures``), an exception is raised.
Middleware
^^^^^^^^^^
* The :attr:`CommonMiddleware.response_redirect_class
<django.middleware.common.CommonMiddleware.response_redirect_class>`
attribute allows you to customize the redirects issued by the middleware.
Migrations
^^^^^^^^^^