Keep the original type when playing with django middlware settings.  This fixes #890
Keep the original type when playing with django middlware settings.  This fixes #890

getsentry/raven-python,johansteffner/raven-python,johansteffner/raven-python,johansteffner/raven-python,getsentry/raven-python,getsentry/raven-python