aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/request.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/request.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/request.py')
-rw-r--r--djangorestframework/tests/request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/request.py b/djangorestframework/tests/request.py
index 8b2f66ee..51e3660c 100644
--- a/djangorestframework/tests/request.py
+++ b/djangorestframework/tests/request.py
@@ -217,7 +217,7 @@ class TestContentParsing(TestCase):
class MockView(APIView):
- authentication = (SessionAuthentication,)
+ authentication_classes = (SessionAuthentication,)
def post(self, request):
if request.POST.get('example') is not None: