From: hernani Date: Tue, 4 Jan 2011 22:50:31 +0000 (+0000) Subject: Fixes a couple of bad imports in the sitemap code. X-Git-Tag: live~465 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/3ababc1ec667dd7bb0148d97770816462228a3fa?ds=sidebyside Fixes a couple of bad imports in the sitemap code. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@669 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/sitemap.py b/forum/sitemap.py index 43d0934..edb3220 100644 --- a/forum/sitemap.py +++ b/forum/sitemap.py @@ -1,10 +1,9 @@ from django.contrib.sitemaps import Sitemap from forum.models import Question from django.conf import settings -from django.http import HttpResponse +from django.http import HttpResponse, Http404 from django.template import loader from django.core import urlresolvers -from django.contrib.sites.models import get_current_site from django.utils.encoding import smart_str from django.core.paginator import EmptyPage, PageNotAnInteger