settings: add sane default for static root
This commit is contained in:
parent
29cf4e009a
commit
5535fb4ae3
|
@ -86,7 +86,7 @@ USE_TZ = True
|
|||
# https://docs.djangoproject.com/en/1.6/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
STATIC_ROOT = os.environ.get('STATIC_ROOT')
|
||||
STATIC_ROOT = os.environ.get('STATIC_ROOT', os.path.join(BASE_DIR, 'static'))
|
||||
|
||||
TEMPLATE_DIRS = (
|
||||
os.path.join(BASE_DIR, 'hobo', 'templates'),
|
||||
|
|
Loading…
Reference in New Issue