I am working on a miniature project that will hopefully get used in
lots of separate TG sites.  I'm trying to encapsulate it as much as
possible so that if you want to use my project, you just unzip it into
a subdirectory, then import my model into your main model file and
import my controller class into your main controller.

Inside my controller, my methods all start with something vaguely like
this:

    @expose(template="myproj.templates.send_pic")
    def send_pic_by_id(self, phone_number, photo_id):

Where myproj is not the miniature thing I'm working on now, but the
larger project.  Instead, I would prefer to make a templates
subdirectory inside my miniature plugin and use that, but I don't know
the right syntax.

Any advice on relative pathing the template option to the expose
decorator would be very appreciated.

TIA

Matt


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