Setting changes for production
This commit is contained in:
parent
7b1fcc4730
commit
940fb88def
|
@ -2,4 +2,6 @@ venv
|
|||
.idea
|
||||
db.sqlite3
|
||||
stale_outputs_checked
|
||||
__pycache__
|
||||
__pycache__
|
||||
static
|
||||
log
|
|
@ -23,9 +23,9 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
|||
SECRET_KEY = 'qdm4_0b)3^)k$6r($!o^a7&0l#^6)@g2wr!x0r40ii@9otfnwo'
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
DEBUG = False
|
||||
|
||||
ALLOWED_HOSTS = ["192.168.1.124"]
|
||||
ALLOWED_HOSTS = ["192.168.1.124", "thoughts.learnerpages.com"]
|
||||
|
||||
|
||||
# Application definition
|
||||
|
@ -119,3 +119,5 @@ USE_TZ = True
|
|||
# https://docs.djangoproject.com/en/3.1/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
|
||||
STATIC_ROOT = BASE_DIR / "static/"
|
||||
|
|
Loading…
Reference in New Issue