Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #7291 -- djangoproject.com weblog RSS feed now includes pubdate…

…s. Thanks, JimDabell

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@7759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8f1d0f86eeb426fd54bb426a67f097d0e018275d 1 parent b9dfa3e
adrian authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  django_website/apps/blog/feeds.py
3  django_website/apps/blog/feeds.py
View
@@ -9,3 +9,6 @@ class WeblogEntryFeed(Feed):
def items(self):
return Entry.objects.filter(pub_date__lte=datetime.datetime.now())[:10]
+
+ def item_pubdate(self, item):
+ return item.pub_date
Please sign in to comment.
Something went wrong with that request. Please try again.