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 <[EMAIL PROTECTED]> 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
> send thisxmldata via HTTPPOST?
>
> <django-objects version="1.0">
> <object pk="1" model="drf.state">
> <field type="CharField" name="short_name">TX</field>
> <field type="CharField" name="name">Texas</field>
> <field type="BooleanField" name="is_active">1</field>
> </object>
> </django-objects>
>
> All help is highly appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to