{% if settings.ENVIRONMENT != 'production' %}

Внимание, это {{settings.ENVIRONMENT }}

{% endif %} {% block content %}{% endblock %}