[PATCH "person"] Remove Miss option from civility

elodie.thieblin at logilab.fr elodie.thieblin at logilab.fr
Wed Mar 18 15:27:16 CET 2020


# HG changeset patch
# User Elodie Thieblin <ethieblin at logilab.fr>
# Date 1584541070 -3600
#      Wed Mar 18 15:17:50 2020 +0100
# Node ID 3166d3ebc392687d89887fa087efc0a812fcc1b6
# Parent  c71dc1fe6e5a596820bcab28ee91dc08dd867072
# Available At ssh://hg@hg.logilab.org/review/cubes/person
#              hg pull ssh://hg@hg.logilab.org/review/cubes/person -r 3166d3ebc392
# EXP-Topic remove_miss
Remove Miss option from civility

diff --git a/cubicweb_person/schema.py b/cubicweb_person/schema.py
--- a/cubicweb_person/schema.py
+++ b/cubicweb_person/schema.py
@@ -11,7 +11,7 @@ class Person(EntityType):
     surname = String(required=True, fulltextindexed=True, indexed=True, maxsize=64)
     firstname = String(fulltextindexed=True, maxsize=64)
     civility = String(required=True, internationalizable=True,
-                      vocabulary=(_('Mr'), _('Ms'), _('Mrs')),
+                      vocabulary=(_('Mr'), _('Mrs')),
                       default='Mr')
 
     description = RichString(fulltextindexed=True)




More information about the cubicweb-devel mailing list