示例#1
0
def category_create(request):
    from karaage.common.create_update import create_object
    return create_object(
        request,
        model=MachineCategory,
        form_class=MachineCategoryForm,
        template_name="karaage/machines/machinecategory_form.html")
示例#2
0
def category_create(request):
    from karaage.common.create_update import create_object
    return create_object(request,
                         model=SoftwareCategory,
                         form_class=SoftwareCategoryForm)
示例#3
0
def category_create(request):
    from karaage.common.create_update import create_object
    return create_object(request, model=MachineCategory)
示例#4
0
def category_create(request):
    from karaage.common.create_update import create_object
    return create_object(
        request, model=SoftwareCategory,
        form_class=SoftwareCategoryForm)
def category_create(request):
    from karaage.common.create_update import create_object
    return create_object(
        request, model=MachineCategory,
        form_class=MachineCategoryForm,
        template_name="karaage/machines/machinecategory_form.html")