On 16 mai, 11:08, Ross Peoples <ross.peop...@gmail.com> wrote:
> I haven't actually tried this yet, but couldn't you do something like this
> to turn it off/on:
>
> import gluon custom_import
> custom_import.DEBUG = False

You can do:

from gluon import custom_import
custom_import.DEBUG = False

But right now it won't change the importer by doing this. Would you
like to be able to switch in a similar fashion?

We can also add the switch in the web interface I guess.

Reply via email to