# Path: reports/views.py
# def upload(request):
# def report_list(request):
# def report_detail(request, report_id):
# def report_process(request, report_id):
# def report_delete(request, report_id):


from django.urls import path
from reports import views
# Copyright 2012 VPAC, http://www.vpac.org
# Copyright 2013-2021 Marcus Furlong <furlongm@gmail.com>
#
# This file is part of Patchman.
#
# Patchman is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 only.
#
# Patchman is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Patchman. If not, see <http://www.gnu.org/licenses/>



app_name = 'reports'

urlpatterns = [
    path('', views.report_list, name='report_list'),
    path('upload/', views.upload),
    path('<int:report_id>/', views.report_detail, name='report_detail'),
    path('<int:report_id>/delete/', views.report_delete, name='report_delete'),

# Path: reports/views.py
# def upload(request):
# def report_list(request):
# def report_detail(request, report_id):
# def report_process(request, report_id):
# def report_delete(request, report_id):


# Path: reports/urls.py
from django.urls import path
from reports import views

# Copyright 2012 VPAC, http://www.vpac.org
# Copyright 2013-2021 Marcus Furlong <furlongm@gmail.com>
#
# This file is part of Patchman.
#
# Patchman is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 only.
#
# Patchman is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Patchman. If not, see <http://www.gnu.org/licenses/>



app_name = 'reports'

urlpatterns = [
    path('', views.report_list, name='report_list'),
    path('upload/', views.upload),
    path('<int:report_id>/', views.report_detail, name='report_detail'),
    path('<int:report_id>/delete/', views.report_delete, name='report_delete'),

    path('<int:report_id>/process/', views.report_process, name='report_process'),  # noqa