from django.shortcuts import render_to_response


def menu(request):
    food1 = {'name': '番茄炒蛋', 'price': 60, 'comment': '好吃', 'is_spicy': False}
    food2 = {'name': '蒜泥白肉', 'price': 100, 'comment': '人氣推薦', 'is_spicy': False
        }
    food3 = {'name': '寶寶套餐', 'price': 150, 'comment': '寶寶不說', 'is_spicy': False
        }
    food4 = {'name': '宮保雞丁', 'price': 200, 'comment': '不推', 'is_spicy': True}
    foods = [food1, food2, food3, food4]
    return render_to_response('menu.html', locals())

bd1d8eb68d3e343217a549bd52162a367dd0f884
<mask token>

<mask token>


def menu(request):
    food1 = {'name': '番茄炒蛋', 'price': 60, 'comment': '好吃', 'is_spicy': False}
    food2 = {'name': '蒜泥白肉', 'price': 100, 'comment': '人氣推薦', 'is_spicy': False
        }
    food3 = {'name': '寶寶套餐', 'price': 150, 'comment': '寶寶不說', 'is_spicy': False
        }
    food4 = {'name': '宮保雞丁', 'price': 200, 'comment': '不推', 'is_spicy': True}
    foods = [food1, food2, food3, food4]
    return render_to_response('menu.html', locals())

from django.shortcuts import render_to_response


def menu(request):
    food1 = {'name': '番茄炒蛋', 'price': 60, 'comment': '好吃', 'is_spicy': False}
    food2 = {'name': '蒜泥白肉', 'price': 100, 'comment': '人氣推薦', 'is_spicy': False
        }
    food3 = {'name': '寶寶套餐', 'price': 150, 'comment': '寶寶不說', 'is_spicy': False
        }
    food4 = {'name': '宮保雞丁', 'price': 200, 'comment': '不推', 'is_spicy': True}
    foods = [food1, food2, food3, food4]
    return render_to_response('menu.html', locals())
