diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-11-08 20:33:26 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-11-08 20:34:08 +0100 |
commit | 3555eccdccc0ea67459fabf0a12b85e31b017758 (patch) | |
tree | daa9339b15c8037f87c3601894476d5fe2f51a4e /ishtar_common/models.py | |
parent | a8172b647980667bef078c865034b52f6523be4b (diff) | |
download | Ishtar-3555eccdccc0ea67459fabf0a12b85e31b017758.tar.bz2 Ishtar-3555eccdccc0ea67459fabf0a12b85e31b017758.zip |
Allow deactivation of "auto-pin" and of "pin menu" in the profile (refs #4307)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 82c754fa0..648280ad2 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -3197,6 +3197,9 @@ class UserProfile(models.Model): current = models.BooleanField(_(u"Current profile"), default=False) show_field_number = models.BooleanField( _(u"Show field number"), default=False) + auto_pin = models.BooleanField(_(u"Automatically pin"), default=False) + display_pin_menu = models.BooleanField(_(u"Display pin menu"), + default=False) person = models.ForeignKey( Person, verbose_name=_(u"Person"), related_name='profiles') |