add debug in standalone mode

This commit is contained in:
Paul Marillonnet 2019-05-03 10:28:55 +02:00
parent d92e8a07b1
commit 9134784c86
1 changed files with 2 additions and 2 deletions

View File

@ -19,14 +19,14 @@ BASE_DIR = os.path.dirname(__file__)
SECRET_KEY = 'please-change-me-with-a-very-long-random-string'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
DEBUG = True
DEBUG_DB = False
MEDIA = 'media'
MEDIA_ROOT = 'media'
MEDIA_URL = '/media/'
# See https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['127.0.0.1']
INTERNAL_IPS = ('127.0.0.1',)
DATABASES = {