# Path: kraut_incident/views.py
# def home(request):
# def list_incidents(request):
# def abort_task_incident(request, incident_id, task_id):
# def resolve_task_incident(request, incident_id, task_id):
# def remove_task_incident(request, incident_id, task_id):
# def remove_contact_incident(request, incident_id, contact_id):
# def remove_handler_incident(request, incident_id, handler_id):
# def add_contact_incident(request, incident_id):
# def add_handler_incident(request, incident_id):
# def add_task(request, incident_id):
# def update_incident_header(request, incident_id):
# def comment_incident(request, incident_id):
# def delete_comment_incident(request, incident_id, comment_id):
# def close_incident(request, incident_id):
# def view_incident(request, incident_id):
# def delete_incident(request, incident_id):
# def create_handler(request):
# def create_contact(request):
# def new_incident(request):


from django.conf.urls import url
from kraut_incident import views

urlpatterns = [
    url(r'^$', views.home, name='home'),
    url(r'^list/$', views.list_incidents, name='list'),
    url(r'^new/$', views.new_incident, name='new'),
    url(r'^incident/(?P<incident_id>\d+)/delete/$', views.delete_incident, name='delete_incident'),
    url(r'^incident/(?P<incident_id>\d+)/view/$', views.view_incident, name='view_incident'),
    url(r'^incident/(?P<incident_id>\d+)/close/$', views.close_incident, name='close_incident'),
    url(r'^incident/(?P<incident_id>\d+)/update/header/$', views.update_incident_header, name='update_incident_header'),
    url(r'^incident/(?P<incident_id>\d+)/add/task/$', views.add_task, name='add_task'),

# Path: kraut_incident/views.py
# def home(request):
# def list_incidents(request):
# def abort_task_incident(request, incident_id, task_id):
# def resolve_task_incident(request, incident_id, task_id):
# def remove_task_incident(request, incident_id, task_id):
# def remove_contact_incident(request, incident_id, contact_id):
# def remove_handler_incident(request, incident_id, handler_id):
# def add_contact_incident(request, incident_id):
# def add_handler_incident(request, incident_id):
# def add_task(request, incident_id):
# def update_incident_header(request, incident_id):
# def comment_incident(request, incident_id):
# def delete_comment_incident(request, incident_id, comment_id):
# def close_incident(request, incident_id):
# def view_incident(request, incident_id):
# def delete_incident(request, incident_id):
# def create_handler(request):
# def create_contact(request):
# def new_incident(request):


# Path: kraut_incident/urls.py
from django.conf.urls import url
from kraut_incident import views


urlpatterns = [
    url(r'^$', views.home, name='home'),
    url(r'^list/$', views.list_incidents, name='list'),
    url(r'^new/$', views.new_incident, name='new'),
    url(r'^incident/(?P<incident_id>\d+)/delete/$', views.delete_incident, name='delete_incident'),
    url(r'^incident/(?P<incident_id>\d+)/view/$', views.view_incident, name='view_incident'),
    url(r'^incident/(?P<incident_id>\d+)/close/$', views.close_incident, name='close_incident'),
    url(r'^incident/(?P<incident_id>\d+)/update/header/$', views.update_incident_header, name='update_incident_header'),
    url(r'^incident/(?P<incident_id>\d+)/add/task/$', views.add_task, name='add_task'),

    url(r'^incident/(?P<incident_id>\d+)/add/handler/$', views.add_handler_incident, name='add_handler_incident'),