diff news/models.py @ 999:8386a8ebcbc7

WIP News v2.0 admin changes.
author Brian Neal <bgneal@gmail.com>
date Sat, 21 Nov 2015 14:53:29 -0600
parents e2c3d7ecfa30
children abd4c02aefdb
line wrap: on
line diff
--- a/news/models.py	Fri Nov 20 23:07:37 2015 -0600
+++ b/news/models.py	Sat Nov 21 14:53:29 2015 -0600
@@ -36,7 +36,7 @@
     title = models.CharField(max_length=255)
     submitter = models.ForeignKey(User)
     category = models.ForeignKey(Category)
-    short_text = models.TextField()
+    short_text = models.TextField(default='', blank=True)
     long_text = models.TextField(default='', blank=True)
     date_submitted = models.DateTimeField(db_index=True)
     allow_comments = models.BooleanField(default=True)