Esempio n. 1
0
urlpatterns = [
    path('', IndexView.as_view(), name='index'),
    path('task/<int:pk>', TaskView.as_view(), name='task_view'),
    path('task/create/', TaskCreateView.as_view(), name='task_create'),
    path('task/<int:pk>/edit/', TaskUpdateView.as_view(), name='task_update'),
    path('task/<int:pk>/delete/', TaskDeleteView.as_view(),
         name='task_delete'),
    path('status/', StatusIndexView.as_view(), name='status_index'),
    path('status/create/', StatusCreateView.as_view(), name='status_create'),
    path('status/<int:pk>/edit/',
         StatusUpdateView.as_view(),
         name='status_update'),
    path('status/<int:pk>/delete',
         StatusDeleteView.as_view(),
         name='status_delete'),
    path('type/', TypeIndexView.as_view(), name='type_index'),
    path('type/create/', TypeCreateView.as_view(), name='type_create'),
    path('type/<int:pk>/edit/', TypeUpdateView.as_view(), name='type_update'),
    path('type/<int:pk>/delete', TypeDeleteView.as_view(), name='type_delete'),
    path('project/', ProjectIndexView.as_view(), name='project_index'),
    path('project/<int:pk>', ProjectView.as_view(), name='project_view'),
    path('project/create/', ProjectCreateView.as_view(),
         name='project_create'),
    path('project/<int:pk>/edit/',
         ProjectUpdateView.as_view(),
         name='project_update'),
    path('project/<int:pk>/delete',
         ProjectDeleteView.as_view(),
         name='project_delete'),
]
Esempio n. 2
0
 path('issue/<int:pk>/', IssueView.as_view(), name='issue_view'),
 path("issue/add/", IssueCreateView.as_view(), name="issue_add"),
 path('issue/<int:pk>/edit/',
      IssueUpdateView.as_view(),
      name='issue_update'),
 path("issue/<int:pk>/delete",
      IssueDeleteView.as_view(),
      name="issue_delete"),
 path("statuses/all", StatusView.as_view(), name="all_statuses"),
 path("statuses/add/", StatusCreateView.as_view(), name="status_add"),
 path('statuses/<int:pk>/edit/',
      StatusUpdateView.as_view(),
      name="status_update"),
 path("types/all", TypeView.as_view(), name="all_types"),
 path("types/add", TypeCreateView.as_view(), name="type_add"),
 path("types/<int:pk>/edit/", TypeUpdateView.as_view(), name="type_update"),
 path('statuses/<int:pk>/delete/',
      StatusDeleteView.as_view(),
      name="status_delete"),
 path('types/<int:pk>/delete/',
      TypeDeleteView.as_view(),
      name="type_delete"),
 path("projects/all", ProjectView.as_view(), name="all_projects"),
 path("projects/<int:pk>", ProjectDetailView.as_view(),
      name="project_view"),
 path("projects/add", ProjectCreateView.as_view(), name="project_add"),
 path("projects/<int:pk>/edit/",
      ProjectUpdateView.as_view(),
      name="project_update"),
 path("projects/<int:pk>/delete/",
      ProjectDeleteView.as_view(),
Esempio n. 3
0
      name='issue_delete'),
 path('statuses', StatusIndexView.as_view(), name='status_index'),
 path('statuses/status/<int:pk>', StatusView.as_view(), name='status_view'),
 path('statuses/status/add/', StatusCreateView.as_view(),
      name='status_add'),
 path('statuses/status/<int:pk>/update/',
      StatusUpdateView.as_view(),
      name='status_update'),
 path('statuses/status/<int:pk>/delete/',
      StatusDeleteView.as_view(),
      name='status_delete'),
 path('types', TypeIndexView.as_view(), name='type_index'),
 path('types/type/<int:pk>', TypeView.as_view(), name='type_view'),
 path('types/type/add/', TypeCreateView.as_view(), name='type_add'),
 path('types/type/<int:pk>/update/',
      TypeUpdateView.as_view(),
      name='type_update'),
 path('types/type/<int:pk>/delete/',
      TypeDeleteView.as_view(),
      name='type_delete'),
 path('projects', ProjectIndexView.as_view(), name='project_index'),
 path('projects/project/<int:pk>',
      ProjectView.as_view(),
      name='project_view'),
 path('projects/project/add/',
      ProjectCreateView.as_view(),
      name='project_add'),
 path('projects/project/<int:pk>/update/',
      ProjectUpdateView.as_view(),
      name='project_update'),
 path('projects/project/<int:pk>/delete/',
Esempio n. 4
0
 path('mission/<int:pk>/delete/',
      MissionDeleteView.as_view(),
      name='mission_delete'),
 path('status/', StatusIndexView.as_view(), name='status'),
 path('status/<int:pk>/', StatusView.as_view(), name='status_view'),
 path('status/add/', StatusCreateView.as_view(), name='status_add'),
 path('status/<int:pk>/update/',
      StatusUpdateView.as_view(),
      name='status_update'),
 path('status/<int:pk>/delete/',
      StatusDeleteView.as_view(),
      name='status_delete'),
 path('type/', TypeIndexView.as_view(), name='type'),
 path('type/<int:pk>/', TypeView.as_view(), name='type_view'),
 path('type/add/', TypeCreateView.as_view(), name='type_add'),
 path('type/<int:pk>/update/', TypeUpdateView.as_view(),
      name='type_update'),
 path('type/<int:pk>/delete/', TypeDeleteView.as_view(),
      name='type_delete'),
 path('project/', ProjectIndexView.as_view(), name='project'),
 path('project/<int:pk>/', ProjectView.as_view(), name='project_view'),
 path('project/<int:pk>/delete/',
      ProjectDeleteView.as_view(),
      name='project_delete'),
 path('project/add/', ProjectCreateView.as_view(), name='project_add'),
 path('project/<int:pk>/update/',
      ProjectUpdateView.as_view(),
      name='project_update'),
 path('project/<int:pk>/users/update/',
      TeamProjectUserUpdate.as_view(),
      name='project_users_update'),
Esempio n. 5
0
    TypeCreateView, TypeUpdateView, TypeDeleteView
from webapp.views.project_views import ProjectIndex, ProjectView, ProjectCreateView, ProjectUpdateView, \
    ProjectDeleteView, TeamUserDelete

urlpatterns = [
    path('', IndexView.as_view(), name='index'),
    path('issue/<int:pk>/', IssueView.as_view(), name='issue_view'),
    path('issue/<int:pk>/add/', IssueCreateView.as_view(), name='issue_add'),
    path('issue/<int:pk>/update/', IssueUpdateView.as_view(), name='issue_update'),
    path('issue/<int:pk>/delete/', IssueDeleteView.as_view(), name='issue_delete'),

    path('issue/status/', StatusView.as_view(), name='status_view'),
    path('issue/status/add/', StatusCreateView.as_view(), name='status_add'),
    path('issue/status/<int:pk>/update/', StatusUpdateView.as_view(), name='status_update'),
    path('issue/status/<int:pk>/delete/', StatusDeleteView.as_view(), name='status_delete'),

    path('issue/type/', TypeView.as_view(), name='type_view'),
    path('issue/type/add/', TypeCreateView.as_view(), name='type_add'),
    path('issue/type/<int:pk>/update/', TypeUpdateView.as_view(), name='type_update'),
    path('issue/type/<int:pk>/delete/', TypeDeleteView.as_view(), name='type_delete'),

    path('issue/project/', ProjectIndex.as_view(), name='project_index'),
    path('issue/project/<int:pk>/', ProjectView.as_view(), name='project_view'),
    path('issue/project/add/', ProjectCreateView.as_view(), name='project_add'),
    path('issue/project/<int:pk>/update/', ProjectUpdateView.as_view(), name='project_update'),
    path('issue/project/<int:pk>/delete/', ProjectDeleteView.as_view(), name='project_delete'),
    path('project/team/<int:pk>/delete', TeamUserDelete.as_view(), name='team_delete')
]


app_name = 'webapp'