I’m preparing for Google Summer of Code 2026 and I’m interested in the project idea: “Add ergonomic control over missing variables in templates.”
Currently, Django silently converts missing vari
ables in templates to an empty string. I’d like to improve this by allowing:
Global mode silent, strict (raise error), or debug (show placeholder)
Per-variable control –
Before I start, I’d love advice from the community:
Are there any best practices I should follow when extending the template engine?
What pitfalls should I watch out for when handling missing variables?
Are there similar existing approaches in Django I should study?
Any suggestions, tips, or references would be greatly appreciated!
Thank you for your guidance.