diff --git a/RIGS/rigboard.py b/RIGS/rigboard.py index 3a4e3df6..b56ca7d3 100644 --- a/RIGS/rigboard.py +++ b/RIGS/rigboard.py @@ -63,7 +63,7 @@ class EventOembed(generic.View): 'type': 'rich', } # need to do this: @xframe_options_exempt - json = simplejson.JSONEncoderForHTML(data) + json = simplejson.JSONEncoderForHTML().encode(data) return HttpResponse(json, content_type="application/json")