On 07-Jan-08, at 6:31 PM, Alex K wrote:
> > Also why does it work fine on 0.2 but not on 0.23? It doesn't work in 0.2 either. But in 0.2, if you change the main file atleast once, then it works. This is due to a bug, which got fixed here[1]. [1]: http://codebrowse.launchpad.net/~anandology/webpy/webpy.dev/revision/svn-v3-none%3A2c515a54-6b0d-0410-94c8-a23cf037ada6%3A%3A177 This is not really a problem, if you understand how import works. When you do `from foo import *` in a module, all the variables defined in foo gets added to the current namespace. After that even if foo is changed, there will not be any effect. In your case all classes from admin are added to main_site and after that admin module got reloaded, but it will not effect classes in main_site. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
