name unicode optional
This commit is contained in:
parent
66098da1a5
commit
e31e5eae7b
|
@ -73,7 +73,7 @@ class RecipeTokri(models.Model):
|
||||||
class AlternativeName(models.Model):
|
class AlternativeName(models.Model):
|
||||||
ingredient = models.ForeignKey(TokriVegetable)
|
ingredient = models.ForeignKey(TokriVegetable)
|
||||||
name_roman = models.CharField(max_length=255, help_text="Name in Roman Script")
|
name_roman = models.CharField(max_length=255, help_text="Name in Roman Script")
|
||||||
name_unicode = models.CharField(max_length=255, help_text="Name in local language script")
|
name_unicode = models.CharField(max_length=255, blank=True, help_text="Name in local language script")
|
||||||
language = models.ForeignKey("Language", null=True)
|
language = models.ForeignKey("Language", null=True)
|
||||||
|
|
||||||
def __unicode__(self):
|
def __unicode__(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user