Can anybody explain why code in model.py gets executed twice?  Place a
print "*** inside model.py ***" and start your app to see.

I'm assuming it's something to do with the auto-restart feature?  I
fancied putting some code inside model.py to clean tables and fill them
with test data if required.

Expected behaviour?


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