File diff 5debbb2ac82e → 53413388e016
registrasion/controllers/category.py
Show inline comments
...
 
@@ -19,13 +19,13 @@ class CategoryController(object):
 
        products, otherwise it'll do all. '''
 

	
 
        # STOPGAP -- this needs to be elsewhere tbqh
 
        from product import ProductController
 

	
 
        if products is AllProducts:
 
            products = rego.Product.objects.all()
 
            products = rego.Product.objects.all().select_related("category")
 

	
 
        available = ProductController.available_products(
 
            user,
 
            products=products,
 
        )