Added a fixme to articles model.

pull/1/head
Calum Andrew Morrell 2025-02-17 00:15:24 +00:00
parent c135a81f97
commit f7f45160d6
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ class Article(models.Model):
introduction = models.TextField(blank=True)
body = MarkdownxField()
summary = MarkdownxField(blank=True)
# FIXME: tags with spaces do not match any articles when clicked on.
tags = TagField(force_lowercase=True,
get_absolute_url=lambda tag: reverse_lazy('articles:list_tag', kwargs={'tag': tag.slug}))
created = models.DateTimeField(auto_now_add=True)