diff options
Diffstat (limited to 'chat_api/urls.py')
-rw-r--r-- | chat_api/urls.py | 5 |
1 files changed, 3 insertions, 2 deletions
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 | |||
2 | from .views import * | 2 | from .views import * |
3 | 3 | ||
4 | urlpatterns = [ | 4 | urlpatterns = [ |
5 | path('groups/', GroupView.as_view(), 'groups_list'), | 5 | path('groups/', GroupView.as_view(), name='groups_list'), |
6 | path('groups/detail/<int:pk>/', GroupDetailView.as_view(), 'groups_detail'), | 6 | path('groups/detail/<int:pk>/', GroupDetailView.as_view(), name='groups_detail'), |
7 | path('groups/detail/<int:pk>/messages/', GmsView.as_view(), name='group_messages'), | ||
7 | ] | 8 | ] |