Skip to content

Commit 7e619bf

Browse files
committedJun 6, 2019
remove django debugger
1 parent 53ad37f commit 7e619bf

File tree

4 files changed

+38
-58
lines changed

4 files changed

+38
-58
lines changed
 

‎Pipfile

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ prospector = "*"
99
[packages]
1010
django = "*"
1111
django-registration-redux = "*"
12-
django-debug-toolbar = "*"
1312
pillow = "*"
1413
django-heroku = "*"
1514
psycopg2-binary = "*"

‎Pipfile.lock

+38-49
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎kodekangaroo/settings.py

-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
'allauth.account', # new
5656
'allauth.socialaccount', # new
5757
'allauth.socialaccount.providers.github', # new
58-
'debug_toolbar',
5958
'django_filters',
6059

6160
# Our Apps
@@ -64,7 +63,6 @@
6463
]
6564

6665
MIDDLEWARE = [
67-
'debug_toolbar.middleware.DebugToolbarMiddleware',
6866
'django.middleware.security.SecurityMiddleware',
6967
'django.contrib.sessions.middleware.SessionMiddleware',
7068
'django.middleware.common.CommonMiddleware',

‎kodekangaroo/urls.py

-6
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,3 @@
3333

3434
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
3535
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
36-
37-
if settings.DEBUG:
38-
import debug_toolbar
39-
urlpatterns = [
40-
path('__debug__/', include(debug_toolbar.urls)),
41-
] + urlpatterns

0 commit comments

Comments
 (0)
Please sign in to comment.