from django.urls import path from .views import home, article_detail, BrandListView, BrandCreateView, BrandUpdateView, BrandDeleteView, dismiss_incident, IncidentCreateView, autofill_incident_from_url urlpatterns = [ path("", home, name="home"), path('article//', article_detail, name='article_detail'), path('incident/add/', IncidentCreateView.as_view(), name='incident-add'), path('incident/autofill/', autofill_incident_from_url, name='incident-autofill'), path('incident//dismiss/', dismiss_incident, name='dismiss_incident'), path('brands/', BrandListView.as_view(), name='brand-list'), path('brands/add/', BrandCreateView.as_view(), name='brand-add'), path('brands//edit/', BrandUpdateView.as_view(), name='brand-edit'), path('brands//delete/', BrandDeleteView.as_view(), name='brand-delete'), ]