Commits

tehfink committed dac36d3

added explanation

Comments (0)

Files changed (1)

cmsplugin_photologue/cms_plugins.py

 from photologue.models import *
 from django.conf import settings
 
+#overrides photologue.urls.SAMPLE_SIZE : 'Number of random images from the gallery to display.'
 SAMPLE_SIZE = ":%s" % getattr(settings, 'CMSPLUGIN_PHOTOLOGUE_SAMPLE_SIZE', 3)
 
 class CMSPhotologueGalleryPlugin(CMSPluginBase):