Skip to content

Commit 02ef6d3

Browse files
Merge pull request encode#1013 from Maplecroft/doc_fixes
Clarification to authtoken docs
2 parents 856dc85 + 195b1af commit 02ef6d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api-guide/authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ To use the `TokenAuthentication` scheme, include `rest_framework.authtoken` in y
121121
'rest_framework.authtoken'
122122
)
123123

124-
Make sure to run `manage.py syncdb` after changing your settings.
124+
Make sure to run `manage.py syncdb` after changing your settings. The `authtoken` database tables are managed by south (see [Schema migrations](#schema-migrations) below).
125125

126126
You'll also need to create tokens for your users.
127127

@@ -203,7 +203,7 @@ You can do so by inserting a `needed_by` attribute in your user migration:
203203

204204
For more details, see the [south documentation on dependencies][south-dependencies].
205205

206-
Also not that if you're using a `post_save` signal to create tokens, then the first time you create the database tables, you'll need to ensure any migrations are run prior to creating any superusers. For example:
206+
Also note that if you're using a `post_save` signal to create tokens, then the first time you create the database tables, you'll need to ensure any migrations are run prior to creating any superusers. For example:
207207

208208
python manage.py syncdb --noinput # Won't create a superuser just yet, due to `--noinput`.
209209
python manage.py migrate

0 commit comments

Comments
 (0)