Show only retail stores on the retail view.

This commit is contained in:
2013-04-10 22:56:32 +01:00
parent aef51f0ff8
commit f5bdc4c551

View File

@@ -40,7 +40,7 @@ class RetailStoreListView(StoreListView):
def get_queryset(self):
qs = super(RetailStoreListView, self).get_queryset()
return qs.filter(store_type__in=[Store.STORE_TYPE_ONLINE, Store.STORE_TYPE_BOTH])
return qs.filter(store_type__in=[Store.STORE_TYPE_RETAIL, Store.STORE_TYPE_BOTH])
class StockistStoreListView(StoreListView):