(self)
return self.request.POST if self.request.method == 'POST' else self.request.GET
Specify GET or POST from a request object.
Specify GET or POST from a request object.
Specify GET or POST from a request object .
def parameters(self):
        """
        Specify GET or POST from a request object.
        """
        return self.request.POST if self.request.method == 'POST' else self.request.GET
def parameters ( self ) : return self . request . POST if self . request . method == 'POST' else self . request . GET