14 lines
544 B
Python
14 lines
544 B
Python
from django.urls import path
|
|
|
|
from .views import audio_capture, call_create, call_detail, call_list, home, webhook_generic, webhook_list
|
|
|
|
urlpatterns = [
|
|
path('', home, name='home'),
|
|
path('calls/', call_list, name='call_list'),
|
|
path('calls/new/', call_create, name='call_create'),
|
|
path('calls/<int:pk>/', call_detail, name='call_detail'),
|
|
path('audio/', audio_capture, name='audio_capture'),
|
|
path('webhooks/', webhook_list, name='webhook_list'),
|
|
path('webhooks/generic/', webhook_generic, name='webhook_generic'),
|
|
]
|