X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/14504aa581ca93dcbb32342c2b541b685f136aee..b00a18907b95d74b040d7950bd18d2b2a7709cb1:/forum/sitemap.py?ds=sidebyside 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