mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-10 05:34:44 +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 %}
```
|
||
|---|---|---|
| .. | ||
| settings | ||
| __init__.py | ||
| celery_app.py | ||
| urls.py | ||
| wsgi.py | ||