Commit e326991b authored by Mario Chirinos's avatar Mario Chirinos

bulk upload

parent 680375d9
...@@ -50,7 +50,7 @@ class News(models.Model): ...@@ -50,7 +50,7 @@ class News(models.Model):
title = models.CharField(max_length=512) title = models.CharField(max_length=512)
publisher = models.ForeignKey(Publisher, on_delete=models.CASCADE, default='') publisher = models.ForeignKey(Publisher, on_delete=models.CASCADE, default='')
topic = models.ManyToManyField(Topic, verbose_name='Topic(s)', blank=True) topic = models.ManyToManyField(Topic, verbose_name='Topic(s)', blank=True)
topic_raw = models.CharField(max_length=512, default='') topic_raw = models.CharField(max_length=1024, default='')
date = models.DateTimeField(verbose_name='Publication Date') date = models.DateTimeField(verbose_name='Publication Date')
text = TextField(verbose_name='News Text', default='', blank=True) text = TextField(verbose_name='News Text', default='', blank=True)
url = models.URLField(verbose_name='URL', max_length=512) url = models.URLField(verbose_name='URL', max_length=512)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment