๐ Can I register filters when using django template engine?
xiayulu opened this issue ยท 1 comments
xiayulu commented
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 commented
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