feat: 🥳 update post str method

This commit is contained in:
m5ka 2024-03-25 16:50:22 +00:00
parent 5fd040cc04
commit d11fd5f68f

View file

@ -58,7 +58,7 @@ class Post(models.Model):
) )
def __str__(self): def __str__(self):
return self.uuid return f"{self.text} on {self.created_at}"
@property @property
def text(self): def text(self):