Skip to content

Commit 4b6f67d

Browse files
committed
(chore) document receiver
1 parent 2d77506 commit 4b6f67d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_api/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __str__(self):
2121
"""Return a human readable representation of the model instance."""
2222
return "{}".format(self.name)
2323

24-
24+
# This receiver handles token creation when a new user is created.
2525
@receiver(post_save, sender=settings.AUTH_USER_MODEL)
2626
def create_auth_token(sender, instance=None, created=False, **kwargs):
2727
if created:

0 commit comments

Comments
 (0)