marcgibbons / django-rest-swagger

Swagger Documentation Generator for Django REST Framework: deprecated

Home Page:https://marcgibbons.com/django-rest-swagger/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Restrict access to only admins

vj68 opened this issue · comments

commented

How do I restrict access to swagger docs in my django project to only admins ?
Adding is_supersuser to SWAGGER_SETTINGS doesn't help.