Hi guys, I'm trying to make the rss work. I managed to call the "LatestGalleriesFeed" function by using direct pointing in url (commented out in the urlpatter bellow), but when trying to use the generic view with the feeds mapping I get the error "object.__new__() takes no parameters"
Thanks! Gabriel - Iulian Dumbrava This is my configuration: from verticalsoftware.galleries.models import LatestGalleriesFeed feeds = { #'articles': ArticlesFeed, 'blogs': LatestEntries, #'podcasts': PodcastFeed, 'gallery': LatestGalleriesFeed, } urlpatterns = patterns('', (r'^feeds/(?P<url>.*)/', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}), #(r'^feeds/$', LatestGalleriesFeed()), ... and the function is: class LatestGalleriesFeed(Feed): title = "Chicagocrime.org site news" link = "/sitenews/" description = "Updates on changes and additions to chicagocrime.org." def items(self): return Gallery.objects.all().order_by('-date_added')[:5] def item_title(self, item): return item.title def item_description(self, item): return item.description def item_link(self, item): return item.get_self_url -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.