Update to django 5 to support python3.13 #91

Merged
heinzel merged 9 commits from update_django into master 2025-04-11 10:25:55 +02:00
Showing only changes of commit a143e8e239 - Show all commits

View File

@@ -48,9 +48,10 @@ class LoginView(auth_views.LoginView):
class LogoutView(auth_views.LogoutView):
def get_next_page(self):
url = super().get_next_page()
if not url and app_config.settings.logout_redirect_url:
@property
def next_page(self):
url = None
if app_config.settings.logout_redirect_url:
url = resolve_url(app_config.settings.logout_redirect_url)
return url