Commits

funkybob  committed e6b938e

Set context name for Products to product

  • Participants
  • Parent commits 39f699e

Comments (0)

Files changed (1)

File gnocchi/store/views.py

 )
 class ProductMixin(object):
     model = models.Product
+    context_object_name = 'product'
 
 # Product list
 class ProductList(ProductMixin, generic.ListView):