#854: Request - Startup Hook
--------------------------------+-------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: CherryPy | Version: 0.9a5
Severity: normal | Resolution:
Keywords: |
--------------------------------+-------------------------------------------
Comment (by alberto):
I think there's no need to patch startup for this. You can register any
callable to be run at TG startup already:
{{{
#!py
from turbogears.startup import call_on_startup
def insert_your_filters():
...
call_on_startup.append(insert_your_filters)
}}}
HTH,
Alberto
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/854>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---