Example #1
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)
Example #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)
Example #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)
Example #4
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)
Example #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)
Example #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)