feat: 🥳 update post str method
This commit is contained in:
parent
5fd040cc04
commit
d11fd5f68f
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class Post(models.Model):
|
|||
)
|
||||
|
||||
def __str__(self):
|
||||
return self.uuid
|
||||
return f"{self.text} on {self.created_at}"
|
||||
|
||||
@property
|
||||
def text(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue