Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smarter MIDDLEWARE_CLASSES positioning #1

Open
stefanfoulis opened this issue Jan 11, 2016 · 0 comments
Open

smarter MIDDLEWARE_CLASSES positioning #1

stefanfoulis opened this issue Jan 11, 2016 · 0 comments

Comments

@stefanfoulis
Copy link
Contributor

I'm not sure how to robustly introspect when determining the best location. But the middleware should be after aldryn_sites.middleware.SiteMiddleware and djangosecure.middleware.SecurityMiddleware (django.middleware.security.SecurityMiddleware on aldryn-django>=1.8.8.2), since those do domain level and http/https redirects.

Those middlewares are added by aldryn-django, but not with all versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant