Improve grammar in .force_authenticate() docs

* Remove unnecessary comma
* Remove the "and simple" copied from the line above.
* Add "entirely" to emphasize that this function bypasses the authentication step.
This commit is contained in:
Rodney Folz 2017-04-27 15:44:06 -07:00 committed by GitHub
parent 80d0ee563a
commit 971bc066c5

View File

@ -162,7 +162,7 @@ The `credentials` method is appropriate for testing APIs that require authentica
#### .force_authenticate(user=None, token=None) #### .force_authenticate(user=None, token=None)
Sometimes you may want to bypass authentication, and simple force all requests by the test client to be automatically treated as authenticated. Sometimes you may want to bypass authentication entirely and force all requests by the test client to be automatically treated as authenticated.
This can be a useful shortcut if you're testing the API but don't want to have to construct valid authentication credentials in order to make test requests. This can be a useful shortcut if you're testing the API but don't want to have to construct valid authentication credentials in order to make test requests.