Files
django_lottopy/lottopy_site/lottopy/sitemaps.py
T
2026-09-27 13:19:56 -04:00

15 lines
343 B
Python
Executable File

from django.contrib import sitemaps
from django.urls import reverse
#from .views import home, about, robots_txt
class StaticViewSitemap(sitemaps.Sitemap):
protocol = 'http'
priority=.5,
changefreq='weekly'
def items(self):
return ['home', 'about', 'links']
def location(self, item):
return reverse(item)