Q:

django request method dynamically

I know that request.method will give the type either 'GET' or 'POST' as string and to get any particular parameter we give request.GET.get('parameter') or request.POST.get('parameter')
Now I want to get the GET or POST dictionary dynamically avoiding If conditions.  

A:

This is not something there's usually any good reason to do, if you're doing the same thing with GET and POST requests your design is unusual. But it should be possible using getattr:
query_args = getattr(request, request.method)

