Make "languages" property not required
authorThierry Florac <thierry.florac@onf.fr>
Wed, 01 Jul 2015 10:08:34 +0200
changeset 11 1219fe3dd3a8
parent 10 3ea177e986a6
child 12 cf56bb94a55b
Make "languages" property not required
src/pyams_i18n/interfaces/__init__.py
--- a/src/pyams_i18n/interfaces/__init__.py	Wed Jun 17 09:57:10 2015 +0200
+++ b/src/pyams_i18n/interfaces/__init__.py	Wed Jul 01 10:08:34 2015 +0200
@@ -85,7 +85,7 @@
 
     languages = List(title=_("Content languages"),
                      description=_("List of languages available for this content"),
-                     required=True,
+                     required=False,
                      value_type=Choice(vocabulary='PyAMS base languages'))