2017-10-24 06:14:17 -04:00
|
|
|
from django.contrib import sitemaps
|
|
|
|
from django.urls import reverse
|
|
|
|
|
|
|
|
|
|
|
|
class HomeSitemap(sitemaps.Sitemap):
|
2023-08-10 02:52:37 -04:00
|
|
|
changefreq = "daily"
|
2017-10-24 06:14:17 -04:00
|
|
|
|
|
|
|
def items(self):
|
2023-08-10 02:52:37 -04:00
|
|
|
return ("home:index",)
|
2017-10-24 06:14:17 -04:00
|
|
|
|
|
|
|
def location(self, item):
|
|
|
|
return reverse(item)
|