Now that the API uses TokenAuthentication, a token must be passed w/ most requests.
However, the backend still use SessionAuthentication for the standard Django workflow.
I have therefore added an API endpoint for those clients where login/registration is done via the backend (ie: Django forms/templates) which generates a token to use for pure API calls.
Now that the API uses
TokenAuthentication
, a token must be passed w/ most requests.However, the backend still use
SessionAuthentication
for the standard Django workflow.I have therefore added an API endpoint for those clients where login/registration is done via the backend (ie: Django forms/templates) which generates a token to use for pure API calls.