We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add default authentication to views.
Example for viewset, modelviewset, apiview
from rest_framework import permissions class SomeViewSet(SomeViewType): permission_classes = (permissions.SomePermission,)
Example for function based
@permission_classes(permissions.SomePermission,) def some_veiw(): ...
The text was updated successfully, but these errors were encountered:
Need to define what the defaults should be (if any) and what the command syntax will be.
Sorry, something went wrong.
Decided this isn't something we need right away. Generators gives you a starting point, not a production ready API.
No branches or pull requests
Add default authentication to views.
Example for viewset, modelviewset, apiview
Example for function based
The text was updated successfully, but these errors were encountered: