fix tags in posts

This commit is contained in:
2023-01-02 19:44:18 +00:00
parent 1ca5049a06
commit af7dbe74f3

View File

@@ -249,6 +249,10 @@ class Post(models.Model):
def three_tag_names(self):
return self.tags.names()[:3]
@property
def tag_names(self):
return [t for t in self.tags.names()]
@property
def imageurl(self):
"""