Import `ContextDecorator` from std library

https://docs.djangoproject.com/en/4.2/releases/3.0/#removed-private-python-2-compatibility-apis
This commit is contained in:
Santiago L 2023-11-29 10:38:54 +01:00
parent 3ab341a473
commit 049ff451ec
1 changed files with 7 additions and 7 deletions

View File

@ -1,14 +1,14 @@
import sys
from contextlib import ContextDecorator
from threading import local
from django.contrib.admin.models import LogEntry
from django.db.models.signals import pre_delete, post_save, m2m_changed
from django.db.models.signals import m2m_changed, post_save, pre_delete
from django.dispatch import receiver
from django.utils.decorators import ContextDecorator
from orchestra.utils.python import OrderedSet
from . import manager, Operation, helpers
from . import Operation, helpers, manager
from .middlewares import OperationsMiddleware
from .models import BackendLog, BackendOperation