mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 11:34:00 +03:00
69566f5456
This allows for usage of settings variables in templates, e.g ``` {% if settings.USE_ANALYTICS %} <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ settings.GOOGLE_TAG_MANAGER_ID }}" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> {% endif %} ``` |
||
---|---|---|
.. | ||
contrib | ||
static | ||
templates | ||
users | ||
utils | ||
__init__.py | ||
conftest.py |