aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-12-29 08:37:39 -0600
committerluxagraf <sng@luxagraf.net>2018-12-29 08:37:39 -0600
commit4f7b84194b056b5d6d9acca4cceb2cabc04fd8a5 (patch)
tree7fe109e7aeaddab7aa5e7f46f99414064a248e52 /config
parent02f520038e3c6d5a01c9545e9b1c3eb91e4e016c (diff)
cleaned up JS and made modal handler.
Diffstat (limited to 'config')
-rw-r--r--config/base_urls.py2
-rw-r--r--config/settings.py4
2 files changed, 2 insertions, 4 deletions
diff --git a/config/base_urls.py b/config/base_urls.py
index 775f07d..efbe233 100644
--- a/config/base_urls.py
+++ b/config/base_urls.py
@@ -45,7 +45,6 @@ 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 = [
@@ -55,4 +54,3 @@ if settings.DEBUG:
# url(r'^__debug__/', include(debug_toolbar.urls)),
] + urlpatterns
-'''
diff --git a/config/settings.py b/config/settings.py
index 8e2ba3c..c7bef91 100644
--- a/config/settings.py
+++ b/config/settings.py
@@ -65,7 +65,7 @@ THIRD_PARTY_APPS = [
'taggit_serializer',
'django_extensions',
'rest_framework',
- #'debug_toolbar'
+ 'debug_toolbar'
]
LOCAL_APPS = [
'utils',
@@ -82,7 +82,7 @@ MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
- #'debug_toolbar.middleware.DebugToolbarMiddleware',
+ 'debug_toolbar.middleware.DebugToolbarMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',