install all packages and configurate

This commit is contained in:
behruz-dev
2025-07-30 17:03:37 +05:00
parent da201800b4
commit f89a257553
10 changed files with 167 additions and 8 deletions

View File

@@ -0,0 +1,10 @@
from datetime import timedelta
SIMPLE_JWT = {
"ACCESS_TOKEN_LIFETIME": timedelta(days=1),
"REFRESH_TOKEN_LIFETIME": timedelta(days=30),
"ROTATE_REFRESH_TOKENS": True,
"BLACKLIST_AFTER_ROTATION": True,
"UPDATE_LAST_LOGIN": True,
}