def append_cellphone_metadata_to_response(request, template, args):
    ptype = ProductType.objects.get(classname='Cell')
    args['ptype'] = ptype
    return append_metadata_to_response(request, template, args)
Beispiel #2
0
def append_cellphone_metadata_to_response(request, template, args):
    ptype = ProductType.objects.get(classname = 'Cell')
    args['ptype'] = ptype
    return append_metadata_to_response(request, template, args)
Beispiel #3
0
def append_notebook_ptype_to_response(request, template, args):
    ptype = ProductType.objects.get(classname="Notebook")
    args["ptype"] = ptype
    return append_metadata_to_response(request, template, args)
def append_videocard_ptype_to_response(request, template, args):
    ptype = ProductType.objects.get(classname='VideoCard')
    args['ptype'] = ptype
    return append_metadata_to_response(request, template, args)
Beispiel #5
0
def append_notebook_ptype_to_response(request, template, args):
    ptype = ProductType.objects.get(classname='Notebook')
    args['ptype'] = ptype
    return append_metadata_to_response(request, template, args)
Beispiel #6
0
def append_videocard_ptype_to_response(request, template, args):
    ptype = ProductType.objects.get(classname = 'VideoCard')
    args['ptype'] = ptype
    return append_metadata_to_response(request, template, args)