This is the way I use but I do not get to capture the parameter in the controller enters the else but does not capture:
def get(self, request, *args, **kwargs):
if request.method=='POST':
print "rrr" * 99
else:
a=request.GET['user']
print('aa'*20)
print a