mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 16:24:18 +03:00
Fix typo.
This commit is contained in:
parent
1ec165f38c
commit
ba1e3b4699
|
@ -103,7 +103,7 @@ class DjangoModelPermissions(BasePermission):
|
||||||
|
|
||||||
# Map methods into required permission codes.
|
# Map methods into required permission codes.
|
||||||
# Override this if you need to also provide 'read' permissions,
|
# Override this if you need to also provide 'read' permissions,
|
||||||
# or if you want to provide custom permisson codes.
|
# or if you want to provide custom permission codes.
|
||||||
perms_map = {
|
perms_map = {
|
||||||
'GET': [],
|
'GET': [],
|
||||||
'OPTIONS': [],
|
'OPTIONS': [],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user