1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Refactored out RedirectURLMixin.get_redirect_url().

This also renames SuccessURLAllowedHostsMixin to RedirectURLMixin.

This doesn't change the behavior of LogoutView.get_next_page() because
next_page == "" implies url_is_safe == False before the refactoring.
This commit is contained in:
Aymeric Augustin
2022-04-16 18:37:34 +02:00
committed by Mariusz Felisiak
parent 420d13edee
commit 12576bd371
2 changed files with 21 additions and 28 deletions

View File

@@ -495,6 +495,9 @@ Miscellaneous
enabled in development. You may specify ``OPTIONS['loaders']`` to override
this, if necessary.
* The undocumented ``django.contrib.auth.views.SuccessURLAllowedHostsMixin``
mixin is replaced by ``RedirectURLMixin``.
.. _deprecated-features-4.1:
Features deprecated in 4.1