# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.labbooks.models.querysets import LabBookQuerySet, LabBookChildElementQuerySet, LabbookSectionQuerySet LabBookManager = BaseManager.from_queryset(LabBookQuerySet) LabBookChildElementManager = BaseManager.from_queryset( LabBookChildElementQuerySet) LabbookSectionManager = BaseManager.from_queryset(LabbookSectionQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.favourites.models.querysets import FavouriteQuerySet FavouriteManager = BaseManager.from_queryset(FavouriteQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.sortable_menu.models.querysets import MenuEntryQuerySet, MenuEntryParameterQuerySet MenuEntryManager = BaseManager.from_queryset(MenuEntryQuerySet) MenuEntryParameterManager = BaseManager.from_queryset(MenuEntryParameterQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.short_url.models.querysets import ShortURLQuerySet ShortURLManager = BaseManager.from_queryset(ShortURLQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.base64_image_extraction.models.querysets import ExtractedImageQuerySet # create managers for all our important objects ExtractedImageManager = BaseManager.from_queryset(ExtractedImageQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.shared_elements.models.querysets import ContactQuerySet, ElementLabelQuerySet, \ NoteQuerySet, FileQuerySet, TaskQuerySet, TaskAssignedUserQuerySet, TaskCheckListQuerySet, \ MeetingQuerySet, UserAttendsMeetingQuerySet, ContactAttendsMeetingQuerySet, CalendarAccessQuerySet, CommentQuerySet ContactManager = BaseManager.from_queryset(ContactQuerySet) ElementLabelManager = BaseManager.from_queryset(ElementLabelQuerySet) NoteManager = BaseManager.from_queryset(NoteQuerySet) CommentManager = BaseManager.from_queryset(CommentQuerySet) FileManager = BaseManager.from_queryset(FileQuerySet) TaskManager = BaseManager.from_queryset(TaskQuerySet) TaskAssignedUserManager = BaseManager.from_queryset(TaskAssignedUserQuerySet) TaskCheckListManager = BaseManager.from_queryset(TaskCheckListQuerySet) MeetingManager = BaseManager.from_queryset(MeetingQuerySet) UserAttendsMeetingManager = BaseManager.from_queryset( UserAttendsMeetingQuerySet) ContactAttendsMeetingManager = BaseManager.from_queryset( ContactAttendsMeetingQuerySet) CalendarAccessManager = BaseManager.from_queryset(CalendarAccessQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.pictures.models.querysets import PictureQuerySet PictureManager = BaseManager.from_queryset(PictureQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.relations.querysets import RelationQuerySet RelationManager = BaseManager.from_queryset(RelationQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.plugins.models.querysets import PluginQuerySet, PluginInstanceQuerySet PluginManager = BaseManager.from_queryset(PluginQuerySet) PluginInstanceManager = BaseManager.from_queryset(PluginInstanceQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.metadata.models.querysets import MetadataQuerySet MetadataManager = BaseManager.from_queryset(MetadataQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.model_privileges.querysets import ModelPrivilegeQuerySet ModelPrivilegeManager = BaseManager.from_queryset(ModelPrivilegeQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.userprofile.models.querysets import UserProfileQuerySet UserProfileManager = BaseManager.from_queryset(UserProfileQuerySet)
# # Copyright (C) 2016-2021 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.faq.models.querysets import FAQQuestionAndAnswerQuerySet, FAQCategoryQuerySet FAQQuestionAndAnswerManager = BaseManager.from_queryset( FAQQuestionAndAnswerQuerySet) FAQCategoryManager = BaseManager.from_queryset(FAQCategoryQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.notifications.models.querysets import NotificationConfigurationQuerySet, NotificationQuerySet, \ ScheduledNotificationQuerySet NotificationConfigurationManager = BaseManager.from_queryset( NotificationConfigurationQuerySet) NotificationManager = BaseManager.from_queryset(NotificationQuerySet) ScheduledNotificationManager = BaseManager.from_queryset( ScheduledNotificationQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.kanban_boards.models.querysets import KanbanBoardQuerySet, KanbanBoardColumnQuerySet, \ KanbanBoardColumnTaskAssignmentQuerySet, KanbanBoardUserFilterSettingQuerySet, KanbanBoardUserSettingQuerySet KanbanBoardManager = BaseManager.from_queryset(KanbanBoardQuerySet) KanbanBoardColumnManager = BaseManager.from_queryset(KanbanBoardColumnQuerySet) KanbanBoardColumnTaskAssignmentManager = BaseManager.from_queryset( KanbanBoardColumnTaskAssignmentQuerySet) KanbanBoardUserFilterSettingManager = BaseManager.from_queryset( KanbanBoardUserFilterSettingQuerySet) KanbanBoardUserSettingManager = BaseManager.from_queryset( KanbanBoardUserSettingQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.versions.models.querysets import VersionQuerySet VersionManager = BaseManager.from_queryset(VersionQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.projects.models.querysets import ProjectQuerySet, ProjectRoleUserAssignmentQuerySet, RoleQuerySet, \ ResourceQuerySet, UserStorageLimitQuerySet, ElementLockQuerySet from mptt.managers import TreeManager # create managers for all our important objects ProjectManager = TreeManager.from_queryset(ProjectQuerySet) ProjectRoleUserAssignmentManager = BaseManager.from_queryset( ProjectRoleUserAssignmentQuerySet) ResourceManager = BaseManager.from_queryset(ResourceQuerySet) RoleManager = BaseManager.from_queryset(RoleQuerySet) UserStorageLimitManager = BaseManager.from_queryset(UserStorageLimitQuerySet) ElementLockManager = BaseManager.from_queryset(ElementLockQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.dss.models.querysets import DSSEnvelopeQuerySet, DSSContainerQuerySet, DSSFilesToImportQuerySet DSSEnvelopeManager = BaseManager.from_queryset(DSSEnvelopeQuerySet) DSSContainerManager = BaseManager.from_queryset(DSSContainerQuerySet) DSSFilesToImportManager = BaseManager.from_queryset(DSSFilesToImportQuerySet)
# # Copyright (C) 2016-2020 TU Muenchen and contributors of ANEXIA Internetdienstleistungs GmbH # SPDX-License-Identifier: AGPL-3.0-or-later # from eric.core.models import BaseManager from eric.drives.models.querysets import DriveQuerySet, DirectoryQuerySet DriveManager = BaseManager.from_queryset(DriveQuerySet) DirectoryManager = BaseManager.from_queryset(DirectoryQuerySet)