1. Curtis Maloney
  2. gnocchi-store

Commits

funkybob  committed 809101f

Reverted context_object_name change

  • Participants
  • Parent commits 3bd945e
  • Branches default

Comments (0)

Files changed (1)

File gnocchi/store/views.py

View file
 
 class CatalogueList(generic.ListView):
     model = models.Catalogue
-    context_name = 'catalogue'
 
 class ProductMixin(object):
     model = models.Product
-    context_object_name = 'product'
 
 # Product list
 class ProductList(ProductMixin, generic.ListView):