3. repeated access of data
I wanted to be able to access a consistent
per-user data set. UNIX-like variables such as
$USER, $HOME or any other arbitrary $VARIABLE.
I wanted to access them in views and in templates.
10. installation
• add ‘environment’ to INSTALLED_APPS
• add ‘environment.EnvironmentMiddleware’
to MIDDLEWARE_CLASSES.
• add ‘ENVPATH’ to settings.py. Should be
path to directory where your .env file will
live.