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

Fixed #19277 -- Added LocaleMiddleware.response_redirect_class

Thanks ppetrid at yawd.eu for the suggestion.
This commit is contained in:
Emil Stenström
2012-11-17 13:14:12 +01:00
committed by Tim Graham
parent fa2e1371cd
commit 7a97df190c
4 changed files with 30 additions and 1 deletions

View File

@@ -267,6 +267,12 @@ Forms
:func:`~django.forms.formsets.formset_factory` to allow validating
a minimum number of submitted forms.
Internationalization
^^^^^^^^^^^^^^^^^^^^
* The :attr:`django.middleware.locale.LocaleMiddleware.response_redirect_class`
attribute allows you to customize the redirects issued by the middleware.
Management Commands
^^^^^^^^^^^^^^^^^^^