You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
2.1 KiB
40 lines
2.1 KiB
from django.conf import urls
|
|
from django.conf.urls import include
|
|
from django.contrib.auth.views import login, logout
|
|
|
|
from .views import (
|
|
ContractorFilterView,
|
|
ContractorOfficeDetailView,
|
|
ContractorProfileDetailView,
|
|
CustomerProfileCurrentProjectsView,
|
|
CustomerProfileOpenProjectsView,
|
|
CustomerProfileReviewsView,
|
|
CustomerProfileTrashedProjectsView,
|
|
UserFinancialInfoEditView,
|
|
UserProfileEditView,
|
|
TeamCreateView,
|
|
ContractorResumeUpdateView,
|
|
ContractorOfficeOpenProjectsView,
|
|
contractor_resumefile_create,
|
|
)
|
|
|
|
|
|
app_name = 'users'
|
|
|
|
urlpatterns = [
|
|
urls.url(r'^(?P<pk>\d+)/edit/$', UserProfileEditView.as_view(), name='user-profile-edit'),
|
|
urls.url(r'^(?P<pk>\d+)/financial-info/edit/$', UserFinancialInfoEditView.as_view(), name='user-financial-info-edit'),
|
|
|
|
urls.url(r'^customers/(?P<pk>\d+)/$', CustomerProfileOpenProjectsView.as_view(), name='customer-profile-open-projects'),
|
|
urls.url(r'^customers/(?P<pk>\d+)/trashed-projects/$', CustomerProfileTrashedProjectsView.as_view(), name='customer-profile-trashed-projects'),
|
|
urls.url(r'^customers/(?P<pk>\d+)/current-projects/$', CustomerProfileCurrentProjectsView.as_view(), name='customer-profile-current-projects'),
|
|
urls.url(r'^customers/(?P<pk>\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<pk>\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<pk>\d+)/$', ContractorProfileDetailView.as_view(), name='contractor-profile'),
|
|
urls.url(r'^contractor-office/(?P<pk>\d+)/$', ContractorOfficeDetailView.as_view(), name='contractor-office'),
|
|
urls.url(r'^contractor-office/(?P<pk>\d+)/open-projects/$', ContractorOfficeOpenProjectsView.as_view(), name='contractor-office-open-projects'),
|
|
]
|
|
|