aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'djangorestframework/utils.py')
-rw-r--r--djangorestframework/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/djangorestframework/utils.py b/djangorestframework/utils.py
index 8b12294c..f60bdee4 100644
--- a/djangorestframework/utils.py
+++ b/djangorestframework/utils.py
@@ -125,7 +125,7 @@ def xml2dict(input):
# Piston:
-class XMLEmitter():
+class XMLRenderer():
def _to_xml(self, xml, data):
if isinstance(data, (list, tuple)):
for item in data:
@@ -156,4 +156,4 @@ class XMLEmitter():
return stream.getvalue()
def dict2xml(input):
- return XMLEmitter().dict2xml(input)
+ return XMLRenderer().dict2xml(input)