misc: enable debug toolbar
This commit is contained in:
parent
d6d9665824
commit
4257eb8968
|
@ -60,3 +60,10 @@ urlpatterns += [
|
|||
path('login/local/', login_local), # to be used as backup, in case of idp down
|
||||
re_path(r'^accounts/mellon/', include('mellon.urls')),
|
||||
]
|
||||
|
||||
if settings.DEBUG and 'debug_toolbar' in settings.INSTALLED_APPS:
|
||||
import debug_toolbar # pylint: disable=import-error
|
||||
|
||||
urlpatterns = [
|
||||
re_path(r'^__debug__/', include(debug_toolbar.urls)),
|
||||
] + urlpatterns
|
||||
|
|
Loading…
Reference in New Issue