From 0d6f39f2aa7c3922c6a696b0a8b3a2e72b475c45 Mon Sep 17 00:00:00 2001 From: "luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f" Date: Sun, 27 Jun 2010 16:38:35 +0000 Subject: fixed some bugs and enabled the navigation buttons on the gallery slideshows --- apps/photos/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/photos/models.py') 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 -- cgit v1.2.3-70-g09d2