fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update dep.
[wolnelektury.git]
/
src
/
api
/
renderers.py
1
from rest_framework_xml.renderers import XMLRenderer
2
3
4
class LegacyXMLRenderer(XMLRenderer):
5
"""
6
Renderer which serializes to XML.
7
"""
8
9
item_tag_name = 'resource'
10
root_tag_name = 'response'
11