views:

43

answers:

1

Ive defined a a class that inherits from django.contrib.syndication.feeds.Feed

class Rss(Feed):
...
    def item_title(self, item):
       return "Hello"

    def item_description(self, item):
       return "Test"

The issue is whats returned from the methods item_title and item_description is not what is used in the feed, even when not using a template.

Am I missing something?

+2  A: 

Are you using a recent trunk checkout, or version 1.1 or earlier? The item_title etc fields were only introduced since 1.1 was released.

If you're using 1.1, you should refer to the 1.1 documentation.

Daniel Roseman
Ok so this works as it should, I am just not reading the right Django Docs. Thanks!!
Sean