Skip to content
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

Assets functionality probably shouldn't use flask's _request_ctx_stack #176

Open
rsyring opened this issue Sep 16, 2021 · 0 comments
Open

Comments

@rsyring
Copy link
Member

rsyring commented Sep 16, 2021

It should probably go on the app context stack (which, despite the name, is refreshed for every request). This can be accessed at flask.g although some thought maybe should be given to name-spacing instead of just doing flask.g.assets. Maybe flask.g.keg-assets would be sufficient but still seems a bit presumptive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant