From 7813cb5a8d9f1f7ebd77729fbba4a13ef7fb2365 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Mon, 27 Jul 2020 21:01:40 +0200 Subject: [PATCH] make description null --- acros/models/WikipediaLink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acros/models/WikipediaLink.py b/acros/models/WikipediaLink.py index 4787826..6322fe6 100644 --- a/acros/models/WikipediaLink.py +++ b/acros/models/WikipediaLink.py @@ -12,7 +12,7 @@ class WikipediaLink(models.Model): title = models.CharField(max_length=200) extract = models.TextField(blank=True) extract_html = models.TextField(blank=True) - description = models.TextField(blank=True) + description = models.TextField(blank=True, null=True) thumbnail = models.ForeignKey(WikipediaImage, on_delete=models.CASCADE, related_name="wiki_articles", blank=True, null=True) timestamp = models.DateTimeField(blank=True)