Commits

George Notaras committed 6994ab6

Added comments to each setting

Comments (0)

Files changed (1)

src/thumbnail_works/settings.py

 from django.conf import settings
 
 
-# JPEG, PNG
+# Anything supported by PIL
 THUMBNAILS_FORMAT = getattr(settings, 'DTW_THUMBNAILS_FORMAT', 'JPEG')
 
 # For JPEG format only
 THUMBNAILS_QUALITY = getattr(settings, 'DTW_THUMBNAILS_QUALITY', 85)
 
-
 # This is the name of the directory where the thumbnails will be stored
 THUMBNAILS_DIRNAME = getattr(settings, 'DTW_THUMBNAILS_DIRNAME', 'thumbs')
 
+# Generate the thumbnails on first access rather than at the time the
+# original image is saved. 
 THUMBNAILS_DELAYED_GENERATION = getattr(settings, 'DTW_THUMBNAILS_DELAYED_GENERATION', True)