Use URL as GUID
This makes changing URL links less of a pain
This commit is contained in:
parent
36749ceac3
commit
9d891cd101
1 changed files with 3 additions and 0 deletions
|
@ -99,6 +99,9 @@ class AllPagesFeed(Feed):
|
|||
.order_by("-last_published_at")
|
||||
)
|
||||
|
||||
def item_guid(self, item: BasePage) -> str:
|
||||
return item.get_full_url(request=self.request)
|
||||
|
||||
def item_title(self, item: BasePage) -> str:
|
||||
return item.title
|
||||
|
||||
|
|
Loading…
Reference in a new issue