diff options
| author | Tom Christie | 2012-09-11 06:30:28 -0700 |
|---|---|---|
| committer | Tom Christie | 2012-09-11 06:30:28 -0700 |
| commit | 381fdd17a733d9e4279c43f30e7c0456eaef10c9 (patch) | |
| tree | d3281dcb19809125ec94d8c419facc2b1a7ae69e /djangorestframework/tests/request.py | |
| parent | d4f8b4cf0683923fe85652f8fd572d2931eb3074 (diff) | |
| parent | 272c49685c8823068492ec9fadb7f982001244d7 (diff) | |
| download | django-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/request.py')
| -rw-r--r-- | djangorestframework/tests/request.py | 2 |
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: |
