change settings for deploy
This commit is contained in:
@@ -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!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
||||||
ALLOWED_HOSTS = []
|
ALLOWED_HOSTS = ['*']
|
||||||
|
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
@@ -76,10 +76,10 @@ WSGI_APPLICATION = 'bloomhunt.wsgi.application'
|
|||||||
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
|
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
|
||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
#'default': {
|
||||||
'ENGINE': 'django.db.backends.sqlite3',
|
# 'ENGINE': 'django.db.backends.sqlite3',
|
||||||
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
# 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
||||||
}
|
#}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -124,3 +124,5 @@ STATIC_URL = '/static/'
|
|||||||
STATICFILES_DIRS = [
|
STATICFILES_DIRS = [
|
||||||
os.path.join(BASE_DIR, "static"),
|
os.path.join(BASE_DIR, "static"),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
STATIC_ROOT = "/var/www/virtual/areion/html/bloomhunt/static/"
|
||||||
|
|||||||
Reference in New Issue
Block a user