Bugfix for old django, expecting manager to be instance of models.Manager

This commit is contained in:
M1ha 2019-10-16 10:27:19 +05:00
parent 9d8bdb74b9
commit c58ed24187

View File

@ -7,7 +7,8 @@ from typing import Optional, Any, Type, Set
import six
from django.db import transaction
from django.db.models.manager import BaseManager, Manager
from django.db.models.manager import BaseManager
from django.db.models import Manager
from django.db.models.signals import post_save, post_delete
from django.dispatch import receiver
from django.db.models import QuerySet as DjangoQuerySet, Model as DjangoModel