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
When creating a new page with add_page, I would have expected to be able to set context variables directly for both the server-side and the config.json. Currently, creating a view as a third parameter is the only way to pass a context variable through.
It would be really handy to be able to pass variables directly through to both the config.json and the "page_name".json.
Thanks!
The text was updated successfully, but these errors were encountered:
Yes, this would be a good feature to have, and it would more closely match the behavior in app.js. I've updated app.py to use the config as the context for simple pages added through add_page.
When creating a new page with add_page, I would have expected to be able to set context variables directly for both the server-side and the config.json. Currently, creating a view as a third parameter is the only way to pass a context variable through.
It would be really handy to be able to pass variables directly through to both the config.json and the "page_name".json.
Thanks!
The text was updated successfully, but these errors were encountered: