mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-11 04:07:48 +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 %} ``` |
||
---|---|---|
.. | ||
settings | ||
__init__.py | ||
celery_app.py | ||
urls.py | ||
wsgi.py |