1. tehfink
  2. cmsplugin-photologue

Commits

tehfink  committed dac36d3

added explanation

  • Participants
  • Parent commits c39a72c
  • Branches default

Comments (0)

Files changed (1)

File cmsplugin_photologue/cms_plugins.py

View file
  • Ignore whitespace
 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):