Added databases variable check

This commit is contained in:
Andrew Willimott
2017-05-08 07:02:31 +12:00
parent 3505e372d8
commit 6f256be1f1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -692,4 +692,4 @@ def d3_graph_model():
# d3 v4 allows individual modules to be specified. The complete d3 library is included below.
response.files.append(URL('static','js/d3.min.js'))
response.files.append(URL('static','js/d3_graph.js'))
return dict(nodes=nodes, links=links)
return dict(databases=databases, nodes=nodes, links=links)
@@ -692,4 +692,4 @@ def d3_graph_model():
# d3 v4 allows individual modules to be specified. The complete d3 library is included below.
response.files.append(URL('static','js/d3.min.js'))
response.files.append(URL('static','js/d3_graph.js'))
return dict(nodes=nodes, links=links)
return dict(databases=databases, nodes=nodes, links=links)
+1 -1
View File
@@ -692,4 +692,4 @@ def d3_graph_model():
# d3 v4 allows individual modules to be specified. The complete d3 library is included below.
response.files.append(URL('static','js/d3.min.js'))
response.files.append(URL('static','js/d3_graph.js'))
return dict(nodes=nodes, links=links)
return dict(databases=databases, nodes=nodes, links=links)