This seems incorrect.
--
Ticket URL: <https://code.djangoproject.com/ticket/23720>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* needs_better_patch: => 0
* resolution: => needsinfo
* needs_tests: => 0
* needs_docs: => 0
Comment:
I think the problem is more likely your deployment configuration. Please
check your front-end server is correctly passing the SSL header. See
[https://github.com/django/django/blob/af7d66b4f2015b7681edde6736d552c69d119dd4/django/http/request.py#L157-L170
HttpRequest.scheme] for debugging. Please provide us more details where
you think the problem lies and reopen the ticket if you believe this is a
bug in Django.
--
Ticket URL: <https://code.djangoproject.com/ticket/23720#comment:1>