Example #1
0
 def __before__(self, **kwargs):
     c.product_categories = ProductCategory.find_all()
Example #2
0
 def index(self):
     c.can_edit = True
     c.product_category_collection = ProductCategory.find_all()
     return render('/product_category/list.mako')
Example #3
0
 def stats(self, id):
     c.can_edit = True
     c.product_category = ProductCategory.find_by_id(id)
     c.product_categories = ProductCategory.find_all()
     return render('/product_category/stats.mako')
Example #4
0
 def __before__(self, **kwargs):
     c.product_categories = ProductCategory.find_all()
     c.ceilings = Ceiling.find_all()
Example #5
0
 def stats(self, id):
     c.can_edit = True
     c.product_category = ProductCategory.find_by_id(id)
     c.product_categories = ProductCategory.find_all()
     return render('/product_category/stats.mako')
Example #6
0
 def index(self):
     c.can_edit = True
     c.product_category_collection = ProductCategory.find_all()
     return render('/product_category/list.mako')