[Grok-dev] Rules for app_templates lookup

Jeff Peterson bgpete at gmail.com
Fri Aug 6 18:24:56 EDT 2010

Create a template folder in the same place as the module.  
mymodule_templates put them there.

Sent from my iPod

On Aug 6, 2010, at 4:52 PM, Achim Domma <domma at procoders.net> wrote:

> Hi,
> I have some code which works fine, as long as it's in the generated  
> app.py. I tried to move some classes to another file called  
> mymodule.py. After that I get the warning, that a template in my  
> app_templates is unused. And I get an error, because the template  
> for my view class cannot be found anymore.
> How do I move some classes to a different module? How are templates  
> for views in that module looked up?
> cheers,
> Achim
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev

More information about the Grok-dev mailing list