Esempio n. 1
0
)

ROOT_URLCONF = 'web.urls'

WSGI_APPLICATION = 'web.wsgi.application'

LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = False
USE_L10N = False
USE_TZ = False
STATIC_URL = '/static/'
JSTEMPLATE_EXTS = ('hbs',)


from core.settings import Settings
zoo_settings = Settings.get_instance()

if not zoo_settings:
    raise RuntimeError('No zoo settings')

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(zoo_settings.storage_path, 'db.sqlite3'),
    }
}