diff options
| author | Tom Christie | 2013-07-29 02:27:05 -0700 |
|---|---|---|
| committer | Tom Christie | 2013-07-29 02:27:05 -0700 |
| commit | 02ef6d3bd7f4be37aaf6e004dd14b62d338f0ccd (patch) | |
| tree | 7df888722d93d9c527c280c488e9c6f371fa307a /docs | |
| parent | 856dc855c952746f566a6a8de263afe951362dfb (diff) | |
| parent | 195b1af7ba34b833fc17f5693d7fbd9c8e7cce78 (diff) | |
| download | django-rest-framework-02ef6d3bd7f4be37aaf6e004dd14b62d338f0ccd.tar.bz2 | |
Merge pull request #1013 from Maplecroft/doc_fixes
Clarification to authtoken docs
Diffstat (limited to 'docs')
| -rwxr-xr-x | docs/api-guide/authentication.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/authentication.md b/docs/api-guide/authentication.md index ee1282b5..b1ab4622 100755 --- a/docs/api-guide/authentication.md +++ b/docs/api-guide/authentication.md @@ -121,7 +121,7 @@ To use the `TokenAuthentication` scheme, include `rest_framework.authtoken` in y 'rest_framework.authtoken' ) -Make sure to run `manage.py syncdb` after changing your settings. +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). You'll also need to create tokens for your users. @@ -203,7 +203,7 @@ You can do so by inserting a `needed_by` attribute in your user migration: For more details, see the [south documentation on dependencies][south-dependencies]. -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: +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: python manage.py syncdb --noinput # Won't create a superuser just yet, due to `--noinput`. python manage.py migrate |
