Browse Source

Fixed debug setting in urls.py

master
Elwin Buisman 11 months ago
parent
commit
77f95fe21b
  1. 2
      VRE/VRE/urls.py

2
VRE/VRE/urls.py

@ -38,7 +38,7 @@ urlpatterns = [ @@ -38,7 +38,7 @@ urlpatterns = [
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
if settings.DEBUG:
if settings.DEBUG and settings.DEBUG_TOOLBAR:
import debug_toolbar
# urlpatterns.append(path('auth/login/test/', test_login_page, name='test-login-surfconext'))
urlpatterns.append(path('__debug__/', include(debug_toolbar.urls)))

Loading…
Cancel
Save