def __str__()

in core/models.py [0:0]


    def __str__(self):
        return self.user.username