I've updated to version 2.11.2, and the problem still persists. I've deleted all errors, cache, and sessions for both admin app and "myapp"
I am getting the following traceback when I look in the admin/errors files:
Traceback (most recent call last):
File "/home/marladarla7/web2py/
gluon/restricted.py", line 224, in restricted
exec ccode in environment
File "applications/admin/models/0_imports.py", line 15, in <module>
from mercurial import ui, hg, cmdutil
File "/home/marladarla7/web2py/gluon/custom_import.py", line 71, in custom_importer
return NATIVE_IMPORTER(oname, globals, locals, fromlist, level)
File "mercurial.py", line 3, in <module>
if DEMO_MODE or MULTI_USER_MODE:
NameError: name 'DEMO_MODE' is not defined
I have checked 0.py model, and DEMO_MODE = False, so I have no idea why I am getting this error