diff options
Diffstat (limited to 'config/base_urls.py')
-rw-r--r-- | config/base_urls.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/base_urls.py b/config/base_urls.py index efbe233..ed4bd91 100644 --- a/config/base_urls.py +++ b/config/base_urls.py @@ -45,12 +45,12 @@ urlpatterns += [ #path(r'<path>/<slug>/', PageDetailView.as_view(), name="pages"), path(r'api-auth/', include('rest_framework.urls', namespace='rest_framework')) ] -if settings.DEBUG: - import debug_toolbar - urlpatterns = [ - path('__debug__/', include(debug_toolbar.urls)), +#if settings.DEBUG: + #import debug_toolbar + #urlpatterns = [ + # path('__debug__/', include(debug_toolbar.urls)), # For django versions before 2.0: # url(r'^__debug__/', include(debug_toolbar.urls)), - ] + urlpatterns + #] + urlpatterns |