aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/authentication.py
diff options
context:
space:
mode:
authorTom Christie2012-09-11 06:30:28 -0700
committerTom Christie2012-09-11 06:30:28 -0700
commit381fdd17a733d9e4279c43f30e7c0456eaef10c9 (patch)
treed3281dcb19809125ec94d8c419facc2b1a7ae69e /djangorestframework/tests/authentication.py
parentd4f8b4cf0683923fe85652f8fd572d2931eb3074 (diff)
parent272c49685c8823068492ec9fadb7f982001244d7 (diff)
downloaddjango-rest-framework-381fdd17a733d9e4279c43f30e7c0456eaef10c9.tar.bz2
Merge pull request #259 from j4mie/rename-properties
Better naming for properties on views, requests and responses
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 fcc8f7ba..dab06b97 100644
--- a/djangorestframework/tests/authentication.py
+++ b/djangorestframework/tests/authentication.py
@@ -23,7 +23,7 @@ class MockView(APIView):
def put(self, request):
return HttpResponse({'a': 1, 'b': 2, 'c': 3})
-MockView.authentication += (TokenAuthentication,)
+MockView.authentication_classes += (TokenAuthentication,)
urlpatterns = patterns('',
(r'^$', MockView.as_view()),