Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX: Solved unsettled reference between Sliders and Galleries

  • Loading branch information...
commit f3adb868529818295fe86a075b969e36d57d6083 1 parent 13b484d
David Codesido authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cms_pictures_slider/cms_plugins.py
View
2  cms_pictures_slider/cms_plugins.py
@@ -11,7 +11,7 @@ class CMSSliderPlugin(CMSPluginBase):
def render(self, context, instance, placeholder):
context.update({
'slider':instance.slider,
- 'pictures':SliderPicture.objects.all(),
+ 'pictures':SliderPicture.objects.filter(gallery=instance.slider),
'object':instance,
'placeholder':placeholder
})
Please sign in to comment.
Something went wrong with that request. Please try again.