post2locals
def post2locals(dict=locals(),func=None):
for k,v in request.POST.iterallitems():
dict["_"+k]=v
if func is not None and callable(func):
dict["_"+k]=func(v)
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did43838