-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi christoph,
thanks for your good shot: the bug disapeared.
in fact, i've been so lucky to find it in my first templates also, a few
months ago, but i have changed my templates then.
now, that bug (as i finally describe it) was manifesting:
if i call a template t1
which has a layout t2
and t2 extends a template t3
first page call after the server is up
and second page (no other pages in between)
but now it's gone in your latest patch. thanks again :).
also, your last py:layout formats were working not (however i tried it
before, but left that looking for a way to avoid the bug)
regards,
alex
Christoph Zwerschke wrote:
> alex bodnaru wrote:
>> i wish to manually load a template layout, since it's not in the subtree
>> of the running site. i do as follows:
>>
>> <?python from turbokid import kidsupport
>> ...
>
> Can you check against the trunk of TurboKid? I have just checked in a
> small improvement that will probably solve your problem.
>
> However, I don't recommend using TurboKid directly since it will
> eventually go away and makes it harder for you to switch to Genshi.
>
> What you can do is either use a file path to your template, e.g.
>
> py:layout="../../tglib/identity/templates/login.kid"
>
> or import it as a Python module this way:
>
> py:layout="kid.import_template('tglib.identity.templates.login')"
>
> -- Christoph
>
> >
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBR2QMwtpwN1sq38njAQKEuQP/df/UWzit2HSpKvk5PlIbYXHzcQcBhd/b
TdqJTeouHWzTDzXG8mTEZwT4ZRbL2Ld5HF8o1Osdv3+S05LxlLbu1qM4UprHpBa5
73t4YD3g8M+/mUb/OJmk8G3PQtrqIGbf5GsyJSwG4/AqQvMn015kpInOxzIrEdk5
4DHV5qsEX9E=
=41Ff
-----END PGP SIGNATURE-----
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---