readme: add a note on django admin's catch-all option (#74988)
gitea/django-mellon/pipeline/head This commit looks good Details

This commit is contained in:
Paul Marillonnet 2023-03-01 16:53:44 +01:00
parent b3aa64e5e1
commit aebcba5431
1 changed files with 5 additions and 0 deletions

5
README
View File

@ -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'