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,