On 7/28/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > The whole django.db.connection.queries thing has always been a bit of > a hack/wart. (Hackwart?) Maybe it's time to expose the underlying > queries in a more developer-friendly way. Off the top of my head, we > could allow the registration of callbacks with django.db.connection, > like so: > > django.db.connection.register_query_callback(lambda query: > sys.stderr.write(query))
Can't the same be done as a signal? Multiple parties can then listen for query execution. -- Amit Upadhyay Vakow! www.vakow.com +91-9820-295-512 --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
