cookiecutter-django/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/utils
Dani Hodovic 69566f5456
Add context processor for settings variables
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 %}
```
2019-09-05 13:24:47 +02:00
..
__init__.py Add context processor for settings variables 2019-09-05 13:24:47 +02:00
context_processors.py Add context processor for settings variables 2019-09-05 13:24:47 +02:00