I dont think you should need this. sentry.wsgi immediately does a configure() to import the settings in a correct manner