| from django.urls import path | |
| from .views import ChatView | |
| urlpatterns = [ | |
| path('message/', ChatView.as_view(), name='chat-message'), | |
| path('message/clear-all/', ChatView.as_view(), {'msg_id': 'all'}, name='chat-clear-all'), | |
| path('message/<str:msg_id>/', ChatView.as_view(), name='chat-delete'), | |
| ] | |