settings: added django_compressor

Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
rascencio 2015-05-22 01:31:44 -06:00
parent 0a9955986e
commit d6fdaea4ed
2 changed files with 13 additions and 0 deletions

View File

@ -80,6 +80,7 @@ INSTALLED_APPS = (
'admin_enhancer',
'djangocms_blog',
'bootstrap3',
'compressor',
)
MIDDLEWARE_CLASSES = (
@ -232,6 +233,16 @@ MIGRATION_MODULES = {
'djangocms_text_ckeditor': 'djangocms_text_ckeditor.migrations_django',
}
STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
'compressor.finders.CompressorFinder',
)
COMPRESS_PRECOMPILERS = (
('text/less', 'lesscpy {infile}'),
)
THUMBNAIL_PROCESSORS = (
'easy_thumbnails.processors.colorspace',
'easy_thumbnails.processors.autocrop',

View File

@ -9,6 +9,8 @@ django==1.7.8
#django-assets
django-bootstrap3
lesscpy
django_compressor
# django apps
django-treebeard==3.0