readme: add a note on django admin's catch-all option (#74988) #2

Merged
pmarillonnet merged 1 commits from wip/74988-doc-url-routing-admin-final-catch-all into main 2023-03-01 16:58:18 +01:00
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'