Final touches before deployment, celery installed

This commit is contained in:
matteo-id committed 2022-06-08 21:38:34 -04:00
1 parent 544f5324e0
commit a2e9d8f879
1212 files changed
+133115 -74

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
from django.contrib import sitemaps
from django.urls import reverse, path
from .views import home, about, robots_txt
class StaticViewSitemap(sitemaps.Sitemap):
protocol = 'http'
priority=.5,
changefreq='weekly'
def items(self):
return ['home', 'about', 'robots_txt']
def location(self, item):
return reverse(item)