Correct scheme

This commit is contained in:
Carlton Gibson 2018-04-20 15:24:22 +02:00
parent 83cbff3331
commit e6836c33e7

View File

@ -274,7 +274,7 @@ For example, using the "Django REST framework JWT" package
result = client.action(schema, action, params)
auth = coreapi.auth.TokenAuthentication(
scheme='Token',
scheme='JWT',
token=result['token']
)
client = coreapi.Client(auth=auth)