Browse Source

post

master
jfinn 4 days ago
parent
commit
7281d987d2
3 changed files with 5 additions and 2 deletions
  1. 1
    1
      wsps/consumers.py
  2. 2
    1
      wsps/tasks_loop.py
  3. 2
    0
      wsps/views.py

+ 1
- 1
wsps/consumers.py View File

5
 import time
5
 import time
6
 p=print
6
 p=print
7
 
7
 
8
-import gmod
8
+import wsps.gmod as gmod
9
 
9
 
10
 # ???
10
 # ???
11
 
11
 

+ 2
- 1
wsps/tasks_loop.py View File

13
 import atexit
13
 import atexit
14
 from asgiref.sync import async_to_sync,sync_to_async
14
 from asgiref.sync import async_to_sync,sync_to_async
15
 
15
 
16
-import gmod
16
+# import gmod
17
+import wsps.gmod as gmod
17
 
18
 
18
 hot_reload_build = False
19
 hot_reload_build = False
19
 hot_reload_build = True
20
 hot_reload_build = True

+ 2
- 0
wsps/views.py View File

12
 from .models import Post,PostForm
12
 from .models import Post,PostForm
13
 
13
 
14
 
14
 
15
+import wsps.gmod as gmod
16
+
15
 # from wsps.tasks_loop import *
17
 # from wsps.tasks_loop import *
16
 
18
 
17
 # wsps.
19
 # wsps.

Loading…
Cancel
Save