[Answer]-Where to put DB-accessing template helper functions in Django

1👍

The Django equivalent of helpers is custom template tags, and it’s certainly appropriate to put db-accessing code there.

However, if it’s only for a single page, I’m not sure why you wouldn’t do it in the view.

Leave a comment