Esempio n. 1
0
def get_menus_all():
    sources = {
        "summerfields": [], "weswings": [], "redandblack": [],
        "latenight": [], "starandcrescent": []}
    for i in sources:
        sources[i] = format_mongo_objs(search.get_menu_static(i))
    sources["usdan"] = format_mongo_objs(search.get_menu_usdan())
    return json.dumps({"Results": sources})
Esempio n. 2
0
def get_menus_all():
    sources = {
        "summerfields": [],
        "weswings": [],
        "redandblack": [],
        "latenight": [],
        "starandcrescent": []
    }
    for i in sources:
        sources[i] = format_mongo_objs(search.get_menu_static(i))
    sources["usdan"] = format_mongo_objs(search.get_menu_usdan())
    return json.dumps({"Results": sources})
Esempio n. 3
0
def get_menus_latenight():
    return json.dumps(
        {"Results": format_mongo_objs(search.get_menu_static("latenight"))})
Esempio n. 4
0
def get_menus_summerfields():
    return json.dumps(
        {"Results": format_mongo_objs(search.get_menu_static("summerfields"))})
Esempio n. 5
0
def get_menus_weswings():
    return json.dumps(
        {"Results": format_mongo_objs(search.get_menu_static("weswings"))})
Esempio n. 6
0
def get_menus_redandblack():
    return json.dumps(
        {"Results": format_mongo_objs(search.get_menu_static("redandblack"))})
Esempio n. 7
0
def get_menus_starandcrescent():
    return json.dumps(
        {"Results": format_mongo_objs(search.get_menu_static("sandc"))})
Esempio n. 8
0
def get_menus_latenight():
    return json.dumps({"Results": format_mongo_objs(search.get_menu_static("latenight"))})
Esempio n. 9
0
def get_menus_summerfields():
    return json.dumps({"Results": format_mongo_objs(search.get_menu_static("summerfields"))})
Esempio n. 10
0
def get_menus_weswings():
    return json.dumps({"Results": format_mongo_objs(search.get_menu_static("weswings"))})
Esempio n. 11
0
def get_menus_redandblack():
    return json.dumps({"Results": format_mongo_objs(search.get_menu_static("redandblack"))})
Esempio n. 12
0
def get_menus_starandcrescent():
    return json.dumps({"Results": format_mongo_objs(search.get_menu_static("sandc"))})