mercredi 23 décembre 2015

How do you disable SECURE_SSL_REDIRECT for some views in Django?

I have a site where I want SECURE_SSL_REDIRECT = True for most views, but there is one view that I need to disable SSL (for communication with a client program that doesn't support it).

I could create a whole new django project for the view that doesn't require SSL, but there must be an easier way to manage that. How can I selectively turn off the SSL redirect?




Aucun commentaire:

Enregistrer un commentaire