Commit 5149dcff authored by Gabriele Lucci's avatar Gabriele Lucci 🏘

Minor refactoring

parent 815d1ad2
......@@ -58,7 +58,8 @@ DEFAULT_FROM_EMAIL = env('DEFAULT_FROM_EMAIL', default=ADMIN_EMAIL)
########## DATABASE CONFIGURATION
# See: https://docs.djangoproject.com/en/dev/ref/settings/#databases
DATABASES = {
'default': env.db(default='sqlite:///{0}'.format(normpath(join(RESOURCES_PATH, 'db', 'default.db'))))
'default': env.db(default='sqlite:///{0}'.format(
normpath(join(RESOURCES_PATH, 'db', 'default.db'))))
}
########## END DATABASE CONFIGURATION
......@@ -95,7 +96,8 @@ MEDIA_URL = '/media/'
########## STATIC FILE CONFIGURATION
# See: https://docs.djangoproject.com/en/dev/ref/settings/#static-root
STATIC_ROOT = env('STATIC_ROOT', default=normpath(join(RESOURCES_PATH, 'static')))
STATIC_ROOT = env('STATIC_ROOT',
default=normpath(join(RESOURCES_PATH, 'static')))
# See: https://docs.djangoproject.com/en/dev/ref/settings/#static-url
STATIC_URL = '/static/'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment