From f0e04fc0692f525e285284d7ccc2a3dc9a969539 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 21 Nov 2019 01:54:22 -0400 Subject: [PATCH] Add missing db.transaction import Signed-off-by: Roberto Rosario --- mayan/apps/documents/models/document_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/documents/models/document_models.py b/mayan/apps/documents/models/document_models.py index 373303f185..129ddae920 100644 --- a/mayan/apps/documents/models/document_models.py +++ b/mayan/apps/documents/models/document_models.py @@ -5,7 +5,7 @@ import uuid from django.apps import apps from django.core.files import File -from django.db import models +from django.db import models, transaction from django.urls import reverse from django.utils.encoding import python_2_unicode_compatible from django.utils.timezone import now