You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I'm not really happy with this. I don't completely understand what the role of self.__globals__ is here. I'm sure there must be a better fix than this!
The text was updated successfully, but these errors were encountered:
I can't seem to use
<py:import>
within a template that is called via<py:extends>
Here's a test case to show what I'm talking about:
This fails with the error
NameError: name 'lib' is not defined
.I can fix it easily enough with this patch:
But I'm not really happy with this. I don't completely understand what the role of
self.__globals__
is here. I'm sure there must be a better fix than this!The text was updated successfully, but these errors were encountered: