(request, uuid)
return render_to_response('config/bootstrap.html', locals(), context_instance=RequestContext(request))
:param request:
    :return:
:param request:
    :return:
: param request : : return :
def projectJava(request, uuid):
    """
    :param request:
    :return:
    """
    item = Project.objects.get(uuid=str(uuid))
    uf = JavaCodeForm(business=item)
    if request.method == 'POST':
        uf = JavaCodeForm(request.POST, business=item)
        if uf.is_valid():
            zw = uf.save(commit=False)

            zw.project_name = item
            zw.choose = 3
            zw.save()
            uf.save_m2m()

            return HttpResponseRedirect("/assets/server/type/list/")
    return render_to_response('config/bootstrap.html', locals(), context_instance=RequestContext(request))
def projectJava ( request , uuid ) : item = Project . objects . get ( uuid = str ( uuid ) ) uf = JavaCodeForm ( business = item ) if request . method == 'POST' : uf = JavaCodeForm ( request . POST , business = item ) if uf . is_valid ( ) : zw = uf . save ( commit = False ) zw . project_name = item zw . choose = 3 zw . save ( ) uf . save_m2m ( ) return HttpResponseRedirect ( "/assets/server/type/list/" ) return render_to_response ( 'config/bootstrap.html' , locals ( ) , context_instance = RequestContext ( request ) )