diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-03-09 11:14:48 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-03-09 11:14:48 +0100 |
commit | b6db29397aa518cd084bba3f5933644680604e01 (patch) | |
tree | b742211e062221e851c04f6ddcf580ac3faf395c /ishtar_common/models.py | |
parent | 698bc976af6db131a7b0f7468dc12b0313dce198 (diff) | |
download | Ishtar-b6db29397aa518cd084bba3f5933644680604e01.tar.bz2 Ishtar-b6db29397aa518cd084bba3f5933644680604e01.zip |
Container: manage calculated weight
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 0e5a39c1f..180acd626 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -748,6 +748,9 @@ class IshtarSiteProfile(models.Model, Cached): "Only manage association of operations, context records " "and finds.") ) + calculate_weight_on_full = models.BooleanField( + _("Container - calculate weight only when all find has a weight"), + default=False) config = models.CharField( _("Alternate configuration"), max_length=200, choices=ALTERNATE_CONFIGS_CHOICES, |