1 # This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
4 from rest_framework_xml.renderers import XMLRenderer
7 class LegacyXMLRenderer(XMLRenderer):
9 Renderer which serializes to XML.
12 item_tag_name = 'resource'
13 root_tag_name = 'response'