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

>
>
> 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].
> 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.
>

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

Reply via email to