-
-
Notifications
You must be signed in to change notification settings - Fork 694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variables from extra_template_vars() not exposed in _context=1 #693
Comments
Here's why: datasette/datasette/views/base.py Lines 84 to 96 in 613f6fa
It's bypassing the .ds.render_template() call - and that's where the plugin hook is executed:Lines 520 to 564 in 613f6fa
|
So I should move the |
simonw
added a commit
that referenced
this issue
Apr 5, 2020
Fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
_context=1
debugging mode does not show variables that should have been added to the context by theextra_template_vars()
plugin hook.The text was updated successfully, but these errors were encountered: