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

[Feature Request] Blueprints cannot access the 'decorator way' of managing / rendering templates #216

Open
carzilla opened this issue Jul 18, 2023 · 0 comments

Comments

@carzilla
Copy link

Is your feature request related to a problem? Please describe your use case.
It's not a huge problem, but in my project I love to do the 'decorator way' of managing templating, as per documentation @app.ext.template("foo.html").

If you use a Blueprint however, you cannot do @bp.ext.template.

Describe the solution you'd like
It would be amazing if you can uniformly use the same ways of rendering templates in blueprints too.

Additional context
It's not a big issue of course, but I genuinely appreciate how pretty it looks with a decorator and then returning a dict, so I'd love to be able to keep the same style in all parts of my projects.

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