From 2f142afd379a09ee69840e04e7a12fb279b13b65 Mon Sep 17 00:00:00 2001 From: JMP Date: Tue, 26 Feb 2019 17:55:02 +0100 Subject: [PATCH] Fix imports pep8 --- model_utils/models.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/model_utils/models.py b/model_utils/models.py index 0cfafe6..96c472b 100644 --- a/model_utils/models.py +++ b/model_utils/models.py @@ -1,12 +1,22 @@ from __future__ import unicode_literals -from model_utils.managers import QueryManager, SoftDeletableManager -from model_utils.fields import AutoCreatedField, AutoLastModifiedField, StatusField, MonitorField, UUIDField - import django from django.core.exceptions import ImproperlyConfigured from django.db import models from django.utils.translation import ugettext_lazy as _ + +from model_utils.fields import ( + AutoCreatedField, + AutoLastModifiedField, + StatusField, + MonitorField, + UUIDField, +) +from model_utils.managers import ( + QueryManager, + SoftDeletableManager, +) + if django.VERSION >= (1, 9, 0): from django.db.models.functions import Now now = Now()