diff options
author | luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f> | 2010-06-27 16:38:35 +0000 |
---|---|---|
committer | luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f> | 2010-06-27 16:38:35 +0000 |
commit | 0d6f39f2aa7c3922c6a696b0a8b3a2e72b475c45 (patch) | |
tree | ac95e888409af8157da4154df60d1c0e391fcb6b /apps/photos/models.py | |
parent | 514a1c9a35b7699d8b1738887a9e076d29a0743c (diff) |
fixed some bugs and enabled the navigation buttons on the gallery slideshows
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 |