From ef77146289a7f48be1ae6eb727c913fb8c7924a6 Mon Sep 17 00:00:00 2001 From: Mojtaba-z Date: Sun, 4 May 2025 15:52:38 +0330 Subject: [PATCH] change SIGNING_KEY in settings --- Rasaddam_Backend/settings.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Rasaddam_Backend/settings.py b/Rasaddam_Backend/settings.py index 36b2633..f4b50ac 100644 --- a/Rasaddam_Backend/settings.py +++ b/Rasaddam_Backend/settings.py @@ -13,9 +13,7 @@ import os.path from pathlib import Path from datetime import timedelta from django.conf import settings -import django -django.setup() # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent @@ -117,7 +115,7 @@ SIMPLE_JWT = { "UPDATE_LAST_LOGIN": False, "ALGORITHM": "HS256", - "SIGNING_KEY": settings.SECRET_KEY, + "SIGNING_KEY": 'django-insecure-@0apn-lk85pfw=z00x2ib$w9#rwz8%2v4i_n^^9jz-m9b+y55*', "VERIFYING_KEY": "", "AUDIENCE": None, "ISSUER": None,