Thadeus> Web2py models/controllers/views are EXECUTED not IMPORTED.
Sorry, I've been using Python for 15 years but haven't seen this distinction before. What do you mean "executed not imported"? If I edit some file does web2py notice the change in timestamp then execfile(...) it or reload(...) it? What about classes defined in those files? Are existing instances somehow brought up-to-date? What about files imported in a view? (I noticed somewhere along the way that the syntax to import a file in a view is pretty inscrutable. I would almost certainly never remember it and have to look it up. I think it involved the exec statement. Is it obscure on purpose?) What about if I change the database schema in some way which makes the existing content incompatible with the new schema, say, by adding a new column name with notnull=True? More generally, where can I read about limitations in this read-and-continue environment? Thadeus> In any case, web2py files are just python files stored on the Thadeus> filesystem... you can edit them like you edit any other Thadeus> programming languages files. You don't have to use the web2py Thadeus> admin!!!! Right, I understand that completely. I am/was concerned about the running web2py noticing changes. Skip
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.