The normal way is to do myproject.templates.lists.add (don't forget to
add an empty __init__.py file in lists). the relative path in the
extend is necessary though

On 1/1/07, Collin L <[EMAIL PROTECTED]> wrote:

I have a directory called 'lists' within my templates directory.  I was
able to use add.kid by doing the following:
@expose(template="myproject.templates.lists/add")
and changing 'py:extends="'master.kid'" on the html element to
'py:extends="'../master.kid'".

The combined 'dot' and 'slash' notation looks weird and the relative
path of extends is annoying.  Is there a better way to do this?  Or is
this normal?


>



--
cheers
   elvelind grandin

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