5monkeys/django-viewlet

Error in readme regarding VIEWLET_JINJA2_ENVIRONMENT

gardeman opened this issue · 0 comments

When using jingo the env should be configured to:

VIEWLET_JINJA2_ENVIRONMENT = 'jingo.env'
NOT
VIEWLET_JINJA2_ENVIRONMENT = 'jingo.get_env'

otherwise all the jingo helpers won't be accessible from within the viewlet's templates