From cff1a183cfa9f54e77260f01d0f6389fdb5ca915 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Tue, 28 Feb 2023 18:19:22 -0600 Subject: [PATCH] fix dispatcher API URLs to allow key-by-name --- dispatch/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dispatch/urls.py b/dispatch/urls.py index 792972c..604b056 100644 --- a/dispatch/urls.py +++ b/dispatch/urls.py @@ -6,8 +6,8 @@ from dispatch.views import (DispatcherActionDetail, DispatcherActionList, Dispat urlpatterns = [ path('api/dispatchers/', DispatcherList.as_view(), name='dispatch_api_dispatchers'), - path('api/dispatchers//', DispatcherDetail.as_view(), name='dispatch_api_dispatcher_detail'), - path('api/dispatchers//message', DispatchMessage.as_view(), name='dispatch_api_dispatch_message'), + path('api/dispatchers//', DispatcherDetail.as_view(), name='dispatch_api_dispatcher_detail'), + path('api/dispatchers//message', DispatchMessage.as_view(), name='dispatch_api_dispatch_message'), path('api/dispatchers//', DispatcherDetailByKey.as_view(), name='dispatch_api_dispatcher_detail'), path('api/dispatchers//message', DispatchMessageByKey.as_view(), name='dispatch_api_dispatch_message'),