From 12576bd371c96fcc92f47a3df806531ff10450c6 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 16 Apr 2022 18:37:34 +0200 Subject: 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. --- docs/releases/4.1.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/releases/4.1.txt b/docs/releases/4.1.txt index e84a47dd2d..2c01efbfdd 100644 --- a/docs/releases/4.1.txt +++ b/docs/releases/4.1.txt @@ -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 -- cgit v1.3