def edit_event(id=None): return edit_instance(Event, EventEditForm, edit_template='edit_event.html', id=id)
def edit_user(id=None): return edit_instance(User, UserEditForm, id=id)
def edit_page(id=None): return edit_instance(Page, PageEditForm, 'edit_page.html', id)