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 | 2a9c429e237b898547bf48d44574196365561867 (patch) | |
tree | b742211e062221e851c04f6ddcf580ac3faf395c /ishtar_common/models.py | |
parent | ce41151712370165c6abe97c23a3bdb6a98650b0 (diff) | |
download | Ishtar-2a9c429e237b898547bf48d44574196365561867.tar.bz2 Ishtar-2a9c429e237b898547bf48d44574196365561867.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, |