Browse Source

auto commit

master
jfinn 2 years ago
parent
commit
a90c63def5
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      wsps/consumers.py

+ 6
- 1
wsps/consumers.py View File

@@ -15,4 +15,9 @@ class ChatConsumer(WebsocketConsumer):
15 15
 
16 16
         self.send(text_data=json.dumps({
17 17
             'message': message
18
-        }))
18
+        }))
19
+
20
+
21
+        self.send(text_data=json.dumps({
22
+            'message': {"abc":123}
23
+        }))

Loading…
Cancel
Save