79410709

Date: 2025-02-04 06:08:37
Score: 0.5
Natty:
Report link

On settings.py file I add the configuration. This is an example

from datetime import timedelta

SIMPLE_JWT = { 
       'ACCESS_TOKEN_LIFETIME': timedelta(hours=1),  
       'REFRESH_TOKEN_LIFETIME': timedelta(days=7)
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Lalo19