Allow user to choose no language
This commit is contained in:
parent
6aede7af1f
commit
02845e487f
@ -17,12 +17,14 @@ class Profile(models.Model):
|
|||||||
)
|
)
|
||||||
languages = models.ManyToManyField(
|
languages = models.ManyToManyField(
|
||||||
Language,
|
Language,
|
||||||
verbose_name = _('Languages')
|
verbose_name = _('Languages'),
|
||||||
|
blank = True,
|
||||||
)
|
)
|
||||||
secondary_languages = models.ManyToManyField(
|
secondary_languages = models.ManyToManyField(
|
||||||
Language,
|
Language,
|
||||||
verbose_name = _('Secondary languages'),
|
verbose_name = _('Secondary languages'),
|
||||||
related_name = 'secondary_profile_set'
|
related_name = 'secondary_profile_set',
|
||||||
|
blank = True,
|
||||||
)
|
)
|
||||||
suggested = models.IntegerField(default = 0, db_index = True)
|
suggested = models.IntegerField(default = 0, db_index = True)
|
||||||
translated = models.IntegerField(default = 0, db_index = True)
|
translated = models.IntegerField(default = 0, db_index = True)
|
||||||
|
Loading…
Reference in New Issue
Block a user