Example #1
0
def license_delete(request, license_id):
    from karaage.common.create_update import delete_object
    return delete_object(request,
                         post_delete_redirect=reverse('kg_software_list'),
                         object_id=license_id,
                         model=SoftwareLicense)
Example #2
0
def license_delete(request, license_id):
    from karaage.common.create_update import delete_object
    return delete_object(
        request,
        post_delete_redirect=reverse('kg_software_list'),
        object_id=license_id, model=SoftwareLicense)