summaryrefslogtreecommitdiff
path: root/app/blog/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/blog/models.py')
-rw-r--r--app/blog/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/blog/models.py b/app/blog/models.py
index 61ac407..ee4aca0 100644
--- a/app/blog/models.py
+++ b/app/blog/models.py
@@ -57,13 +57,13 @@ class Entry(models.Model):
super(Entry, self).save()
-class GuideSitemap(Sitemap):
+class BlogSitemap(Sitemap):
changefreq = "never"
priority = 1.0
protocol = "https"
def items(self):
- return Essay.objects.filter(status=1)
+ return Entry.objects.filter(status=1)
def lastmod(self, obj):
return obj.pub_date