cookiecutter-django/{{cookiecutter.project_slug}}/config/settings
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 Remove Python 2.7 support per #1129 (#1130) 2017-04-21 12:31:45 -07:00
base.py Add context processor for settings variables 2019-09-05 13:24:47 +02:00
local.py Remove EMAIL_HOST, EMAIL_PORT for console backend 2019-08-21 17:31:18 +02:00
production.py Remove AWS_PRELOAD_METADATA 2019-08-25 14:08:28 +02:00
test.py Remove redundant DEBUG = False in test.py 2019-08-26 16:25:36 +02:00