forked from CGM_Public/pretix_original
Added DATA_DIR as a template and static file source
This commit is contained in:
@@ -159,7 +159,8 @@ TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [
|
||||
os.path.join(BASE_DIR, 'templates')
|
||||
os.path.join(DATA_DIR, 'templates'),
|
||||
os.path.join(BASE_DIR, 'templates'),
|
||||
],
|
||||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
@@ -185,6 +186,11 @@ STATICFILES_FINDERS = (
|
||||
'compressor.finders.CompressorFinder',
|
||||
)
|
||||
|
||||
STATICFILES_DIRS = (
|
||||
os.path.join(DATA_DIR, 'static'),
|
||||
os.path.join(BASE_DIR, 'static'),
|
||||
)
|
||||
|
||||
COMPRESS_PRECOMPILERS = (
|
||||
('text/less', 'pretix.helpers.lessabsolutefilter.LessFilter'),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user