PrefixLoader does not pass globals to load (with fix) #225
Comments
|
This is preventing us from using jinja 2.7 |
|
@mw44118 Have you tested my open pull request? |
|
No, I didn't apply it, but I did the exact same thing to fix the bug On Wed, Jul 24, 2013 at 10:54 AM, Morris Jobke notifications@github.comwrote:
W. Matthew Wilson |
|
Fixed in 2.7.2, 701e9ad |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After upgraded to 2.7, my app got an error:
UndefinedError: 'static_url' is undefined
where 'static_url' is a global function. And this worked before the upgrade.
It works after changing line 352 in loaders.py as below:
return loader.load(environment, local_name)
=>
return loader.load(environment, local_name, globals)
The text was updated successfully, but these errors were encountered: