Skip to content

Commit 4996748

Browse files
committed
Merge pull request #1 from soloradish/API-Guide-Authentication-patch
Delete imported but not used method
2 parents 7932f2c + 5c3c480 commit 4996748

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/api-guide/authentication.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ The `curl` command line tool may be useful for testing token authenticated APIs.
168168
If you want every user to have an automatically generated Token, you can simply catch the User's `post_save` signal.
169169

170170
from django.conf import settings
171-
from django.contrib.auth import get_user_model
172171
from django.db.models.signals import post_save
173172
from django.dispatch import receiver
174173
from rest_framework.authtoken.models import Token

0 commit comments

Comments
 (0)