AlphacrucisCollege / django-template-utils

Fork of (abandoned?) package used in ac.edu.au. Exported via GoogleCodeExport.
https://bitbucket.org/ubernostrum/django-template-utils
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Feed entry attributes problem #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Feed entries don't always have title, summary, etc attributes. That depends
on the feed.

When a feed doesn't set these values an AtrributeError is raised causing a
500 error.

I am including a patch that changes entry.<attribute> calls with
entry.get('attribute')

-- 
Christos Trochalakis

Original issue reported on code.google.com by yati...@gmail.com on 2 Aug 2008 at 3:45

Attachments:

GoogleCodeExporter commented 8 years ago
How does one apply the patch?

Original comment by patrickb...@gmail.com on 16 Aug 2008 at 5:28

GoogleCodeExporter commented 8 years ago
Patrick, from the top level directory run:

patch -p1 <temp_utils.patch

Original comment by yati...@gmail.com on 16 Aug 2008 at 7:36

GoogleCodeExporter commented 8 years ago
Worked great. Thanks!

Original comment by patrickb...@gmail.com on 22 Aug 2008 at 2:21