title: Django Rest Framework JWT: How to change the token expiration time when logged in
body: <p>I'm using Django REST framework JWT Auth for session creation and permissions, the only problem is: when I log in and after the token expires I can't continue doing the operation I want, unless I log in again. And I <strong>didn't fully understand the documentations provided for the additional settings</strong>.</p>
  
  <p>So can any one explain a method for dynamically creating (and refreshing) my token (following best practices) so that I can keep doing operations when I'm logged in.</p>
  
  <p>P.S: I'm using angular 2 for my front end, and I'm inserting the token in the Http requests headers. Thanks.</p>