web2py: New project generates errors in editor
Hello there,
The framework support for things like Flask and web2py finally sold me and I purchased a new license for 3.0 yesterday. Tonight I thought I'd try creating a new web2py project just to play with, and was kind of disappointed when a brand new project already shows a bunch of errors flagged in default.py for unresolved references for basic web2py infrastructure like 'auth', 'crud', 'db', etc.
Am I missing something here? Seems kind of odd for a framework that is supposed to be 'supported'...
Thanks,
Monte
The framework support for things like Flask and web2py finally sold me and I purchased a new license for 3.0 yesterday. Tonight I thought I'd try creating a new web2py project just to play with, and was kind of disappointed when a brand new project already shows a bunch of errors flagged in default.py for unresolved references for basic web2py infrastructure like 'auth', 'crud', 'db', etc.
Am I missing something here? Seems kind of odd for a framework that is supposed to be 'supported'...
Thanks,
Monte
Please sign in to leave a comment.
what OS do you use? Was there any errors during project creation?
I'm half-wondering if it was an artifact of possibly having another (Flask) project open when I created the web2py one.
Later when I closed pycharm and deleted the entire directory that I had the web2py project in, then opened pycharm and created a new project from the start, that seems to not have all the 'unresolved reference' errors. Or, if I start from scratch and just browse into an existing web2py install, I get no errors.
Weird.