]> git.openstreetmap.org Git - osqa.git/commitdiff
Protocol was in double in sitemap.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 28 Jun 2010 14:40:49 +0000 (14:40 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 28 Jun 2010 14:40:49 +0000 (14:40 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@460 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/sitemap.py

index d2d79308e48b953af87b1ee2f4210163a83f7805..27528a0a16dd4fc1b65a4b2503dd108c44fa1bec 100644 (file)
@@ -26,7 +26,7 @@ class QuestionsSitemap(Sitemap):
     def get_urls(self, page=1):
         urls = []
         for item in self.paginator.page(page).object_list:
-            loc = "http://%s%s" % (settings.APP_URL, self.__get('location', item))
+            loc = "%s%s" % (settings.APP_URL, self.__get('location', item))
             url_info = {
                 'location':   loc,
                 'lastmod':    self.__get('lastmod', item, None),