code: def EXPIRING_TOKEN_LIFESPAN(self):
          
          try:
              val = settings.EXPIRING_TOKEN_LIFESPAN
          except AttributeError:
              val = timedelta(days=30)
  
          return val
docs: Return the allowed lifespan of a token as a TimeDelta object.
  
          Defaults to 30 days.