diff options
| author | Claude Paroz <claude@2xlibre.net> | 2013-05-04 11:53:12 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-05-04 11:53:12 +0200 |
| commit | ac9daa0cbdd82a6b3bcaf0cd5874bd7cdb94fc60 (patch) | |
| tree | 3568c331de2bac96a9a74ee3743de98bcc0fec03 /django/db/models/__init__.py | |
| parent | f9f0e8da4d1107575ebee07a808cd254ac3d9dc0 (diff) | |
Systematically imported wraps from functools
Diffstat (limited to 'django/db/models/__init__.py')
| -rw-r--r-- | django/db/models/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/django/db/models/__init__.py b/django/db/models/__init__.py index 6c5ccd4bd2..5f17229753 100644 --- a/django/db/models/__init__.py +++ b/django/db/models/__init__.py @@ -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): |
