From aebcba5431087b78c65bb2323402b029a0704cb6 Mon Sep 17 00:00:00 2001 From: Paul Marillonnet Date: Wed, 1 Mar 2023 16:53:44 +0100 Subject: [PATCH] readme: add a note on django admin's catch-all option (#74988) --- README | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README b/README index 57f5c9a..86e0070 100644 --- a/README +++ b/README @@ -30,6 +30,11 @@ Add mellon urls to your urls:: url(r'^/accounts/mellon/', include('mellon.urls')), ) +Please note that from django 3.2 onwards, a registered AdminSite app embeds a +url-routing catch-all option (AdminSite.final_catch_all_view) that is activated +by default and that may collide with the django-mellon app if its url routing +is declared before mellon's url routing. + If SAML 2.0 should be your only authentication method you can define `mellon_login` as you main `LOGIN_URL`:: LOGIN_URL = 'mellon_login'