SSL redirect error when using CacheMiddleware

Issue #424 new
Former user created an issue

Error reported by orimarti in #240:
This happens when I add the "django.middleware.cache.CacheMiddleware?" to Middleware's. If I have the example.com/admin with SSL enabled, when I go to the http://example.com/admin (not https://), I dont know why but I'm not redirected to https://example.com/admin. If I log in with the http://example.com/admin it occurs that error

{{{
RuntimeError at /accounts/login/
Django can't perform a SSL redirect while maintaining POST data. Please structure your views so that redirects only occur during GETs.
}}}

Reported by jshaffer

Comments (0)

  1. Log in to comment