Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.

Commit

Permalink
Fix excluding schema view from doc for DRF 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksei Mikhailov committed May 18, 2019
1 parent 102d22e commit 781d1b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rest_framework_swagger/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def get_swagger_view(title=None, url=None, patterns=None, urlconf=None):
class SwaggerSchemaView(APIView):
_ignore_model_permissions = True
exclude_from_schema = True
schema = None
permission_classes = [AllowAny]
renderer_classes = [
CoreJSONRenderer,
Expand Down

0 comments on commit 781d1b1

Please sign in to comment.