🚀 Can I register filters when using django template engine?
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 314
- Forks
- 61
- Avg merge
- 4h 35m
- Merged PRs (30d)
- 12
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the django.New entry point and its integration with Fiber's Views configuration. Trace how the engine is initialized and determine where the requested Register API would fit. Done means a custom filter can be registered through the engine and used by Django templates, with coverage for that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100