예제 #1
0
def admin_contents():
    return '{ "id" : "' +\
        str(helpers.save_obj_from_req(ContentModel).key().id()) + '" }'
    pass
예제 #2
0
def admin_bookables():
    return '{ "id" : "' +\
        str(helpers.save_obj_from_req(BookableModel).key().id()) + '" }'
예제 #3
0
def admin_categories():
    cat_id = helpers.save_obj_from_req(CategoryModel).key().id()
    return '{ "id" : "' + str(cat_id) + '" }'
    pass