aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/authentication.py
diff options
context:
space:
mode:
authorTom Christie2012-09-12 10:13:14 +0100
committerTom Christie2012-09-12 10:13:14 +0100
commit2469cd2c837112cc8134bebc6d3ac34994529c78 (patch)
tree04015170c444a01335be35a4b60011593cbee31d /djangorestframework/tests/authentication.py
parentc85f799ade0710dd27838e8bfc78989c80213d6a (diff)
parent381fdd17a733d9e4279c43f30e7c0456eaef10c9 (diff)
downloaddjango-rest-framework-2469cd2c837112cc8134bebc6d3ac34994529c78.tar.bz2
Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2
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()),