Hi running into an import error that I've been stuck at for a few hours now.
When attempting to configure my WSGI file, I'm getting an error back:
from app import app as application
ImportError: cannot import name 'app' from 'app' (/home/dan324/mysite/app.py)
If I've understood correctly, the WSGI file is trying to pick up 'app' within the same named app.py, however, my 'app' is coded within an indented section:
def create_app():
app = Flask(__name__)
...
...
Could there be another way to import 'app'? Thanks!