Read response XML attributes in django rest framework
reetesh nigam
nigamreetesh84 at gmail.com
Mon Dec 1 05:54:44 EST 2014
More information about the Python-list mailing list
Mon Dec 1 05:54:44 EST 2014
- Previous message (by thread): I need Help
- Next message (by thread): Read response XML attributes in django rest framework
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I need to read xml attributes coming in response data. I am using Django rest framework.
requested XML : <myTag><xyz verified="N" product="ABC" startDate="02-02-2014"/></myTag>
Response I am getting: {'xyz': None}
I am using : 'DEFAULT_PARSER_CLASSES': ('rest_framework.parsers.XMLParser') in my setting.py file
- Previous message (by thread): I need Help
- Next message (by thread): Read response XML attributes in django rest framework
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list