Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for Django 1.8.9 #2

Open
tkwon opened this issue May 21, 2016 · 0 comments
Open

Fixes for Django 1.8.9 #2

tkwon opened this issue May 21, 2016 · 0 comments

Comments

@tkwon
Copy link

tkwon commented May 21, 2016

In order to get this to work I had to do the following:

In response.py
Change

 from django.utils import simplejson as json 
 return HttpResponse(response_data, mimetype=mimetype)

to

import simplejson as json
return HttpResponse(response_data)

In embed.py

from django.utils import simplejson as json

to

import simplejson as json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant