aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorStephan Groß2013-03-05 05:52:41 -0800
committerStephan Groß2013-03-05 05:52:41 -0800
commitd263abbf4d6c0852da0e59433b7aa02cd4594aa4 (patch)
tree2dbc5accc83d8c00d74e83d5e7158adfb8a4af42 /docs
parent282af6057f30b5af4665d687200ee1ebf82fcf00 (diff)
parent214e201ff87baea9f13ae3dccd9f905484de68ef (diff)
downloaddjango-rest-framework-d263abbf4d6c0852da0e59433b7aa02cd4594aa4.tar.bz2
Merge pull request #700 from minddust/migration_fix
Fix authtoken migration
Diffstat (limited to 'docs')
-rw-r--r--docs/api-guide/authentication.md2
-rw-r--r--docs/topics/release-notes.md1
2 files changed, 3 insertions, 0 deletions
diff --git a/docs/api-guide/authentication.md b/docs/api-guide/authentication.md
index fae86386..80d29ff4 100644
--- a/docs/api-guide/authentication.md
+++ b/docs/api-guide/authentication.md
@@ -169,6 +169,8 @@ The `obtain_auth_token` view will return a JSON response when valid `username` a
Note that the default `obtain_auth_token` view explicitly uses JSON requests and responses, rather than using default renderer and parser classes in your settings. If you need a customized version of the `obtain_auth_token` view, you can do so by overriding the `ObtainAuthToken` view class, and using that in your url conf instead.
+**Note:** If you are using `rest_framework.authtoken` with a custom Django user model and South. you have to insert a `needed_by = (('authtoken', '0001_initial'),)` to your user migration.
+
## SessionAuthentication
This authentication scheme uses Django's default session backend for authentication. Session authentication is appropriate for AJAX clients that are running in the same session context as your website.
diff --git a/docs/topics/release-notes.md b/docs/topics/release-notes.md
index 43499c9a..352b1630 100644
--- a/docs/topics/release-notes.md
+++ b/docs/topics/release-notes.md
@@ -45,6 +45,7 @@ You can determine your currently installed version using `pip freeze`:
* Request authentication is no longer lazily evaluated, instead authentication is always run, which results in more consistent, obvious behavior. Eg. Supplying bad auth credentials will now always return an error response, even if no permissions are set on the view.
* Bugfix for serializer data being uncacheable with pickle protocol 0.
* Bugfixes for model field validation edge-cases.
+* Bugfix for authtoken migration while using a custom user model and south.
### 2.2.1