mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-26 09:14:34 +03:00
Update permissions.md
Adding additional note about the behavior of set permission classes per view as suggest on #3834
This commit is contained in:
parent
30ef38c861
commit
a37a8748cc
|
@ -100,6 +100,8 @@ Or, if you're using the `@api_view` decorator with function based views.
|
|||
}
|
||||
return Response(content)
|
||||
|
||||
__Note:__ when you set new permission classes through class attribute or decorators you're telling the view to ignore the default list set over the __settings.py__ file.
|
||||
|
||||
---
|
||||
|
||||
# API Reference
|
||||
|
|
Loading…
Reference in New Issue
Block a user