Test django 5 and Python 3.13 #92

Merged
heinzel merged 10 commits from master into stage 2025-04-11 10:36:28 +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): class LogoutView(auth_views.LogoutView):
def get_next_page(self): @property
url = super().get_next_page() def next_page(self):
if not url and app_config.settings.logout_redirect_url: url = None
if app_config.settings.logout_redirect_url:
url = resolve_url(app_config.settings.logout_redirect_url) url = resolve_url(app_config.settings.logout_redirect_url)
return url return url