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
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:
parent
fcd609f622
commit
c235781e7c
|
@ -32,6 +32,6 @@ urlpatterns = [
|
|||
]
|
||||
|
||||
if 'mellon' in settings.INSTALLED_APPS:
|
||||
urlpatterns += [
|
||||
urlpatterns = [
|
||||
url(r'^accounts/mellon/', include('mellon.urls')),
|
||||
]
|
||||
] + urlpatterns
|
||||
|
|
Loading…
Reference in New Issue