Exemple #1
0
     OrganizationDetail.as_view(),
     name='organization_detail'),
 url(r'^(?P<pk>[0-9]+)/users/$',
     OrganizationUsersList.as_view(),
     name='organization_users_list'),
 url(r'^(?P<pk>[0-9]+)/admins/$',
     OrganizationAdminsList.as_view(),
     name='organization_admins_list'),
 url(r'^(?P<pk>[0-9]+)/inventories/$',
     OrganizationInventoriesList.as_view(),
     name='organization_inventories_list'),
 url(r'^(?P<pk>[0-9]+)/projects/$',
     OrganizationProjectsList.as_view(),
     name='organization_projects_list'),
 url(r'^(?P<pk>[0-9]+)/workflow_job_templates/$',
     OrganizationWorkflowJobTemplatesList.as_view(),
     name='organization_workflow_job_templates_list'),
 url(r'^(?P<pk>[0-9]+)/teams/$',
     OrganizationTeamsList.as_view(),
     name='organization_teams_list'),
 url(r'^(?P<pk>[0-9]+)/credentials/$',
     OrganizationCredentialList.as_view(),
     name='organization_credential_list'),
 url(r'^(?P<pk>[0-9]+)/activity_stream/$',
     OrganizationActivityStreamList.as_view(),
     name='organization_activity_stream_list'),
 url(r'^(?P<pk>[0-9]+)/notification_templates/$',
     OrganizationNotificationTemplatesList.as_view(),
     name='organization_notification_templates_list'),
 url(r'^(?P<pk>[0-9]+)/notification_templates_any/$',
     OrganizationNotificationTemplatesAnyList.as_view(),
Exemple #2
0
    OrganizationNotificationTemplatesApprovalList,
    OrganizationInstanceGroupsList,
    OrganizationObjectRolesList,
    OrganizationAccessList,
    OrganizationApplicationList,
)


urls = [
    url(r'^$', OrganizationList.as_view(), name='organization_list'),
    url(r'^(?P<pk>[0-9]+)/$', OrganizationDetail.as_view(), name='organization_detail'),
    url(r'^(?P<pk>[0-9]+)/users/$', OrganizationUsersList.as_view(), name='organization_users_list'),
    url(r'^(?P<pk>[0-9]+)/admins/$', OrganizationAdminsList.as_view(), name='organization_admins_list'),
    url(r'^(?P<pk>[0-9]+)/inventories/$', OrganizationInventoriesList.as_view(), name='organization_inventories_list'),
    url(r'^(?P<pk>[0-9]+)/projects/$', OrganizationProjectsList.as_view(), name='organization_projects_list'),
    url(r'^(?P<pk>[0-9]+)/workflow_job_templates/$', OrganizationWorkflowJobTemplatesList.as_view(), name='organization_workflow_job_templates_list'),
    url(r'^(?P<pk>[0-9]+)/teams/$', OrganizationTeamsList.as_view(), name='organization_teams_list'),
    url(r'^(?P<pk>[0-9]+)/credentials/$', OrganizationCredentialList.as_view(), name='organization_credential_list'),
    url(r'^(?P<pk>[0-9]+)/activity_stream/$', OrganizationActivityStreamList.as_view(), name='organization_activity_stream_list'),
    url(r'^(?P<pk>[0-9]+)/notification_templates/$', OrganizationNotificationTemplatesList.as_view(), name='organization_notification_templates_list'),
    url(r'^(?P<pk>[0-9]+)/notification_templates_started/$', OrganizationNotificationTemplatesStartedList.as_view(),
        name='organization_notification_templates_started_list'),
    url(r'^(?P<pk>[0-9]+)/notification_templates_error/$', OrganizationNotificationTemplatesErrorList.as_view(),
        name='organization_notification_templates_error_list'),
    url(r'^(?P<pk>[0-9]+)/notification_templates_success/$', OrganizationNotificationTemplatesSuccessList.as_view(),
        name='organization_notification_templates_success_list'),
    url(r'^(?P<pk>[0-9]+)/notification_templates_approvals/$', OrganizationNotificationTemplatesApprovalList.as_view(),
        name='organization_notification_templates_approvals_list'),
    url(r'^(?P<pk>[0-9]+)/instance_groups/$', OrganizationInstanceGroupsList.as_view(), name='organization_instance_groups_list'),
    url(r'^(?P<pk>[0-9]+)/object_roles/$', OrganizationObjectRolesList.as_view(), name='organization_object_roles_list'),
    url(r'^(?P<pk>[0-9]+)/access_list/$', OrganizationAccessList.as_view(), name='organization_access_list'),