mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-02 19:40:13 +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
|
The authentication scheme will handle including a CSRF header in any outgoing
|
||||||
requests for unsafe HTTP methods.
|
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
|
#### Token authentication
|
||||||
|
|
||||||
The `TokenAuthentication` class can be used to support REST framework's built-in
|
The `TokenAuthentication` class can be used to support REST framework's built-in
|
||||||
|
|
Loading…
Reference in New Issue
Block a user