[Grok-dev] removing a class in app.py module

Rene Bourgoin rb2.net at gmail.com
Thu Nov 29 20:09:59 EST 2007


running through the tutorial!
I created template bye.pt and the class controller bye in app.py which
worked fine.

 i removed the class bye from app.py but kept the bye.pt template file in
the template directory.
I stop and restarted the server and it failed because i had a template that
had no class associated with it in the controller.

I'm sure you're aware of this but it would be nice if you're trying out
different versions of the same template file and you could just rename them
on the fly all while having the one index class.
i.e.
index.pt
index1.pt
index2.pt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20071129/003d7c8f/attachment.htm


More information about the Grok-dev mailing list