On 26 Nov 2009, at 16:55 , Chris wrote: > Hi all, > > Sorry for bothering you with something that is probably fairly > straight forward but I cant seem to find the solution myself. > > I am using Google Checkout on my site. It calls one of my pages after > processing an order. It posts XML. Django seems to evaluate the XML > into a QueryDict, with rather silly results. For example: > > <tag attrib:"value">blah</tag> > > looks something like: > > { '<tag attrib':['"value">blah</tag>']} > > where '<tag attrib' is a key in a dictionary, the value of which is a > list containing the rest of the XML. > > As you can see, this is wildly not what I am after. I need to access > the POST string directly without Django interpreting it as a > dictionary. How do I go about doing this? I'm open to other > suggestions but keep in mind I can't change the way in which the data > is posted, as it comes from Google Checkout. I think you want http://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpRequest.raw_post_data
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.