Ticket #7291: weblog-dates.diff
File weblog-dates.diff, 404 bytes (added by , 16 years ago) |
---|
-
django_website/apps/blog/feeds.py
9 9 10 10 def items(self): 11 11 return Entry.objects.filter(pub_date__lte=datetime.datetime.now())[:10] 12 13 def item_pubdate(self, item): 14 return item.pub_date