Systematically imported wraps from functools
This commit is contained in:
parent
f9f0e8da4d
commit
ac9daa0cbd
|
@ -1,3 +1,5 @@
|
|||
from functools import wraps
|
||||
|
||||
from django.core.exceptions import ObjectDoesNotExist, ImproperlyConfigured
|
||||
from django.db.models.loading import get_apps, get_app, get_models, get_model, register_models
|
||||
from django.db.models.query import Q
|
||||
|
@ -11,7 +13,6 @@ from django.db.models.fields.files import FileField, ImageField
|
|||
from django.db.models.fields.related import ForeignKey, ForeignObject, OneToOneField, ManyToManyField, ManyToOneRel, ManyToManyRel, OneToOneRel
|
||||
from django.db.models.deletion import CASCADE, PROTECT, SET, SET_NULL, SET_DEFAULT, DO_NOTHING, ProtectedError
|
||||
from django.db.models import signals
|
||||
from django.utils.decorators import wraps
|
||||
|
||||
|
||||
def permalink(func):
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import re
|
||||
import warnings
|
||||
from functools import wraps
|
||||
from xml.dom.minidom import parseString, Node
|
||||
|
||||
from django.conf import settings, UserSettingsHolder
|
||||
|
@ -10,7 +11,6 @@ from django.template import Template, loader, TemplateDoesNotExist
|
|||
from django.template.loaders import cached
|
||||
from django.test.signals import template_rendered, setting_changed
|
||||
from django.utils.encoding import force_str
|
||||
from django.utils.functional import wraps
|
||||
from django.utils import six
|
||||
from django.utils.translation import deactivate
|
||||
|
||||
|
|
Loading…
Reference in New Issue