diff options
author | luxagraf <sng@luxagraf.net> | 2019-01-09 13:29:17 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-01-09 13:29:17 -0600 |
commit | be0bb4e123240ac3ce02431b974c82f8f05d843b (patch) | |
tree | e2da7ac44be955ad5cbf32c0a35dc507ba63e844 /config/base_urls.py | |
parent | d5f430d3e1e2b274d8d8f744251e8b6b4b72ebd9 (diff) |
latest changes
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 |