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.

What about using signals? The ping_google() call could be activated by hooking in to the post_save() signal.

David Blewett
 



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to