That restapi is as easy to configure as promised. The address /xml/mymodel now presents an xml list that looks like:
<object pk="3710" model="myapp.mymodel"> <field type="CharField" name="custom_id">XX-83-297</field> <field type="DateTimeField" name="datetime">2007-07-27 14:59:18</field> <field type="NoField" name="point">POINT (31.0089240000000004 - 82.7168659999999960)</field> <field type="IntegerField" name="velocidad">71</field> <field to="myotherapp.section" name="section" rel="ManyToOneRel">1</field> <field to="auth.user" name="responsable" rel="ManyToOneRel">3</field> </object> That NoField type, is it ok? Ariel PS: Thanks Andreas, and thanks to the geodjango team for your excelent work. On 10/20/07, Ariel Mauricio Nunez Gomez <[EMAIL PROTECTED]> wrote: > > Thanks Justin, > > I'll try later and let you know. > > Ariel. > > On 10/20/07, Justin Bronn <[EMAIL PROTECTED] > wrote: > > > > > > I quickly glanced at the django-rest-interface code and I don't see > > any reason why it shouldn't work. There are no plans to combine yet, > > though it would be nice to have GeoJSON serializers for the GEOS/OGR > > geometry objects. The best way to confirm compatibility is experiment > > yourself! > > > > -Justin > > > > On Oct 20, 8:57 am, "Ariel Mauricio Nunez Gomez" > > <[EMAIL PROTECTED]> wrote: > > > Is it possible/planned to use django-rest-api > > > [1]<http://code.google.com/p/django-rest-interface/>in geodjango > > > [2] <http://code.djangoproject.com/wiki/GeoDjango > ? > > > > > > Ariel > > > > > > [1]http://code.google.com/p/django-rest-interface/ > > > [2]http://code.djangoproject.com/wiki/GeoDjango > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---