When trying to launch the site with local auth configured (the default), one gets the following error:
Traceback (most recent call last):
File "./wuvt/__init__.py", line 111, in <module>
auth_manager.init_app(app)
File "./wuvt/auth/auth_manager.py", line 63, in init_app
from . import local_views
File "./wuvt/auth/local_views.py", line 3, in <module>
from wuvt.auth import login_user, get_user_roles
ImportError: cannot import name 'get_user_roles' from 'wuvt.auth' (./wuvt/auth/__init__.py)
This is because when local auth is enabled, local_views.py tries to import from the same file that imports it.
When trying to launch the site with local auth configured (the default), one gets the following error:
This is because when local auth is enabled, local_views.py tries to import from the same file that imports it.