1
0
Fork 0
mirror of https://github.com/Findus23/acronomy.git synced 2024-09-19 15:33:45 +02:00

make description null

This commit is contained in:
Lukas Winkler 2020-07-27 21:01:40 +02:00
parent 45740f0675
commit 7813cb5a8d
Signed by: lukas
GPG key ID: 54DE4D798D244853

View file

@ -12,7 +12,7 @@ class WikipediaLink(models.Model):
title = models.CharField(max_length=200) title = models.CharField(max_length=200)
extract = models.TextField(blank=True) extract = models.TextField(blank=True)
extract_html = 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", thumbnail = models.ForeignKey(WikipediaImage, on_delete=models.CASCADE, related_name="wiki_articles",
blank=True, null=True) blank=True, null=True)
timestamp = models.DateTimeField(blank=True) timestamp = models.DateTimeField(blank=True)