Friday, July 29, 2011

django request xml

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:
def hello(request):
???

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment