Django env context processor
Project description
Installation
$ [sudo] pip install django-env-context-processor
settings.py
TEMPLATES = [
{
# …
'OPTIONS': {
'context_processors': [
'django_env_context_processor.context_processors.env',
],
},
},
]
.env
export ENV_VARIABLE=42
Templates
{{ ENV_VARIABLE }}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-env-context-processor-2020.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceb9693a5d1cfae2fcffcd9cd93da5b1e7aa0e31fc5cf747d0fec451d03326e4 |
|
MD5 | 0a0b674f0d57acfe1d76168f4200d079 |
|
BLAKE2b-256 | 4e41df4dce144cd8a525192f66c89c213bf0c7adb307d7a0b54c66a294f4f0e8 |