mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-31 18:40:07 +03:00
update docs regarding coreapi with session-CSRF
This commit is contained in:
parent
b98d9ef0f6
commit
cee6823ec0
|
@ -428,6 +428,9 @@ the user to login, and then instantiate a client using session authentication:
|
|||
The authentication scheme will handle including a CSRF header in any outgoing
|
||||
requests for unsafe HTTP methods.
|
||||
|
||||
** Note: ** This mechanism does not work when used in conjunction with
|
||||
`CSRF_USE_SESSIONS = True` in your Django settings.
|
||||
|
||||
#### Token authentication
|
||||
|
||||
The `TokenAuthentication` class can be used to support REST framework's built-in
|
||||
|
|
Loading…
Reference in New Issue
Block a user