Commit e6130890 authored by Willard's avatar Willard

Send type, cuisine, and location ID along with dish

parent 9393e66a
...@@ -279,6 +279,9 @@ def dish_obj(dish): ...@@ -279,6 +279,9 @@ def dish_obj(dish):
'name': dish.name, 'name': dish.name,
'price': dish.price, 'price': dish.price,
'stall_name': dish.stall.name, 'stall_name': dish.stall.name,
'type_id': dish.type_id,
'cuisine_id': dish.cuisine_id,
'location_id': dish.stall.location_id,
'image_path': dish.image_path 'image_path': dish.image_path
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment