Hacker News new | past | comments | ask | show | jobs | submit login

I am using {% macro %}



I've been gradually removing all use of Jinja macros from our projects as they make debugging so much more painful. Everything now goes in template globals, which lets you debug them the same as anything else, gives far clearer stack traces and lets you do clever things with caching.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: