Commits

Anonymous committed 1effd71

Fixed `GeoRSSSitemap` to no longer use both `args` and `kwargs` with `urlresolvers.reverse` (no longer allowed since r8760).

Comments (0)

Files changed (1)

django/contrib/gis/sitemaps/georss.py

         for section in feed_dict.keys():
             if slug_dict.get(section, False):
                 for slug in slug_dict[section]:
-                    self.locations.append(('%s/%s' % (section, slug)))
+                    self.locations.append('%s/%s' % (section, slug))
             else:
                 self.locations.append(section)
  
         return self.locations
 
     def location(self, obj):
-        return urlresolvers.reverse('django.contrib.syndication.views.feed',
-                                    args=(obj,), kwargs={'feed_dict' : self.feed_dict})
+        return urlresolvers.reverse('django.contrib.syndication.views.feed', args=(obj,))
+