4 ms·
See also django-zen-queries https://github.com/dabapps/django-zen-queries https://github.com/dabapps/django-zen-queries , which can make it impossible for chang
by jonatron 4y ago
See also django-zen-queries https://github.com/dabapps/django-zen-queries https://github.com/dabapps/django-zen-queries , which can make it impossible for changes to a template to trigger queries.
- rlawson 4y agoCame here to post just that. Really like zen queries
- stavros 4y agoI like Zen queries, but sometimes you just have to make queries in templates (e.g. when you want to check the user on the request object), or sometimes it's just convenient and there's nothing wrong with it (e.g. when you want to check the user on the request object). Zen queries makes that use case impossible, sadly.
- jonatron 4y agoI don't actually use Zen queries myself, but it does have a queries_disabled template tag, which would allow for more specific control.