Hi,

What is the motive behind working on a copy of 'request.POST':
e.g -
if request.method == "POST":
        post = request.POST.copy()

AFAIK, this implies making a copy of POST and working on it.
Rather wouldn't it be faster if we work on request.POST directly? :

if request.method == "POST:
        request.POST.has_key("cyrus") .....

Both the case has same number of function lookups. Or, am i safe in
assuming its more a preference kinda thing?

Cheers,
Ishwor

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to