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