jpadilla / django-rest-framework-xml

XML support for Django REST Framework

Home Page:http://jpadilla.github.io/django-rest-framework-xml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XMLRenderer tries to import StringIO from rest_framework.compat

brandoncazander opened this issue · comments

When trying to use XMLRenderer, an ImportError is raised:

ImportError: cannot import name StringIO

The custom StringIO has been removed from rest_framework.compat.

@brandoncazander yeah good catch. Can you put a PR together to fix it? If not I'll try to get to it later today or tomorrow.