From ff53fd490b02536733f6618908760b9e3d52eeb3 Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Mon, 29 Nov 2021 10:50:24 +0100 Subject: add group messages api --- chat_api/urls.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chat_api/urls.py') diff --git a/chat_api/urls.py b/chat_api/urls.py index 617a0f2..a860b5d 100644 --- a/chat_api/urls.py +++ b/chat_api/urls.py @@ -2,6 +2,7 @@ from django.urls import path from .views import * urlpatterns = [ - path('groups/', GroupView.as_view(), 'groups_list'), - path('groups/detail//', GroupDetailView.as_view(), 'groups_detail'), + path('groups/', GroupView.as_view(), name='groups_list'), + path('groups/detail//', GroupDetailView.as_view(), name='groups_detail'), + path('groups/detail//messages/', GmsView.as_view(), name='group_messages'), ] -- cgit v1.2.3