Target can not be empty on suggestion
This commit is contained in:
parent
e1823170b5
commit
adcedca849
@ -416,5 +416,5 @@ class Unit(models.Model):
|
|||||||
|
|
||||||
class Suggestion(models.Model):
|
class Suggestion(models.Model):
|
||||||
checksum = models.CharField(max_length = 40, default = '', blank = True, db_index = True)
|
checksum = models.CharField(max_length = 40, default = '', blank = True, db_index = True)
|
||||||
target = models.TextField(default = '', blank = True)
|
target = models.TextField()
|
||||||
user = models.ForeignKey(User, null = True, blank = True)
|
user = models.ForeignKey(User, null = True, blank = True)
|
||||||
|
Loading…
Reference in New Issue
Block a user