aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/request.py
diff options
context:
space:
mode:
authorJamie Matthews2012-09-11 14:17:26 +0100
committerJamie Matthews2012-09-11 14:20:35 +0100
commit272c49685c8823068492ec9fadb7f982001244d7 (patch)
treed3281dcb19809125ec94d8c419facc2b1a7ae69e /djangorestframework/tests/request.py
parentd4f8b4cf0683923fe85652f8fd572d2931eb3074 (diff)
downloaddjango-rest-framework-272c49685c8823068492ec9fadb7f982001244d7.tar.bz2
Better naming for properties on views, requests and responses
renderers is now renderer_classes parsers is now parser_classes authentication is now authentication_classes
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: