Hi!

> You seem to imply that your code works with tg1.
> Is that true? (Would be great!)
Actually it's for TG2.
But it seems very easy to me, to adapt it to TG1.
Look, that's all code needed for the Adaption to TG2:
http://bitbucket.org/brickenstein/tgrumcomponent/src/tip/tgrumcomponent/__init__.py
So you just have to replace
from tg import config as tgconfig
by
from turbogears import config as tgconfig
That's all (famous last words).

It would look like as if configuration would be a candidate for a
component.
 You would register it using
"tg.config"
"turbogears.config"
"pylons.config"
Unluckily, for implementing components itself, you can't do that
because of
"you cannot define anything by itself".

Cheers,
Michael
>
> Cheers,
> Daniel
>
> --
> Psss, psss, put it down! -http://www.cafepress.com/putitdown
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to