Marc Fargas wrote: > Hi, > In reference to [1], what would be the best way to provide a > datasource for a model that is backed on a WebService ? > > Image you have a webservice that returns "customer objects", then I'd > like to have a model called Customer on which to use .objects.all() > and so. So, how should I build that model so it has all the nice > model methods backed on a webservice ? (WSDL, SOAP)
Putting all those customer domain things behind a single URL will lead to pain. Give each customer its own URL and set up an RSS/Atom feed for customer objects; let the feed act as the service endpoint. cheers Bill --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---