mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-23 01:57:03 +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 %} ``` |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
local.py | ||
production.py | ||
test.py |