def task_json(request, uid): nodes = Task.graph(uid) return JsonResponse(nodes)
def task_json(request,uid): nodes = Task.graph(uid) return JsonResponse(nodes)
def task_graph(request, uid): nodes = Task.graph(uid) context = {"graph": nodes} return render(request, "graph/task.html", context)
def task_graph(request,uid): nodes = Task.graph(uid) context = {"graph":nodes} return render(request,"graph/task.html",context)