          return 'foo'
  
  urlpatterns = patterns('',
      (r'^$', MockView.as_view()),
      (r'^1$', MockView1.as_view()),
  )
  
 
</s> remove         #Can not login user.....Dunno why...
 </s> add  </s> remove from djangorestframework.permissions import PerUserThrottling
 </s> add from djangorestframework.permissions import PerUserThrottling, PerResourceThrottling
class MockView1(View):
    permissions = ( PerResourceThrottling, )
    throttle = (3, 1) # 3 requests per second

    def get(self, request):
        return 'foo'

          return 'foo'
  
class MockView1(View):
    permissions = ( PerResourceThrottling, )
    throttle = (3, 1) # 3 requests per second

    def get(self, request):
        return 'foo'

  urlpatterns = patterns('',
      (r'^$', MockView.as_view()),
      (r'^1$', MockView1.as_view()),
  )
  
keep add keep keep keep keep keep
 * fixed `test_request_throttling_is_per_user` - it didn't make a request for the 2nd user

* implemented per_resource_throttling  + test

needs refactoring 
djangorestframework/tests/throttling.py