aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/authentication.py
diff options
context:
space:
mode:
authorTom Christie2012-08-24 20:57:10 +0100
committerTom Christie2012-08-24 20:57:10 +0100
commit87b363f7bc5f73d850df123a61895d65ec0b05e7 (patch)
tree1993adba1ad6a01c498c883babb157e3b4c7ee15 /djangorestframework/tests/authentication.py
parent4e4584a01a4cf67c23aec21088110cd477ba841b (diff)
downloaddjango-rest-framework-87b363f7bc5f73d850df123a61895d65ec0b05e7.tar.bz2
Remove PermissionsMixin
Diffstat (limited to 'djangorestframework/tests/authentication.py')
-rw-r--r--djangorestframework/tests/authentication.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/authentication.py b/djangorestframework/tests/authentication.py
index 5debc79a..24c59488 100644
--- a/djangorestframework/tests/authentication.py
+++ b/djangorestframework/tests/authentication.py
@@ -12,7 +12,7 @@ import base64
class MockView(View):
- permissions_classes = (permissions.IsAuthenticated,)
+ permission_classes = (permissions.IsAuthenticated,)
def post(self, request):
return HttpResponse({'a': 1, 'b': 2, 'c': 3})