mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-10 13:44:43 +00:00
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 | ||