I think this is a great idea. I saw Adam’s post on Mastodon and realised this was a common problem I had encountered but didn’t have a good solution to fix it. The custom template tag is a good solution, but would be great to have this as an option in core Django. Of course, the docs will need to make sure people understand that if they choose to use this tag, they must have good testing for all views, otherwise their sites will break in production.