diff options
| author | Tom Christie | 2013-06-29 22:53:15 +0100 | 
|---|---|---|
| committer | Tom Christie | 2013-06-29 22:53:15 +0100 | 
| commit | c9485c783a555516e41068996258f4c5e383523b (patch) | |
| tree | a4a29ab8ac2b03b7ee093525e5a63698ba78b4dc /rest_framework/test.py | |
| parent | ab799ccc3ee473de61ec35c6f745c6952752c522 (diff) | |
| download | django-rest-framework-c9485c783a555516e41068996258f4c5e383523b.tar.bz2 | |
Rename to force_authenticate
Diffstat (limited to 'rest_framework/test.py')
| -rw-r--r-- | rest_framework/test.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/rest_framework/test.py b/rest_framework/test.py index 2e9cfe09..2f658a56 100644 --- a/rest_framework/test.py +++ b/rest_framework/test.py @@ -109,7 +109,7 @@ class APIClient(APIRequestFactory, DjangoClient):          """          self._credentials = kwargs -    def authenticate(self, user=None, token=None): +    def force_authenticate(self, user=None, token=None):          """          Forcibly authenticates outgoing requests with the given          user and/or token. | 
