Commits

Bruno Renié committed c46a38f

Fixed the sitemap tests

  • Participants
  • Parent commits 158d849

Comments (0)

Files changed (1)

 
 
 class StaticSitemap(Sitemap):
-
-    def get_urls(self, page=1, site=None):
+    def get_urls(self, page=1, site=None, protocol=None):
         if site is None:
             site = Site.objects.get_current()
         urls = []
 
 class TagSitemap(Sitemap):
     """A sitemap for tag pages"""
-
-    def get_urls(self, page=1, site=None):
+    def get_urls(self, page=1, site=None, protocol=None):
         if site is None:
             site = Site.objects.get_current()
         urls = []
 
 class GallerySitemap(Sitemap):
     """Galleries and pictures"""
-
-    def get_urls(self, page=1, site=None):
+    def get_urls(self, page=1, site=None, protocol=None):
         if site is None:
             site = Site.objects.get_current()
         urls = []