Re: django request xml

2011-07-29 Thread Tom Evans
On Fri, Jul 29, 2011 at 9:54 AM, Exia wrote: > hi, I'd like to send an xml to a django web server. > I've written a python program like this: > > req = urllib2.Request('http://127.0.0.1/abc/', strxml) > f = urllib2.urlopen(req) > > but I don't know how to deal with it in views.py of django in

django request xml

2011-07-29 Thread Exia
hi, I'd like to send an xml to a django web server. I've written a python program like this: req = urllib2.Request('http://127.0.0.1/abc/', strxml) f = urllib2.urlopen(req) but I don't know how to deal with it in views.py of django in the server... what should I do in the following function: