Django-rest-swagger uses http scheme instead of https
On the production platform, the API documentation is available here. However, there is an issue with django-rest-swagger.
When clicking on the above mentioned documentation link, the address http://www.beat-eu.org/platform/docs/api-docs/ is shown instead of https://www.beat-eu.org/platform/docs/api-docs/, and the API documentation is not shown. If we manually update this address (to use https), then the API documentation shows up.
The suggestion of this issue is already applied in the Django's settings.py of the production server and this does not help.
Debugging at the javascript level, swagger submits a request with scheme
set to http
instead of https
. Unfortunately, I've not found any way to force the use of https
in django-rest-swagger.