made words' gender optional'

parent 6d082403
......@@ -61,7 +61,7 @@ class Word(models.Model):
slug = models.CharField(max_length=128)
language = models.ForeignKey(Language, on_delete=models.CASCADE)
translation = models.ManyToManyField("self", blank=True)
gender = models.ForeignKey(Gender, on_delete=models.SET_NULL, null=True)
gender = models.ForeignKey(Gender, on_delete=models.SET_NULL, null=True, blank=True)
wordclass = models.ForeignKey(Wordclass, on_delete=models.SET_NULL, null=True)
details = models.CharField(max_length=8192, blank=True, null=True)
etymology = models.CharField(max_length=8192, blank=True, null=True)
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