Merge pull request #145 from voidfiles/patch-1
Jinja2 expects a reference to a class, not a module.
This commit is contained in:
		@@ -32,7 +32,7 @@ only requires to add extension to ``JINJA2_EXTENSIONS`` at main settings
 | 
				
			|||||||
module::
 | 
					module::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    JINJA2_EXTENSIONS = [
 | 
					    JINJA2_EXTENSIONS = [
 | 
				
			||||||
        'compressor.contrib.jinja2ext',
 | 
					        'compressor.contrib.jinja2ext.CompressorExtension',
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
And that's it - our extension is loaded and ready to be used.
 | 
					And that's it - our extension is loaded and ready to be used.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user