mirror of
https://github.com/nikdoof/vapemap.git
synced 2025-12-14 06:42:17 +00:00
Show only retail stores on the retail view.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user