settings: use new gadjo staticfiles finder (#5312)

This commit is contained in:
Frédéric Péters 2014-08-22 16:18:58 +02:00
parent 4f4fb5edba
commit f5a964da3e
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,8 @@ For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.6/ref/settings/
"""
from django.conf import global_settings
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
@ -90,6 +92,8 @@ TEMPLATE_DIRS = (
os.path.join(BASE_DIR, 'hobo', 'templates'),
)
STATICFILES_FINDERS = global_settings.STATICFILES_FINDERS + ('gadjo.finders.XStaticFinder',)
STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'hobo', 'static'),
)