예제 #1
0
def delete_product_admin_view(request, id):
    return delete_admin_view(request, id, 'product', Product)
예제 #2
0
def delete_service_admin_view(request, id):
    return delete_admin_view(request, id, 'service', Service)
예제 #3
0
def delete_service_type_admin_view(request, id):
    return delete_admin_view(request, id, 'service type', ServiceType)
예제 #4
0
def delete_picture_admin_view(request, id):
    return delete_admin_view(request, id, 'picture', SalonPicture)
예제 #5
0
def delete_home_picture_admin_view(request, id):
    return delete_admin_view(request, id, 'home picture', HomePicture)
예제 #6
0
def delete_contact_information_admin_view(request, id):
    return delete_admin_view(request, id, 'contact information',
                             ContactInformation)
예제 #7
0
def delete_partnership_admin_view(request, id):
    return delete_admin_view(request, id, 'partnership', Partnership)
예제 #8
0
def delete_award_admin_view(request, id):
    return delete_admin_view(request, id, 'award', Award)