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)
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)
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)
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)