Jinja2 expects a reference to a class, not a module.

This commit is contained in:
Alex Kessinger
2011-10-28 23:58:22 -07:00
parent cd298707ac
commit 1bd82521d4

View File

@@ -32,7 +32,7 @@ only requires to add extension to ``JINJA2_EXTENSIONS`` at main settings
module::
JINJA2_EXTENSIONS = [
'compressor.contrib.jinja2ext',
'compressor.contrib.jinja2ext.CompressorExtension',
]
And that's it - our extension is loaded and ready to be used.