Retrieve detailed information about a specific store including all its products
awesome-electronics for a store named “Awesome Electronics”ProductListSerializer from catalogue/serializers.pyproduct_set on the Store modelstores/models.py:8-39stores/models.py:32-34 - Computed from product_set.count()stores/models.py:36-38 - Sum of all product quantity_sold valuesstores/serializers.py:22-28 - Uses ProductListSerializer for nested productsIsAuthenticated)VendorOnly permission)VendorOnly permission)stores/views.py:27-35
slug as the lookup field, not the numeric IDStoreInstanceSerializer includes the full product_set for detailed viewsproducts_sold value is computed in real-time from all productsis_vendor=True and is_staff=True flags