mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Static files management / LessCSS compiler / Bootstrap import
This commit is contained in:
@@ -39,6 +39,7 @@ INSTALLED_APPS = (
|
||||
'tixlbase',
|
||||
'tixlcontrol',
|
||||
'tixlpresale',
|
||||
'compressor',
|
||||
)
|
||||
|
||||
MIDDLEWARE_CLASSES = (
|
||||
@@ -92,6 +93,24 @@ LOGIN_URL_CONTROL = '/control/login'
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
|
||||
STATIC_ROOT = '_static'
|
||||
|
||||
STATICFILES_FINDERS = (
|
||||
'django.contrib.staticfiles.finders.FileSystemFinder',
|
||||
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
|
||||
'compressor.finders.CompressorFinder',
|
||||
)
|
||||
|
||||
COMPRESS_PRECOMPILERS = (
|
||||
('text/less', 'lessc {infile} {outfile}'),
|
||||
)
|
||||
|
||||
COMPRESS_CSS_FILTERS = (
|
||||
'compressor.filters.css_default.CssAbsoluteFilter',
|
||||
'compressor.filters.cssmin.CSSMinFilter',
|
||||
)
|
||||
|
||||
|
||||
try:
|
||||
from local_settings import *
|
||||
except ImportError:
|
||||
|
||||
Reference in New Issue
Block a user