Commits

Maciej Wiśniowski  committed be6ff8e

allow easy modification of category/product templates

  • Participants
  • Parent commits 6767cae

Comments (0)

Files changed (1)

File lfs/catalog/settings.py

         "name": _(u"Category with subcategories"),
     }),
 )
+CATEGORY_TEMPLATES = getattr(settings, 'CATEGORY_TEMPLATES', CATEGORY_TEMPLATES)
 
 # Template configuration for product display
 PRODUCT_TEMPLATES = (
         "name": _(u"Default")
     },),
 )
+PRODUCT_TEMPLATES = getattr(settings, 'PRODUCT_TEMPLATES', PRODUCT_TEMPLATES)
 
 THUMBNAIL_SIZES = getattr(settings, 'LFS_THUMBNAIL_SIZES', ((60, 60), (100, 100), (200, 200), (300, 300), (400, 400)))