diff --git a/mayan/apps/documents/managers.py b/mayan/apps/documents/managers.py index 486579f854..b1f1b37c8a 100644 --- a/mayan/apps/documents/managers.py +++ b/mayan/apps/documents/managers.py @@ -106,7 +106,7 @@ class DocumentTypeManager(models.Manager): class DocumentManager(models.Manager): def get_by_natural_key(self, uuid, *document_type_key): - from .model import DocumentType + from .models import DocumentType document_type = DocumentType.objects.get_by_natural_key(*document_type_key) return self.get(uuid=uuid, document_type=document_type)