Hi,

I have recently started using Turbogears, and find that importing
defined python functions across templates seems to cause the .pyc of
the kid template imported from to get deleted, thus creating an import
error in the template imported to (after a page refresh).  This only
happens when - server.environment="development". I don't know what the
cause of this is, however it seems important that this key
functionality of kid is preserved in Turbogears.

Does anyone have a solution to this. It has been suggested to use the
kid.precompiled setting. However this will slow down development
signifcantly. What are the advantages of running in development mode?
Autoreloading seems to work in production mode too.

Is this a bug in TG or am I doing something wrong?

Many thanks

Tom Salfield


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

Reply via email to