Explorar el Código

change settings for deploy

master
Gitea hace 6 años
padre
commit
f580f152a1
Se han modificado 1 ficheros con 7 adiciones y 5 borrados
  1. +7
    -5
      bloomhunt/settings.py

+ 7
- 5
bloomhunt/settings.py Ver fichero

@@ -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/"

Cargando…
Cancelar
Guardar