diff options
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index adf83bf8e..6f51a840e 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2673,6 +2673,11 @@ TRANSLATED_SITE_LABELS = { }, } +ACCOUNT_NAMING_STYLE = ( + ('NF', _("name.firstname")), + ('FN', _("firstname.name")), +) + class IshtarSiteProfile(models.Model, Cached): slug_field = 'slug' @@ -2818,6 +2823,10 @@ class IshtarSiteProfile(models.Model, Cached): default=True) currency = models.CharField(_("Currency"), default="€", choices=CURRENCY, max_length=5) + account_naming_style = models.CharField( + _("Naming style for accounts"), max_length=2, default="NF", + choices=ACCOUNT_NAMING_STYLE + ) default_center = models.PointField( _("Maps - default center"), default='SRID=4326;POINT(2.4397 46.5528)') |