      {'detail': 'request was throttled'})
  
  
  class ConfigurationException(BaseException):
          """To alert for bad configuration desicions as a convenience."""
          pass
  
  
  class BasePermission(object):
      """
      A base class from which all permission classes should inherit.
 
</s> remove _503_THROTTLED_RESPONSE = ErrorResponse(
 </s> add _503_SERVICE_UNAVAILABLE = ErrorResponse( </s> remove for checking if a request passes a certain set of constraints. You can assign a permision 
 </s> add for checking if a request passes a certain set of constraints. You can assign a permission  </s> remove     The class name of the cuurent resource will be used as a unique identifier.
    Raises :exc:`ConfigurationException` if no resource attribute is set on the view class.
 </s> add     Limits the rate of API calls that may be used against all views on
    a given resource.

    The class name of the resource is used as a unique identifier to
    throttle against. </s> remove         """On success calls `throttle_success`. On failure calls `throttle_failure`. """
 </s> add         """
        Implement the check to see if the request should be throttled.

        On success calls :meth:`throttle_success`.
        On failure calls :meth:`throttle_failure`.
        """ </s> remove         return 'throttle_%s' % self.view.__class__.__name__
    
 </s> add         return 'throttle_view_%s' % self.view.__class__.__name__

  
    """To alert for bad configuration decisions as a convenience."""
    pass
      {'detail': 'request was throttled'})
  
  
  class ConfigurationException(BaseException):
    """To alert for bad configuration decisions as a convenience."""
    pass
    """To alert for bad configuration decisions as a convenience."""
    pass
  
  
  class BasePermission(object):
      """
      A base class from which all permission classes should inherit.
keep keep keep keep replace replace keep keep keep keep keep
 Bits of cleaning up for the throttling 
djangorestframework/permissions.py