from django.urls import path, include from .views import home, CustomerListView, CustomerDetailView, CustomerUpdateView, CustomerDeleteView, CustomerRestoreView, CustomerBulkActionView, CustomerBulkUndoView, CustomerUndoView urlpatterns = [ path("", home, name="home"), path("customers/", CustomerListView.as_view(), name="customer-list"), path('customers//', CustomerDetailView.as_view(), name='customer_detail'), path('customer//edit/', CustomerUpdateView.as_view(), name='customer_edit'), path('customer//delete/', CustomerDeleteView.as_view(), name='customer_delete'), path('customer//restore/', CustomerRestoreView.as_view(), name='customer_restore'), path('customers/bulk-action/', CustomerBulkActionView.as_view(), name='customer_bulk_action'), path('customers/bulk-undo/', CustomerBulkUndoView.as_view(), name='customer_bulk_undo'), path('customer/undo/', CustomerUndoView.as_view(), name='customer_undo'), path('opportunities/', include('core.opportunity_urls', namespace='opportunities')), ]