3👍
I would use your DEBUG
setting which is already included in django.core.context_processors.debug
.
{% if debug %}
<!-- scripts -->
{% else %}
<!-- other scripts -->
{% endif %}
Source:stackexchange.com
3👍
I would use your DEBUG
setting which is already included in django.core.context_processors.debug
.
{% if debug %}
<!-- scripts -->
{% else %}
<!-- other scripts -->
{% endif %}