settings: added django_compressor
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
		
					parent
					
						
							
								e0675ee071
							
						
					
				
			
			
				commit
				
					
						37ebf40620
					
				
			
		
					 2 changed files with 13 additions and 0 deletions
				
			
		|  | @ -80,6 +80,7 @@ INSTALLED_APPS = ( | ||||||
|     'admin_enhancer', |     'admin_enhancer', | ||||||
|     'djangocms_blog', |     'djangocms_blog', | ||||||
|     'bootstrap3', |     'bootstrap3', | ||||||
|  |     'compressor', | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| MIDDLEWARE_CLASSES = ( | MIDDLEWARE_CLASSES = ( | ||||||
|  | @ -232,6 +233,16 @@ MIGRATION_MODULES = { | ||||||
|     'djangocms_text_ckeditor': 'djangocms_text_ckeditor.migrations_django', |     '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 = ( | THUMBNAIL_PROCESSORS = ( | ||||||
|     'easy_thumbnails.processors.colorspace', |     'easy_thumbnails.processors.colorspace', | ||||||
|     'easy_thumbnails.processors.autocrop', |     'easy_thumbnails.processors.autocrop', | ||||||
|  |  | ||||||
|  | @ -9,6 +9,8 @@ django==1.7.8 | ||||||
| 
 | 
 | ||||||
| #django-assets | #django-assets | ||||||
| django-bootstrap3 | django-bootstrap3 | ||||||
|  | lesscpy | ||||||
|  | django_compressor | ||||||
| 
 | 
 | ||||||
| # django apps | # django apps | ||||||
| django-treebeard==3.0 | django-treebeard==3.0 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue