summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 68b571af4..a38fc3c3e 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -124,6 +124,7 @@ from ishtar_common.models_imports import (
TargetKeyGroup,
ValueFormater,
ItemKey,
+ ImportColumnValue,
)
from ishtar_common.utils import (
@@ -175,6 +176,7 @@ from ishtar_common.models_common import (
)
__all__ = [
+ "ImportColumnValue",
"ImporterModel",
"ImporterType",
"ImporterGroup",
@@ -3466,6 +3468,10 @@ class IshtarUser(FullSearch):
def class_verbose_name(cls):
return cls._meta.verbose_name
+ @property
+ def is_superuser(self) -> bool:
+ return self.user_ptr.is_superuser
+
def show_field_number(self, update=False):
cache_key, value = get_cache(self.__class__, ["show_field_number"])
if not update and value is not None: