Re: Read response XML attributes in django rest framework

2014-12-01 Thread Roy Smith
In article <[email protected]>, reetesh nigam wrote: > I need to read xml attributes coming in response data. I am using Django rest > framework. > > requested XML : startDate="02-02-2014"/> > > Response I am getting: {'xyz': None} > > I am using : 'DEFA

Read response XML attributes in django rest framework

2014-12-01 Thread reetesh nigam
I need to read xml attributes coming in response data. I am using Django rest framework. requested XML : Response I am getting: {'xyz': None} I am using : 'DEFAULT_PARSER_CLASSES': ('rest_framework.parsers.XMLParser') in my setting.py file -- https://mail.python.org/mailman/listinfo/python-