Commits

Florent Cayré committed 624054e

value Translation field can not be required, because translated fields may not be

Comments (0)

Files changed (1)

 
 class Translation(EntityType):
     __unique_together__ = [('lang', 'of_field')]
-    value = String(required=True)
+    value = String()
     lang = SubjectRelation('Language', cardinality='1*', inlined=True,
                            constraints=[other_lang_cstr])
     of_field = SubjectRelation('I18nField', cardinality='1*', inlined=True,