Skip to content

Commit

Permalink
Merge pull request #569 from coderbydesign/disable-browser-api
Browse files Browse the repository at this point in the history
Disable browsable API
  • Loading branch information
coderbydesign authored Oct 27, 2021
2 parents e8ef184 + 39bf8f3 commit 0155b94
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rbac/rbac/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,7 @@
# or allow read-only access for unauthenticated users.
"DEFAULT_PERMISSION_CLASSES": ["rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly"],
"DEFAULT_PAGINATION_CLASS": DEFAULT_PAGINATION_CLASS,
"DEFAULT_RENDERER_CLASSES": (
"rest_framework.renderers.JSONRenderer",
"rest_framework.renderers.BrowsableAPIRenderer",
),
"DEFAULT_RENDERER_CLASSES": ("rest_framework.renderers.JSONRenderer",),
"EXCEPTION_HANDLER": DEFAULT_EXCEPTION_HANDLER,
"ORDERING_PARAM": "order_by",
}
Expand Down

0 comments on commit 0155b94

Please sign in to comment.