FIX: vypnuti default debug modu, FIX: prepis static files pri startu aplikace
This commit is contained in:
parent
94ac8ae873
commit
d4d97e0750
|
@ -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
|
||||
|
||||
|
|
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue