Fix silly copy/paste mistake

This commit is contained in:
Magnus Hagander
2020-09-29 18:49:23 +02:00
parent c2dfdbe1af
commit e695136390

View File

@ -17,7 +17,7 @@ class EventFeed(Feed):
return Event.objects.filter(approved=True)[:10]
def item_link(self, obj):
return "https://www.postgresql.org/about/event/{}-{}/".format(slugify(event.title), obj.id)
return "https://www.postgresql.org/about/event/{}-{}/".format(slugify(obj.title), obj.id)
def item_pubdate(self, obj):
return datetime.combine(obj.startdate, time.min)