user_management/api/throttling.py
def allow_request(self, request, view):
        """
        Throttle POST requests only.
        """
        if request.method != 'POST':
            return True

        return super(PostRequestThrottleMixin, self).allow_request(request, view)
def allow_request(self, request, view):
        if request.method != 'POST':
            return True

        return super(PostRequestThrottleMixin, self).allow_request(request, view)
def allow_request ( self , request , view ) : if request . method != 'POST' : return True return super ( PostRequestThrottleMixin , self ) . allow_request ( request , view )
Throttle POST requests only.
Throttle POST requests only .