Browse Source

...

master
jfinn 6 months ago
parent
commit
0ad81ef25e
2 changed files with 18 additions and 0 deletions
  1. 5
    0
      wsps/v_jnk.py
  2. 13
    0
      wsps/views.py

+ 5
- 0
wsps/v_jnk.py View File

@@ -15,3 +15,8 @@
15 15
 
16 16
 
17 17
 
18
+
19
+
20
+
21
+
22
+

+ 13
- 0
wsps/views.py View File

@@ -1,13 +1,26 @@
1 1
 from django.shortcuts import render
2 2
 from django.http import HttpResponse
3 3
 
4
+
5
+# from wsps.tasks_loop import *
6
+
7
+# wsps.
8
+import tasks_loop
9
+glob_cl = tasks_loop.glob_cl
10
+# glob_cl.has_cl
11
+# glob_cl.acl
4 12
 # Create your views here.
5 13
 def index(request):
6 14
 	return HttpResponse("Hello World") 
7 15
 
8 16
 
9 17
 def fn_v(request,*a,**kw):
18
+	# glob_cl.acl
19
+	# if 
20
+	if (glob_cl.has_cl):
21
+		return HttpResponse("fn_v has_cl") 
10 22
 	return HttpResponse("fn_v") 
23
+	return
11 24
 
12 25
 def fn_v0(request,*a,**kw):
13 26
 	return HttpResponse("fn_v0") 

Loading…
Cancel
Save