Great! Could you give an example of configuring a milestone. The doc is not very clear at this point.
"""Registering an action to be executed whenever a milestone is reach can be done using tg.configuration.milestones._ConfigMilestoneTracker.register() method of each milestone. The registered action takes no parameters.""" On Tuesday, January 21, 2014 1:58:03 PM UTC-8, Alessandro Molina wrote: > > If you are using a recent TG version with milestones support you should be > able to register an action be executed on config_ready milestone reach > which can register pluggables. > > Have a look at > http://turbogears.readthedocs.org/en/latest/turbogears/configuration/appconfig.html#configuration-milestonesfor > more informations on configuration milestones. > > > 2014/1/21 kgk <[email protected] <javascript:>> > >> >> >> Is it possible to plug after loading app_cfg. I would like to >> enable/disable plugins based on some config settings, >> but tg.config is not loaded by the time app_cfg is loaded. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "TurboGears" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/turbogears. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/groups/opt_out.

