import settings from base for middleware & error handler drf

This commit is contained in:
2025-09-03 15:32:11 +03:30
parent 6f025b787a
commit 9c189fb572
3 changed files with 5 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ from rest_framework.exceptions import APIException
from django.http import JsonResponse
from rest_framework import status
from django.db import connection
from django.conf import settings
from Rasaddam_Backend import settings
import traceback
import os