On 8/30/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > My only quibble is the recommendation in the docs to call > ``ping_google()`` from the ``save()`` method. I think the idea of > setting off a HTTP request from within a ``save()`` method isn't such > a grand idea; network latency could cause the save to take too long, > or the request could raise an exception causing the object not to get > saved... I'm not sure about what would be better, but it does rub me > the wrong way.
OT: for some purposes, I think this is probably the best solution. For example, on my blog I have the save() method for links post them to del.icio.us (with some fairly ham-handed exception handling to make sure it doesn't break anything). I suppose it would be possible to hook onto this with the dispatcher, but I'm not sure whether that feels intuitive or not. -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers -~----------~----~----~----~------~----~------~--~---
