django 3.2 compatibility: admin has a catch-all now, it must be last in urls (#74946)
gitea/barbacompta/pipeline/head This commit looks good Details

Django 3.2 changelog:
The new admin catch-all view will break URL patterns routed after the admin URLs and matching the admin URL prefix. You can either adjust your URL ordering or, if necessary, set AdminSite.final_catch_all_view to False, disabling the catch-all view. See What’s new in Django 3.2 for more details.
This commit is contained in:
Pierre Ducroquet 2023-03-01 16:09:29 +01:00
parent fcd609f622
commit c235781e7c
1 changed files with 2 additions and 2 deletions

View File

@ -32,6 +32,6 @@ urlpatterns = [
]
if 'mellon' in settings.INSTALLED_APPS:
urlpatterns += [
urlpatterns = [
url(r'^accounts/mellon/', include('mellon.urls')),
]
] + urlpatterns