[Answer]-How to remove the queries info in the page for Django

1👍

There’s no official or centralized django-html5-boilerplate package, but based on your problem, I’m guessing you’re using the one created by mike360 on github

If that’s the case, in base.html, you’ll find there the following bit of code:

{% if debug %}{% include 'includes/debug.html' %}{% endif %}

Setting DEBUG=False will make it go away (which you’ll have to do in production, so you’ll still need to solve that staticfiles problem), but if you simply don’t want to see it during development, remove it from the template.

Leave a comment