title: change password in django rest framework
body: <p>I am working on change password function for an API. My code runs fine locally. The problem is that when testing in postman I have to connect it using the login token. But in login, I have two passwords refresh and access. How should I configure Postman to give me access?</p>
  <p>I was advised to use Bearer and accept allow_classes = [permissions.IsAuthenticated]</p>
  <p>but when doing so, the login stops working and still cannot give access to password change.</p>