Commit 0d4f1d26 authored by Janez K's avatar Janez K

added some temporary stuff

parent ff9fe92c
......@@ -72,4 +72,6 @@ urlpatterns += patterns('',
url(r'^widget-inputs/(?P<widget_id>[0-9]+)/$', 'workflows.views.widget_inputs', name='widget inputs'),
url(r'^workflow_results/(?P<workflow_id>[0-9]+)/$', 'workflows.views.workflow_results', name='workflow_results'),
......@@ -1341,6 +1341,13 @@ def widget_inputs(request, widget_id):
return input_dict
def workflow_results(request,workflow_id):
w = get_object_or_404(Workflow, pk=workflow_id)
from streams.models import Stream
s = Stream()
return s.execute(workflow=w)
def widget_iframe(request, widget_id):
w = get_object_or_404(Widget, pk=widget_id)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment