Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)