static folder location got from environment vars

This commit is contained in:
Serghei Mihai 2014-04-30 15:39:18 +02:00
parent 94a808922b
commit cc0c7ccd0b
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/1.6/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.environ.get('STATIC_ROOT')
TEMPLATE_DIRS = (
os.path.join(BASE_DIR, 'hobo', 'templates'),