diff --git a/lostplaces/lostplaces_app/models.py b/lostplaces/lostplaces_app/models.py index 4df6736..b40462b 100644 --- a/lostplaces/lostplaces_app/models.py +++ b/lostplaces/lostplaces_app/models.py @@ -33,7 +33,7 @@ class Explorer(models.Model): ) def __str__(self): - return self.user.name + return self.user.username @receiver(post_save, sender=User) def create_user_profile(sender, instance, created, **kwargs):