TagInformationPackagesViewSet, TagVersionTypeViewSet, TagVersionViewSet, TagViewSet, TransferViewSet, ) from ESSArch_Core.WorkflowEngine.views import ( ProcessStepViewSet, ProcessTaskViewSet, ProcessViewSet, ) admin.site.site_header = 'ESSArch Administration' admin.site.site_title = 'ESSArch Administration' router = ESSArchRouter() router.register(r'users', UserViewSet) router.register(r'groups', GroupViewSet) router.register(r'agents', AgentViewSet).register( r'archives', ArchiveViewSet, basename='agent-archives', parents_query_lookups=['agent'] ) router.register(r'agent-types', AgentTypeViewSet) router.register(r'agent-identifier-types', AgentIdentifierTypeViewSet) router.register(r'agent-name-types', AgentNameTypeViewSet) router.register(r'agent-note-types', AgentNoteTypeViewSet) router.register(r'agent-place-types', AgentPlaceTypeViewSet) router.register(r'agent-relation-types', AgentRelationTypeViewSet) router.register(r'agent-tag-relation-types', AgentTagLinkRelationTypeViewSet)
InformationPackageReceptionViewSet, OrderViewSet, WorkareaViewSet, WorkareaFilesViewSet) from profiles.views import (ProfileSAViewSet, ProfileMakerExtensionViewSet, ProfileMakerTemplateViewSet, SubmissionAgreementViewSet, SubmissionAgreementTemplateView) from storage.views import (AccessQueueViewSet, IOQueueViewSet, RobotViewSet, RobotQueueViewSet, StorageObjectViewSet, StorageMediumViewSet, StorageMethodViewSet, StorageMethodTargetRelationViewSet, StorageTargetViewSet, TapeDriveViewSet, TapeSlotViewSet) from tags.search import ComponentSearchViewSet from tags.views import StructureViewSet, StructureUnitViewSet, TagViewSet, TagInformationPackagesViewSet router = ESSArchRouter() admin.site.site_header = 'ESSArch Preservation Platform Administration' admin.site.site_title = 'ESSArch Preservation Platform Administration' router.register(r'access-queue', AccessQueueViewSet) router.register(r'agents', AgentViewSet) router.register(r'archive_policies', ArchivePolicyViewSet) router.register(r'classification-structures', StructureViewSet).register(r'units', StructureUnitViewSet, base_name='structure-units', parents_query_lookups=['structure']) router.register(r'classification-structure-units', StructureUnitViewSet) router.register(r'event-types', EventTypeViewSet) router.register(r'events', EventIPViewSet)
from django.conf.urls import include, url from ESSArch_Core.WorkflowEngine.views import ProcessTaskViewSet, ProcessStepViewSet from ESSArch_Core.ip.views import InformationPackageViewSet, WorkareaEntryViewSet from ESSArch_Core.maintenance.views import AppraisalRuleViewSet from ESSArch_Core.profiles.views import ProfileViewSet, SubmissionAgreementViewSet from ESSArch_Core.routers import ESSArchRouter router = ESSArchRouter() router.register(r'appraisal-rules', AppraisalRuleViewSet) router.register(r'information-packages', InformationPackageViewSet) router.register(r'profiles', ProfileViewSet) router.register(r'steps', ProcessStepViewSet) router.register(r'submission-agreements', SubmissionAgreementViewSet) router.register(r'tasks', ProcessTaskViewSet) router.register(r'workarea-entries', WorkareaEntryViewSet, base_name='workarea-entries') urlpatterns = [ url(r'^api/', include(router.urls)), ]
from ESSArch_Core.WorkflowEngine.views import ProcessViewSet, ProcessStepViewSet, ProcessTaskViewSet from ESSArch_Core.auth.views import GroupViewSet, PermissionViewSet, MeView, UserViewSet, NotificationViewSet from ESSArch_Core.configuration.views import ParameterViewSet, PathViewSet, SysInfoView from ESSArch_Core.fixity.views import ValidationViewSet from ESSArch_Core.ip.views import AgentViewSet, EventIPViewSet from ESSArch_Core.profiles.views import ProfileIPViewSet, ProfileIPDataViewSet, ProfileIPDataTemplateViewSet, \ InformationPackageProfileIPViewSet from ESSArch_Core.routers import ESSArchRouter from configuration.views import EventTypeViewSet from ip.views import InformationPackageViewSet from profiles.views import ProfileViewSet, ProfileSAViewSet, SubmissionAgreementViewSet admin.site.site_header = 'ESSArch Tools Producer Administration' admin.site.site_title = 'ESSArch Tools Producer Administration' router = ESSArchRouter() router.register(r'users', UserViewSet) router.register(r'groups', GroupViewSet) router.register(r'agents', AgentViewSet) router.register(r'permissions', PermissionViewSet) router.register(r'information-packages', InformationPackageViewSet) router.register(r'information-packages', InformationPackageViewSet).register( r'events', EventIPViewSet, base_name='ip-events', parents_query_lookups=['linkingObjectIdentifierValue']) router.register(r'information-packages', InformationPackageViewSet).register( r'profiles', InformationPackageProfileIPViewSet, base_name='ip-profiles', parents_query_lookups=['ip'])