diff options
Diffstat (limited to 'apps/photos/models.py')
-rw-r--r-- | apps/photos/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/photos/models.py b/apps/photos/models.py index 05b759e..a103938 100644 --- a/apps/photos/models.py +++ b/apps/photos/models.py @@ -188,12 +188,12 @@ class PhotoGallery(models.Model): return "/photos/galleries/%s/" % (self.set_slug) -class PhotoSitemap(Sitemap): +class PhotoGallerySitemap(Sitemap): changefreq = "never" priority = 0.7 def items(self): - return Photo.objects.all() + return PhotoGallery.objects.all() def lastmod(self, obj): return obj.pub_date |