django-rest-framework-xml
django-rest-framework-xml copied to clipboard
XML support for Django REST Framework
File "/Users/macduffolusa/anaconda3/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No...
When I pass a Python Dict like this to the renderer: ``` from rest_framework_xml.renderers import XMLRenderer dictionary = { 'NAME': 'Aron Dev', 'ID': 555000777, 'PHONE_NUMBER': [ 3124569874, 3021452361, ] }...
This PR tests the package against Django 3.1 and 3.2 with DRF 3.12.* cc: @jpadilla
I've looked in the following places: 1. Readme in github 2. Changelog.rst in github 3. Github releases feature 4. The Github pages site 5. The `docs` directory And I haven't...
Hello! I think my case was very specific, but I have thought that someone else could front such a problem too, that why I decided to implement renderer for interacting...
There are cases when there is a need for an API that returns a specific XML format. [FreeSwitch integrations via XML-CURL](https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_curl) for example. For such purposes, it would be interesting...
# The Problem We using this library to render XML in django rest framework. Of course the consumer are ERP system. For this reason the behavior is not useful with...
python 3.6 Django 1.11.3 djangorestframework 3.6.3 djangorestframework-xml 1.3.0 Starting application returns: ImportError: Could not import 'rest_framework_xml.parsers.XMLParser' for API setting 'DEFAULT_PARSER_CLASSES'. AttributeError: module 'xml.etree.ElementTree' has no attribute '_IterParseIterator'. Have tried djangorestframework-xml...
Based on this issue: https://github.com/jpadilla/django-rest-framework-xml/issues/16 Changes to handle/parse XML attributes.
If I have something like: ` Bar ` The status="wololol" is not captured. Any suggestions as to how I can capture it?