Hello,
    I've created a Feed subclass to export a simple feed of news
http://paste.pocoo.org/show/248193/. As you can see (L45-46), the Feed
subclass' items() method returns the first 15 objects in
News.objects.order_by('-time'):

    def items(self):
        return News.objects.order_by('-time')[:15]

Nevertheless, only one item is exported in the feed:
http://www.sshguard.net/litenewz/feeds/news/

Unfortunately, there are two objects of the News model:

>>> from litenewz.models import *
>>> News.objects.all()
[<News: Version 1.5 and timing>, <News: SSHGuard news>]

Any help?

I prefer not to switch to Django 1.2, unless this is strictly
necessary to solve the issue described.

Thanks in advance,
-- Federico

-- 
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.

Reply via email to