|
@@ -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")
|