Can someone throw a few ideas at me regarding this please... I'm sure
seasoned Django-ists could have really good ideas about this...
Thanks.
On Nov 22, 10:06 pm, chefsmart <
moran.cors...@gmail.com> wrote:
> Hi All,
>
> I am creating an Adobe AIR application that will interact with my
> Django app. I am currently trying out django-rest-interface that can
> be found on googlecode. However, there's too much behind-the-scenes
> stuff django-rest-interface (for the little amount of knowledge I
> have) and I need more control over the processing of both sent and
> received data, thus I'm now doing it my own way.
>
> I plan to create django views for: -
> 1. creating single or multiple new objects of each model (throughxml
> data received via HTTPPOST),
> 2. retrieving single or multiple existing objects of each model
> (retrieving via pk and retrieving all objects, paged). This single
> object or multiple objects will be sent asxmlwhen requested via HTTP
> GET
> 3. updating single or multiple existing objects of each model (throughxmldata received via HTTPPOST)
> 4. deleting single or multiple existing objects of each model (throughxmldata received via HTTPPOST)
>
> This is not REST, but it gives me the control I need.
>
> Thus far I have item no. 2 above sorted out. I just can't figure out
> how to receivexmldata via HTTPPOST. (I have only ever used HTTPPOSTfor html forms.) Let's say I have the followingxml, how do I