diff options
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 58 | 
1 files changed, 31 insertions, 27 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index b1f226088..148843fd4 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -143,45 +143,45 @@ from ishtar_common.utils import (  )  from ishtar_common.models_common import ( -    GeneralType, -    HierarchicalType, -    OrderedHierarchicalType, -    OrderedType, +    Address,      BaseHistorizedItem, -    LightHistorizedItem, -    HistoricalRecords, -    FullSearch, -    SearchAltName, -    OwnPerms,      Cached, -    Imported, -    Address, -    post_save_cache, -    TemplateItem, -    SpatialReferenceSystem, +    CachedGen, +    CompleteIdentifierItem,      DashboardFormItem, -    document_attached_changed, -    SearchAltName, +    Department, +    DocumentItem,      DynamicRequest, -    GeoItem, +    document_attached_changed, +    FullSearch, +    GeneralType, +    GeoBufferType,      GeoDataType, +    GeoItem,      GeoOriginType,      GeoProviderType,      GeoVectorData, -    GeoBufferType, -    CompleteIdentifierItem, -    SearchVectorConfig, -    DocumentItem, -    QuickAction, +    HierarchicalType, +    HistoricalRecords, +    ImageContainerModel, +    Imported, +    LightHistorizedItem,      MainItem,      Merge, +    OrderedHierarchicalType, +    OrderedType, +    OwnPerms, +    PermissionRequest, +    post_save_cache, +    QuickAction, +    SearchAltName, +    SearchVectorConfig, +    SpatialReferenceSystem, +    TemplateItem,      ShortMenuItem, -    Town, -    ImageContainerModel, -    StatisticItem, -    CachedGen, -    Department,      State, +    StatisticItem, +    Town,  )  __all__ = [ @@ -3436,6 +3436,10 @@ class GDPRLog(models.Model):  class ProfileType(GeneralType):      groups = models.ManyToManyField(Group, verbose_name=_("Groups"), blank=True) +    permission_requests = models.ManyToManyField( +        PermissionRequest, verbose_name=_("Permission request"), blank=True, +        related_name="profile_types" +    )      class Meta:          verbose_name = _("Profile type")  | 
