Use URL as GUID

This makes changing URL links less of a pain
This commit is contained in:
Jake Howard 2023-09-06 13:41:13 +01:00
parent 36749ceac3
commit 9d891cd101
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -99,6 +99,9 @@ class AllPagesFeed(Feed):
.order_by("-last_published_at") .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: def item_title(self, item: BasePage) -> str:
return item.title return item.title