Checklist
Steps to reproduce
Deploy your django project on a subpath with a proxy and make sure to set the SCRIPT_NAME header.
Expected behavior
Urls in the schema to be using the URLs with the SCRIPT_NAME prepended.
Actual behavior
URLs without the SCRIPT_NAME making the Django REST Swagger UI unusable, since its calling to the wrong URLs.
Also see this ticket at the Django REST Swagger repo: marcgibbons/django-rest-swagger#494 (comment)
Checklist
masterbranch of Django REST framework.Steps to reproduce
Deploy your django project on a subpath with a proxy and make sure to set the SCRIPT_NAME header.
Expected behavior
Urls in the schema to be using the URLs with the SCRIPT_NAME prepended.
Actual behavior
URLs without the SCRIPT_NAME making the Django REST Swagger UI unusable, since its calling to the wrong URLs.
Also see this ticket at the Django REST Swagger repo: marcgibbons/django-rest-swagger#494 (comment)