예제 #1
0
 class Meta:
     always_return_data = True
     authentication = OAuthAuthentication()
     authorization = Authorization()
예제 #2
0
 def setUp(self):
     self.authentication = OAuthAuthentication('api')
     self.factory = RequestFactory()
     self.consumer = Consumer(*keys.items()[0])