Merge branch 'fix_import_distances' into 'dev'

disable debug mode

See merge request spatial/postamates!134
dev
Timofey Malinin 2 years ago
commit 7033c33cf6

@ -19,7 +19,7 @@ spec:
containers:
- name: django
image: DEPLOY_IMAGE_TAG
command: ["sh", "-c", "python manage.py migrate && python manage.py runserver 0.0.0.0:${DJANGO_PORT} --nothreading"]
command: ["sh", "-c", "python manage.py migrate && python manage.py runserver 0.0.0.0:${DJANGO_PORT}"]
ports:
- containerPort: 8000
name: django-port

@ -24,7 +24,7 @@ SECRET_KEY = 'django-insecure-5czma@e7b(e4v+c*@bkknj(*em%@x52jizednhy6lye)_@ox4@
# SECURITY WARNING: don't run with debug turned on in production!
# TODO: change DEBUG to
# DEBUG = os.getenv('DEBUG', False) == 'True'
DEBUG = True
DEBUG = False
ALLOWED_HOSTS = ['*']

Loading…
Cancel
Save