diff --git a/articles/models.py b/articles/models.py index e044ff6..618c3b2 100644 --- a/articles/models.py +++ b/articles/models.py @@ -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)