Skip to content

Commit

Permalink
rss feed: guids are not permalinks, fixes #111
Browse files Browse the repository at this point in the history
  • Loading branch information
thomersch committed May 17, 2024
1 parent ab42e11 commit 1a883b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions osmcal/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ def item_link(self, item):
def item_guid(self, obj):
return "osmcal-event-{}".format(obj.id)

def item_guid_is_permalink(self, obj):
return False


class EventView(View):
def get(self, request, event_id):
Expand Down

0 comments on commit 1a883b2

Please sign in to comment.