Allow user to choose no language

This commit is contained in:
Michal Čihař 2012-03-05 16:09:07 +01:00
parent 6aede7af1f
commit 02845e487f

View File

@ -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)