Open pak-git opened 1 month ago
now: return all brands from model need: return only uniq brands that have bikes in model
explore: amount of all bikes of particular brand
Added to context in BikeModelListView context["total_bikes_for_brand"] = get_total_bikes_for_brand(selected_brand_id)
now: return all brands from model need: return only uniq brands that have bikes in model