Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
nyashaChiza committed Jun 30, 2024
1 parent 94abf7b commit cade1f0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions gds/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
'allauth.account',
"crispy_forms",
"crispy_bootstrap5",
"debug_toolbar",
# "debug_toolbar",
]

MIDDLEWARE = [
Expand All @@ -50,7 +50,7 @@
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'allauth.account.middleware.AccountMiddleware',
'debug_toolbar.middleware.DebugToolbarMiddleware'
# 'debug_toolbar.middleware.DebugToolbarMiddleware'
]

ROOT_URLCONF = 'gds.urls'
Expand Down Expand Up @@ -140,12 +140,12 @@

LOGGER = loguru.logger

INTERNAL_IPS = [
'127.0.0.1',
]
DEBUG_TOOLBAR_CONFIG = {
'SHOW_TOOLBAR_CALLBACK': lambda request: True,
}
# INTERNAL_IPS = [
# '127.0.0.1',
# ]
# DEBUG_TOOLBAR_CONFIG = {
# 'SHOW_TOOLBAR_CALLBACK': lambda request: True,
# }

# Internationalization
# https://docs.djangoproject.com/en/5.0/topics/i18n/
Expand Down

0 comments on commit cade1f0

Please sign in to comment.