[PATCH "person"] Remove Miss option from civility
Nicola Spanti
nicola.spanti at logilab.fr
Wed Mar 18 16:36:15 CET 2020
- Why this change? It must be explained in the commit message.
- A migration seems to be needed, because, without it, the database
could be in an invalid situation if Miss is used in it.
Le 18/03/2020 à 15:27, elodie.thieblin at logilab.fr a écrit :
> # 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