name='sentry-create-organization'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/api-keys/$', OrganizationApiKeysView.as_view(), name='sentry-organization-api-keys'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/api-keys/(?P<key_id>[\w_-]+)/$', OrganizationApiKeySettingsView.as_view(), name='sentry-organization-api-key-settings'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/auth/$', OrganizationAuthSettingsView.as_view(), name='sentry-organization-auth-settings'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/members/$', OrganizationMembersView.as_view(), name='sentry-organization-members'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/members/new/$', CreateOrganizationMemberView.as_view(), name='sentry-create-organization-member'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/members/(?P<member_id>\d+)/$', OrganizationMemberSettingsView.as_view(), name='sentry-organization-member-settings'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/stats/$', react_page_view, name='sentry-organization-stats'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/teams/(?P<team_slug>[\w_-]+)/remove/$', RemoveTeamView.as_view(), name='sentry-remove-team'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/teams/new/$', CreateTeamView.as_view(), name='sentry-create-team'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/projects/new/$', CreateProjectView.as_view(), name='sentry-create-project'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/remove/$', RemoveOrganizationView.as_view(), name='sentry-remove-organization'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/restore/$', RestoreOrganizationView.as_view(), name='sentry-restore-organization'), url(r'^accept/(?P<member_id>\d+)/(?P<token>\w+)/$', AcceptOrganizationInviteView.as_view(), name='sentry-accept-invite'), # need to catch settings and force it to react url(r'^organizations/(?P<organization_slug>[\w_-]+)/settings/', react_page_view),
react_page_view, name='sentry-create-organization-member' ), url( r'^organizations/(?P<organization_slug>[\w_-]+)/members/(?P<member_id>\d+)/$', react_page_view, name='sentry-organization-member-settings' ), url( r'^organizations/(?P<organization_slug>[\w_-]+)/stats/$', react_page_view, name='sentry-organization-stats' ), url( r'^organizations/(?P<organization_slug>[\w_-]+)/teams/(?P<team_slug>[\w_-]+)/remove/$', RemoveTeamView.as_view(), name='sentry-remove-team' ), url( r'^organizations/(?P<organization_slug>[\w_-]+)/teams/new/$', react_page_view), url( r'^organizations/(?P<organization_slug>[\w_-]+)/restore/$', RestoreOrganizationView.as_view(), name='sentry-restore-organization' ), url( r'^accept/(?P<member_id>\d+)/(?P<token>\w+)/$', AcceptOrganizationInviteView.as_view(), name='sentry-accept-invite' ),
), url( r'^organizations/(?P<organization_slug>[\w_-]+)/members/(?P<member_id>\d+)/$', RedirectView.as_view(pattern_name="sentry-organization-member-settings", permanent=False), name='sentry-organization-member-settings-old' ), url( r'^organizations/(?P<organization_slug>[\w_-]+)/stats/$', react_page_view, name='sentry-organization-stats' ), # TODO REMOVEME #NEW-SETTINGS, redirect to team settings? url( r'^organizations/(?P<organization_slug>[\w_-]+)/teams/(?P<team_slug>[\w_-]+)/remove/$', RemoveTeamView.as_view(), name='sentry-remove-team' ), url( r'^organizations/(?P<organization_slug>[\w_-]+)/teams/new/$', react_page_view), url( r'^organizations/(?P<organization_slug>[\w_-]+)/restore/$', RestoreOrganizationView.as_view(), name='sentry-restore-organization' ), url( r'^accept/(?P<member_id>\d+)/(?P<token>\w+)/$', AcceptOrganizationInviteView.as_view(), name='sentry-accept-invite' ),
name='sentry-organization-api-keys'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/api-keys/(?P<key_id>[\w_-]+)/$', OrganizationApiKeySettingsView.as_view(), name='sentry-organization-api-key-settings'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/auth/$', OrganizationAuthSettingsView.as_view(), name='sentry-organization-auth-settings'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/members/$', OrganizationMembersView.as_view(), name='sentry-organization-members'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/members/new/$', CreateOrganizationMemberView.as_view(), name='sentry-create-organization-member'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/members/(?P<member_id>\d+)/$', OrganizationMemberSettingsView.as_view(), name='sentry-organization-member-settings'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/stats/$', react_page_view, name='sentry-organization-stats'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/settings/$', OrganizationSettingsView.as_view(), name='sentry-organization-settings'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/teams/(?P<team_slug>[\w_-]+)/remove/$', RemoveTeamView.as_view(), name='sentry-remove-team'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/teams/new/$', CreateTeamView.as_view(), name='sentry-create-team'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/projects/new/$', CreateProjectView.as_view(), name='sentry-create-project'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/remove/$', RemoveOrganizationView.as_view(), name='sentry-remove-organization'), url(r'^organizations/(?P<organization_slug>[\w_-]+)/restore/$', RestoreOrganizationView.as_view(), name='sentry-restore-organization'), url(r'^accept/(?P<member_id>\d+)/(?P<token>\w+)/$', AcceptOrganizationInviteView.as_view(), name='sentry-accept-invite'), # Settings - Projects url(r'^(?P<organization_slug>[\w_-]+)/(?P<project_slug>[\w_-]+)/settings/$', ProjectSettingsView.as_view(),