|
7 | 7 | ProjectChatMessageList, |
8 | 8 | ProjectChatDetail, |
9 | 9 | DirectChatDetail, |
| 10 | + ProjectChatFileList, |
| 11 | + DirectChatFileList, |
10 | 12 | ) |
11 | 13 |
|
12 | 14 | app_name = "chats" |
13 | 15 |
|
14 | 16 | urlpatterns = [ |
15 | 17 | path("directs/", DirectChatList.as_view(), name="direct-chat-list"), |
16 | 18 | path("directs/<slug:pk>/", DirectChatDetail.as_view(), name="direct-chat-detail"), |
17 | | - path("projects/", ProjectChatList.as_view(), name="project-chat-list"), |
18 | | - path("projects/<int:pk>/", ProjectChatDetail.as_view(), name="project-chat-detail"), |
19 | 19 | path( |
20 | 20 | "directs/<slug:pk>/messages/", |
21 | 21 | DirectChatMessageList.as_view(), |
22 | 22 | name="direct-chat-messages", |
23 | 23 | ), |
| 24 | + path( |
| 25 | + "directs/<slug:pk>/files/", |
| 26 | + DirectChatFileList.as_view(), |
| 27 | + name="direct-chat-files", |
| 28 | + ), |
| 29 | + path("projects/", ProjectChatList.as_view(), name="project-chat-list"), |
| 30 | + path("projects/<int:pk>/", ProjectChatDetail.as_view(), name="project-chat-detail"), |
24 | 31 | path( |
25 | 32 | "projects/<int:pk>/messages/", |
26 | 33 | ProjectChatMessageList.as_view(), |
27 | 34 | name="project-chat-messages", |
28 | 35 | ), |
| 36 | + path( |
| 37 | + "projects/<int:pk>/files/", |
| 38 | + ProjectChatFileList.as_view(), |
| 39 | + name="project-chat-files", |
| 40 | + ), |
29 | 41 | ] |
0 commit comments