Ever wanted something like environment variables for your Django app? Something along the lines of $USER, $HOME or any other arbitrary $VARIABLE from which you could pull data?
Django-environment is a system to provide environment variables to django apps. It accomplishes this through middleware and a number of "variable generators" that generate values for specified variables.
The environment variables are then easily accessible anywhere within the executing request thread, or from within the template. Variable generators are available for most common cases, and its a simple matter to create new variable generators.