From afd490238a38c5445013f030547b1019f484f0bc Mon Sep 17 00:00:00 2001 From: Sébastien Piquemal Date: Thu, 23 Feb 2012 22:47:45 +0200 Subject: authentication refactor : request.user + tests pass --- djangorestframework/tests/authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'djangorestframework/tests/authentication.py') diff --git a/djangorestframework/tests/authentication.py b/djangorestframework/tests/authentication.py index 25410b04..5debc79a 100644 --- a/djangorestframework/tests/authentication.py +++ b/djangorestframework/tests/authentication.py @@ -12,7 +12,7 @@ import base64 class MockView(View): - permissions = (permissions.IsAuthenticated,) + permissions_classes = (permissions.IsAuthenticated,) def post(self, request): return HttpResponse({'a': 1, 'b': 2, 'c': 3}) -- cgit v1.2.3