settings: use new gadjo staticfiles finder (#5312)
This commit is contained in:
parent
4f4fb5edba
commit
f5a964da3e
|
@ -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'),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue