Exemplo n.º 1
0
https://docs.djangoproject.com/en/1.9/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.9/ref/settings/
"""
from env import Env
import os
env = Env()
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))


PROJECT_ROOT = os.path.realpath(os.path.dirname(__file__))
SITE_ROOT = os.path.dirname(PROJECT_ROOT)
BASE_URL = env.get_base_url()
RNN_URL = env.get_rnn_url()

STATICFILES_DIRS = [
    # os.path.join(BASE_DIR, "static")
]



STATIC_ROOT = os.path.join(BASE_DIR, "static/")




# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/