On Wed, Mar 12, 2008 at 4:05 PM, Michael Wills <
mcw...@gmail.com> wrote:
> Ah I didn't explain myself clearly enough. My apologies. I was referring to
> the 'typo' error where you fixed the typo but still received the NameError.
> I have found that when dealing with classes, i.e. defining and using your
> own custom classes, web2py needs to be restarted. Otherwise it will not
> fully refresh as you have found.
>
> As for IS_IN_SET, you were able to use IS_IN_SET inside your custom module1
> without specifically importing in into your module1? It would be good to
> know if that info is passed into custom modules.
>
I also found that if I imported my personal modules in modules folder,
and then changed it, then refresh the web page, but the change didn't
affect at all. So I think it's probably python saved them. So I add
reload(module) for testing only, for example:
import applications.myapp.modules.mymodule as mod
reload(mod)
So, it'll be imported each time when I visit the page.