One more changed import location of wraps

This commit is contained in:
Claude Paroz 2013-05-04 13:29:40 +02:00
parent 66c83dce07
commit f3b3c569e7
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import warnings import warnings
from functools import wraps
from django.contrib.sites.models import get_current_site from django.contrib.sites.models import get_current_site
from django.core import urlresolvers from django.core import urlresolvers
@ -6,7 +7,6 @@ from django.core.paginator import EmptyPage, PageNotAnInteger
from django.http import Http404 from django.http import Http404
from django.template.response import TemplateResponse from django.template.response import TemplateResponse
from django.utils import six from django.utils import six
from django.utils.functional import wraps
def x_robots_tag(func): def x_robots_tag(func):
@wraps(func) @wraps(func)