diff --git a/core/views.py b/core/views.py index e7e2c481..cd5ec104 100644 --- a/core/views.py +++ b/core/views.py @@ -188,7 +188,7 @@ class PlacePhotoView(PlaceListView): self.params = params self.obj = query[0] - return query[0].photos.all() + return query[0].get_photos() self.params = params return list(pl_ex) + list(pl_conf)