示例#1
0
def edit_event(id=None):
    return edit_instance(Event, EventEditForm, edit_template='edit_event.html', id=id)
示例#2
0
def edit_user(id=None):
    return edit_instance(User, UserEditForm, id=id)
示例#3
0
def edit_page(id=None):
    return edit_instance(Page, PageEditForm, 'edit_page.html', id)