diff options
| author | Sébastien Piquemal | 2012-02-23 22:47:45 +0200 | 
|---|---|---|
| committer | Sébastien Piquemal | 2012-02-23 22:47:45 +0200 | 
| commit | afd490238a38c5445013f030547b1019f484f0bc (patch) | |
| tree | d53ea67eae108c7c1d45aa52bb3f209155926349 /djangorestframework/tests/authentication.py | |
| parent | 9da1ae81dc9a056db94ea07f35478ed003fea598 (diff) | |
| download | django-rest-framework-afd490238a38c5445013f030547b1019f484f0bc.tar.bz2 | |
authentication refactor : request.user + tests pass
Diffstat (limited to 'djangorestframework/tests/authentication.py')
| -rw-r--r-- | djangorestframework/tests/authentication.py | 2 | 
1 files changed, 1 insertions, 1 deletions
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})  | 
