Ticket #7291: weblog-dates.diff

File weblog-dates.diff, 404 bytes (added by Jim Dabell <jim@…>, 7 years ago)
  • django_website/apps/blog/feeds.py

     
    99
    1010    def items(self):
    1111        return Entry.objects.filter(pub_date__lte=datetime.datetime.now())[:10]
     12
     13    def item_pubdate(self, item):
     14        return item.pub_date
Back to Top