We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7932f2c + 5c3c480 commit 4996748Copy full SHA for 4996748
docs/api-guide/authentication.md
@@ -168,7 +168,6 @@ The `curl` command line tool may be useful for testing token authenticated APIs.
168
If you want every user to have an automatically generated Token, you can simply catch the User's `post_save` signal.
169
170
from django.conf import settings
171
- from django.contrib.auth import get_user_model
172
from django.db.models.signals import post_save
173
from django.dispatch import receiver
174
from rest_framework.authtoken.models import Token
0 commit comments