Skip to content

Commit

Permalink
chore: use default for guid
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Sep 18, 2024
1 parent 1b25c0c commit a413e20
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions downloads/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,3 @@ def item_pubdate(self, item: Release) -> datetime | None:
return timezone.make_aware(item.release_date)
return item.release_date
return None

def item_guid(self, item: Release) -> str:
"""Return a link as the GUID for the item.
``guid`` must be a full URL, unless `isPermaLink` attribute is false
https://validator.w3.org/feed/docs/error/InvalidHttpGUID.html
"""
return str(item.get_absolute_url())

0 comments on commit a413e20

Please sign in to comment.