From 52090bbe08ebeb0517eb42c11cd625aa0d46bee9 Mon Sep 17 00:00:00 2001 From: Xavier Ordoquy Date: Fri, 29 Apr 2016 14:02:34 +0200 Subject: [PATCH] Add a note about auth_token including Django migrations. --- docs/api-guide/authentication.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/api-guide/authentication.md b/docs/api-guide/authentication.md index 2f32fef2d..c6726fd11 100644 --- a/docs/api-guide/authentication.md +++ b/docs/api-guide/authentication.md @@ -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