From f3b3c569e770f8b576aba446847430586486bac6 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 4 May 2013 13:29:40 +0200 Subject: [PATCH] One more changed import location of wraps --- django/contrib/sitemaps/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/sitemaps/views.py b/django/contrib/sitemaps/views.py index a851f8088ae..95bc7eac543 100644 --- a/django/contrib/sitemaps/views.py +++ b/django/contrib/sitemaps/views.py @@ -1,4 +1,5 @@ import warnings +from functools import wraps from django.contrib.sites.models import get_current_site from django.core import urlresolvers @@ -6,7 +7,6 @@ from django.core.paginator import EmptyPage, PageNotAnInteger from django.http import Http404 from django.template.response import TemplateResponse from django.utils import six -from django.utils.functional import wraps def x_robots_tag(func): @wraps(func)