django rest swagger does not display properly -
i want use django-rest-swagger document apis, follow official doc setting in django app. doesn't display below:
i using nginx+supervisor+gunicorn serve django app. possible cause it?
the proper page should below:
s http://www.django-rest-framework.org/img/django-rest-swagger.png
i assume static files not configured. can see in firebug or chrome dev tools.
- read documentation how deploy static files (https://docs.djangoproject.com/en/1.8/howto/static-files/deployment/)
- check rest_swagger in installed_apps.
- check static_url, static_root settings setted properly.
- call collectstatic management command.
- check nginx configured serve static files in static_root folder.
Comments
Post a Comment