<reponame>l3l3l/vulnman
from django.urls import path, include
from apps.projects import views


app_name = "projects"


urlpatterns = [
    path('', views.ProjectList.as_view(), name="project-list"),
    path('create/', views.ProjectCreate.as_view(), name="project-create"),

    # reporting urls
    path('reporting/', include('apps.reporting.urls')),

    # networking
    path('networking/', include('apps.networking.urls')),

    # social
    path('social/', include('apps.social.urls')),

    # command
    path('methodologies/', include('apps.methodologies.urls.projects')),

    # findings
    path('findings/', include('apps.findings.urls.projects')),

    # vulns app
    # path('vulns/', include('vulns.urls')),

    # tools
    path('tools/', include('apps.external_tools.urls')),

    # project members
    # TODO

    # single project
    path('<str:pk>/', views.ProjectDetail.as_view(), name="project-detail"),
    path('<str:pk>/update/', views.ProjectUpdate.as_view(), name="project-update"),
    path('<str:pk>/close/', views.ProjectUpdateClose.as_view(), name="project-close")

]

from django.urls import path, include
from apps.projects import views


app_name = "projects"


urlpatterns = [
    path('', views.ProjectList.as_view(), name="project-list"),
    path('create/', views.ProjectCreate.as_view(), name="project-create"),

    # reporting urls
    path('reporting/', include('apps.reporting.urls')),

    # networking
    path('networking/', include('apps.networking.urls')),

    # social
    path('social/', include('apps.social.urls')),

    # command
    path('methodologies/', include('apps.methodologies.urls.projects')),

    # findings
    path('findings/', include('apps.findings.urls.projects')),

    # vulns app
    # path('vulns/', include('vulns.urls')),

    # tools
    path('tools/', include('apps.external_tools.urls')),

    # project members
    # TODO

    # single project
    path('<str:pk>/', views.ProjectDetail.as_view(), name="project-detail"),
    path('<str:pk>/update/', views.ProjectUpdate.as_view(), name="project-update"),
    path('<str:pk>/close/', views.ProjectUpdateClose.as_view(), name="project-close")

]
# reporting urls # networking # social # command # findings # vulns app # path('vulns/', include('vulns.urls')), # tools # project members # TODO # single project