change settings for deploy

This commit is contained in:
Gitea
2019-10-27 05:26:05 +01:00
parent ac3da881b3
commit f580f152a1
+7 -5
View File
@@ -25,7 +25,7 @@ SECRET_KEY = '8$19!k4+%bg^r0v#04+ksm2ny(4*dp!v8dxnbbz)sj275(_(^&'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['*']
# Application definition
@@ -76,10 +76,10 @@ WSGI_APPLICATION = 'bloomhunt.wsgi.application'
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
#'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
#}
}
@@ -124,3 +124,5 @@ STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
]
STATIC_ROOT = "/var/www/virtual/areion/html/bloomhunt/static/"