from django.conf import urls from .views import ( AcceptTeamInvitation, contractor_resumefile_create, ContractorChatProjectsView, ContractorFilterView, ContractorOfficeProjectsView, ContractorOfficeView, ContractorProfileView, ContractorResumeUpdateView, CreateTeamInvitation, CustomerProfileCurrentProjectsView, CustomerProfileOpenProjectsView, CustomerProfileReviewsView, CustomerProfileTrashedProjectsView, TeamCreateView, TeamProfileView, UserFinancialInfoEditView, UserProfileEditView, ) app_name = 'users' urlpatterns = [ urls.url(r'^(?P\d+)/edit/$', UserProfileEditView.as_view(), name='user-profile-edit'), urls.url(r'^(?P\d+)/financial-info/edit/$', UserFinancialInfoEditView.as_view(), name='user-financial-info-edit'), urls.url(r'^customers/(?P\d+)/$', CustomerProfileOpenProjectsView.as_view(), name='customer-profile-open-projects'), urls.url(r'^customers/(?P\d+)/trashed-projects/$', CustomerProfileTrashedProjectsView.as_view(), name='customer-profile-trashed-projects'), urls.url(r'^customers/(?P\d+)/current-projects/$', CustomerProfileCurrentProjectsView.as_view(), name='customer-profile-current-projects'), urls.url(r'^customers/(?P\d+)/reviews/$', CustomerProfileReviewsView.as_view(), name='customer-profile-reviews'), urls.url(r'^contractors/$', ContractorFilterView.as_view(), name='contractor-filter'), urls.url(r'^contractors/resume/(?P\d+)/edit/$', ContractorResumeUpdateView.as_view(), name='contractor-resume-update'), urls.url(r'^contractors/team/create/$', TeamCreateView.as_view(), name='team-create'), urls.url(r'^contractorsresumefiles/create/$', contractor_resumefile_create, name='contractor-resume-file-create'), urls.url(r'^contractors/(?P\d+)/$', ContractorProfileView.as_view(), name='contractor-profile'), urls.url(r'^contractor-office/$', ContractorOfficeView.as_view(), name='contractor-office'), urls.url(r'^contractor-office/open-projects/$', ContractorOfficeProjectsView.as_view(), name='contractor-office-open-projects'), urls.url(r'^contractor-office/work-projects/$', ContractorChatProjectsView.as_view(), name='contractor-office-chat-projects'), urls.url(r'^teams/(?P\d+)/$', TeamProfileView.as_view(), name='team-profile'), urls.url(r'^create-team-invitation/(?P\d+)/$', CreateTeamInvitation.as_view(), name='create-team-invitation'), urls.url(r'^accept-team-invitation/(?P\d+)/$', AcceptTeamInvitation.as_view(), name='accept-team-invitation'), ]