示例#1
0
文件: views.py 项目: ianmccon/schools
def coursemember_delete(request, course_id, object_id):
    get_object_or_404(Course, pk=course_id)
    return delete_object(request, model=CourseMember, object_id=object_id, post_delete_redirect='courses_coursemember_list', post_delete_redirect_args=(course_id,))
示例#2
0
文件: views.py 项目: ianmccon/schools
def course_delete(*args, **kwargs):
    return delete_object(*args, **kwargs)
示例#3
0
def building_delete(*args, **kwargs):
    return delete_object(*args, **kwargs)
示例#4
0
def lector_delete(*args, **kwargs):
    return delete_object(*args, **kwargs)
示例#5
0
def student_delete(*args, **kwargs):
    return delete_object(*args, **kwargs)
示例#6
0
def company_delete(*args, **kwargs):
    return delete_object(*args, **kwargs)