I'm not quite sure how your code is organized, but perhaps you could place the database access and/or logging code under the __init__ method of your widget class? That way, the code should only be executed when you instantiate the widget.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears -~----------~----~----~----~------~----~------~--~---

