Fix warnings
This commit is contained in:
parent
5bb0801f15
commit
afadaa3cf3
1 changed files with 2 additions and 1 deletions
|
|
@ -14,5 +14,6 @@ class StaticViewSitemap(Sitemap):
|
|||
"""Return all the items in the sitemap."""
|
||||
return ["feeds:index", "feeds:feeds", "feeds:domains"]
|
||||
|
||||
def location(self, item) -> str:
|
||||
def location(self, item: str) -> str:
|
||||
"""Return the location of the item."""
|
||||
return reverse(item)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue