Add a note about auth_token including Django migrations.

This commit is contained in:
Xavier Ordoquy 2016-04-29 14:02:34 +02:00
parent ed54d6c156
commit 52090bbe08

View File

@ -126,6 +126,12 @@ To use the `TokenAuthentication` scheme you'll need to [configure the authentica
'rest_framework.authtoken'
)
---
**Note:** Make sure to run manage.py migrate after changing your settings. The rest_framework.authtoken app provides Django database migrations.
---
You'll also need to create tokens for your users.
from rest_framework.authtoken.models import Token