django-rest-framework-xml icon indicating copy to clipboard operation
django-rest-framework-xml copied to clipboard

XML support for Django REST Framework

Results 25 django-rest-framework-xml issues
Sort by recently updated
recently updated
newest added

Not sure if I should open the issue here or on DRF but are there any plans to provide an XML field similar to the JSON field already included in...

In django urls, when using routers as follows the code XML renders fine at the api root ``` router = routers.DefaultRouter() router.register(r'users', views.UserViewSet) router.register(r'review', views.ReviewViewSet) ``` However when using routers...

Hi @jpadilla, This PR - adds support for Python 3.9, 3.10 & 3.11 - adds support for Django 3.2, 4.1 & 4.2 - adds support for DRF 3.14 - update...

https://github.com/jpadilla/django-rest-framework-xml/blob/da33b6bd54e8e434a8218034f41678ec9d4a826e/rest_framework_xml/parsers.py#L74 for exm: if we will parsing 01234 we get dict {"test": 1234} I propose add check on '0' at start of value

The proposed changes allow to create child classes that include a namespace or other root attributes, e.g. ``` class UrlXmlRenderer(XMLRenderer): root_tag_name = 'urlset' item_tag_name = 'url' root_attributes = {'xmlns': 'http://www.sitemaps.org/schemas/sitemap/0.9'}...