diff options
| author | Tom Christie | 2012-11-23 13:08:57 +0000 |
|---|---|---|
| committer | Tom Christie | 2012-11-23 13:09:14 +0000 |
| commit | 412f737ab2ea10bfb41e1737e338996f9f458320 (patch) | |
| tree | 8a1524e4564ed2f989669b71f73bd58a34caa78f /rest_framework | |
| parent | 7ade5add2193256d8838e140b73d38f97b1810c6 (diff) | |
| download | django-rest-framework-412f737ab2ea10bfb41e1737e338996f9f458320.tar.bz2 | |
Typo. Fixes #437.
Diffstat (limited to 'rest_framework')
| -rw-r--r-- | rest_framework/permissions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/permissions.py b/rest_framework/permissions.py index 655b78a3..258eb9ad 100644 --- a/rest_framework/permissions.py +++ b/rest_framework/permissions.py @@ -109,6 +109,6 @@ class DjangoModelPermissions(BasePermission): if (request.user and request.user.is_authenticated() and - request.user.has_perms(perms, obj)): + request.user.has_perm(perms, obj)): return True return False |
