diff options
| author | Tom Christie | 2012-09-12 10:13:14 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-09-12 10:13:14 +0100 |
| commit | 2469cd2c837112cc8134bebc6d3ac34994529c78 (patch) | |
| tree | 04015170c444a01335be35a4b60011593cbee31d /djangorestframework/tests/authentication.py | |
| parent | c85f799ade0710dd27838e8bfc78989c80213d6a (diff) | |
| parent | 381fdd17a733d9e4279c43f30e7c0456eaef10c9 (diff) | |
| download | django-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.py | 2 |
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()), |
