diff --git a/core/api/utils/polymorphism.py b/core/api/utils/polymorphism.py index a72e6032..f995f33b 100644 --- a/core/api/utils/polymorphism.py +++ b/core/api/utils/polymorphism.py @@ -3,6 +3,7 @@ from json import JSONDecodeError from typing import Any, Callable, Dict, Iterable, List, Optional, Protocol, Set +from django.conf import settings from django.core.exceptions import BadRequest from django.db.models import Model, Q from django.shortcuts import get_object_or_404