  urlpatterns = patterns('',
      (r'^$', MockView.as_view()),
  )
  
  class ThrottlingTests(TestCase):
      urls = 'djangorestframework.tests.throttling'   
      
      def setUp(self):
 
</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
    (r'^1$', MockView1.as_view()),
  urlpatterns = patterns('',
      (r'^$', MockView.as_view()),
    (r'^1$', MockView1.as_view()),
  )
  
  class ThrottlingTests(TestCase):
      urls = 'djangorestframework.tests.throttling'   
      
      def setUp(self):
keep add keep 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