1
0
Fork 0
mirror of synced 2024-06-26 18:10:24 +12:00

simplify debug

This commit is contained in:
Nick Sweeting 2021-01-30 06:09:26 -05:00
parent d6de04a83a
commit 326ce78496

View file

@ -33,7 +33,7 @@ LOGOUT_REDIRECT_URL = '/'
PASSWORD_RESET_URL = '/accounts/password_reset/'
APPEND_SLASH = True
DEBUG = DEBUG or sys.environ.get('DEBUG', 'false').lower() != 'false' or '--debug' in sys.argv
DEBUG = DEBUG or ('--debug' in sys.argv)
INSTALLED_APPS = [
'django.contrib.auth',