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

Fix excluding schema view from doc page for DRF 3.9 #801

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

This project is no longer being maintained. Please consider **drf-yasg** as an alternative/successor. I haven't personally used it, but it looks feature-complete and is actively maintained.

### New changes
### https://github.com/axnsan12/drf-yasg

Thanks for all the support and contributions over the years. Special thanks to [Lights on Software](https://lightsonsoftware.com/), [Lincoln Loop](https://lincolnloop.com/) and BNOTIONS for generously donating time to work on this project :heart:.
Expand Down
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