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

🚀 Can I register filters when using django template engine? #172

Open
xiayulu opened this issue Mar 24, 2022 · 1 comment
Open

🚀 Can I register filters when using django template engine? #172

xiayulu opened this issue Mar 24, 2022 · 1 comment
Labels
✏️ Feature 🤔 Question Further information is requested

Comments

@xiayulu
Copy link

xiayulu commented Mar 24, 2022

Is your feature request related to a problem?
Yes.

Describe the solution you'd like
I want build some custom Django template filters like dict.

But I can find the Register API.

Can django template engine expose the filters Registers API?

Thanks ❤.

Describe alternatives you've considered
We can expose a method Register. So we can register filters like:

engine := django.New("./templates", ".html")
engine.Register(Dict)
app := fiber.New(fiber.Config{
	Views: engine,
})

That's awesome.

Additional context

@welcome
Copy link

welcome bot commented Mar 24, 2022

Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord

@ReneWerner87 ReneWerner87 transferred this issue from gofiber/fiber Mar 24, 2022
@ReneWerner87 ReneWerner87 added 🤔 Question Further information is requested ✏️ Feature labels Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✏️ Feature 🤔 Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants