Closed sarwarmdgolam closed 3 months ago
I made a PR for this error, it's because some imports of exceptions are missing and the error messages indicates that they are missing, until approval you can just import the missing constant and class with:
from django.db import IntegrityError
from rest_framework.status import HTTP_500_INTERNAL_SERVER_ERROR
Describe the bug Exception type 'IntegrityError' is not found
To Reproduce Steps to reproduce the behavior:
Expected behavior 'IntegrityError' list need to import properly.