import settings from base for middleware & error handler drf
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from django.http import JsonResponse
|
||||
from rest_framework.views import exception_handler
|
||||
from django.conf import settings
|
||||
from Rasaddam_Backend import settings
|
||||
import traceback
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user