mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-17 04:10:24 +00:00
Fix imports pep8
This commit is contained in:
parent
015dd4831f
commit
2f142afd37
1 changed files with 13 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue