14 lines
332 B
Python
14 lines
332 B
Python
from django.contrib import sitemaps
|
|
from django.urls import reverse
|
|
|
|
|
|
class StaticViewSitemap(sitemaps.Sitemap):
|
|
priority = 0.5
|
|
changefreq = 'monthly'
|
|
|
|
def items(self):
|
|
return ['index', 'list_offers', 'create_offer', 'register_user', 'faq', 'imprint']
|
|
|
|
def location(self, item):
|
|
return reverse(item)
|