1. David Jean Louis
  2. django-admin-tools

Commits

David Jean Louis  committed 06eb7dc

Fixed issue #126 (feedparser deprecation warning)

  • Participants
  • Parent commits a0abfff
  • Branches default

Comments (0)

Files changed (1)

File admin_tools/dashboard/modules.py

View file
  • Ignore whitespace
         for entry in entries:
             entry.url = entry.link
             try:
-                entry.date = datetime.date(*entry.updated_parsed[0:3])
+                entry.date = datetime.date(*entry.published_parsed[0:3])
             except:
                 # no date for certain feeds
                 pass