Fixed text repr of Explorer model due to user model change.
This commit is contained in:
parent
aed2856df3
commit
d993387216
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user