rvanlaar/djangorecipe — Issue #17: wsgi stub generation should have initialization option ala zc.recipe.egg interpreter stuff
Author: rvanlaar
Created: 2011-12-27 21:40:19+00:00
State: open
Labels: New, Undecided

so say you need to initialize a library, or monkeypatch ( django_localeurl) or want to wrap the django wsgi handler in middleware.

the wsgi stub presents the best place to do so, i propose an option for djangorecipe to add a wsgi_initialization parameter which allows
you to put a code block into generated django.wsgi file.