FIX: vypnuti default debug modu, FIX: prepis static files pri startu aplikace

This commit is contained in:
Jarmil 2019-11-15 20:16:57 +01:00
parent 94ac8ae873
commit d4d97e0750
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ cd /nalodeni
python manage.py migrate
python manage.py collectstatic --noinput
python manage.py collectstatic --noinput --clear
python manage.py loaddata nalodeni_interestregion nalodeni_topics nalodeni_skills nalodeni_counties

View File

@ -26,9 +26,9 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = '-replace-this-in-install-settings-3243v432'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG_LOCAL= True
DEBUG_PROPAGATE_EXCEPTIONS = True
DEBUG = False
DEBUG_LOCAL= False
DEBUG_PROPAGATE_EXCEPTIONS = False
LOG_INCOMING_REQUESTS = False
ALLOWED_HOSTS = []