os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'uskovtask.settings')
django.setup()
return super(WSGIEnvironment, self).__call__(environ, start_response)
Django + mod_wsgi. Set OS environment variable from Apache's SetEnv