Commit 07289d34 authored by Renfred Harper's avatar Renfred Harper
Browse files

Add restaurant location attribute data to api model

parent 2b120624
......@@ -10,7 +10,11 @@ def export_data():
for restaurant in alphalist:
restaurant_data = {'name':, 'id':}
restaurant_data = {
'location': restaurant.location,
open_times = list()
for time in restaurant.main_schedule.open_times.all():
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