samedi 16 avril 2016

how can I make an https request using django 1.6 test client?

I know that I can do this with

self.client.get('/path/', {'query': 'abs'}, secure=True)

in recent versions, but it does not work in django 1.6, as argument 'secure' was added in 1.7

Aucun commentaire:

Enregistrer un commentaire