fix model for room in factoids (allow blank)
This commit is contained in:
parent
c5bb29d1f1
commit
a88c6a3c50
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class Fact(models.Model):
|
|||
|
||||
id = models.BigAutoField(primary_key=True)
|
||||
author = models.ForeignKey(User, on_delete=models.SET_NULL, null=True)
|
||||
room = models.CharField(null=True, default=None, max_length=128)
|
||||
room = models.CharField(null=True, default=None, max_length=128, blank=True)
|
||||
create_date = models.DateTimeField("date published", default=timezone.now)
|
||||
change_date = models.DateTimeField("date changed", default=timezone.now)
|
||||
popularity = models.IntegerField(default=0)
|
||||
|
|
Loading…
Reference in a new issue