On 2/28/07, VirusRaja <[EMAIL PROTECTED]> wrote:
> Below is my class to generate rss feed for a list
> Which is an erroro "class a get_absolute_url() method, or define an
> item_link() method in your Feed class."
>
> Can any one help me with this.

The error message is telling you exactly what to do: you need to give
your class a get_absolute_url() method, or define item_link() in your
Feed class.

So either::

  class MyModel(Model):
     ...

     def get_absolute_url(self):
       return "/some/url/"

Or, on your Feed class::

  class LatestEntries(Feed):
    ...

    def item_link(self, item):
      return "/some/url/"

Jacob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to