visualization_views.py 251 Bytes
Newer Older
Anze Vavpetic's avatar
Anze Vavpetic committed
1
from django.shortcuts import render
2 3 4
import json

def ilp_sdmsegs_rule_viewer(request,input_dict,output_dict,widget):
5
    return render(request, 'visualizations/sdmsegs_viewer.html',{'widget':widget,'rules':json.loads(input_dict['sdmsegs_rules'])})