settings: added django_compressor
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
0a9955986e
commit
d6fdaea4ed
2 changed files with 13 additions and 0 deletions
|
@ -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',
|
||||
|
|
|
@ -9,6 +9,8 @@ django==1.7.8
|
|||
|
||||
#django-assets
|
||||
django-bootstrap3
|
||||
lesscpy
|
||||
django_compressor
|
||||
|
||||
# django apps
|
||||
django-treebeard==3.0
|
||||
|
|
Loading…
Reference in a new issue