How to build login and logout API for token authentication and how to use that token in other APIs.
django rest framework REST rest api django python