Hi
I'm trying to follow this tutorial:
https://flask-user.readthedocs.io/en/latest/quickstart_app.html#
I'm assuming that the last bit about opening the URL on port 5000 isn't going to work here. I tried just pasting the code into a new file and going to it as I usually would in an app but it comes up with th following error:
2018-11-20 15:12:35,489: Error running WSGI application
2018-11-20 15:12:35,489: ImportError: cannot import name 'app' from 'flask_app' (/home/xxx/mysite/flask_app.py)
2018-11-20 15:12:35,490: File "/var/www/xxx_pythonanywhere_com_wsgi.py", line 16, in <module>
2018-11-20 15:12:35,490: from flask_app import app as application # noqa
2018-11-20 15:12:35,490: ***************************************************
2018-11-20 15:12:35,490: If you're seeing an import error and don't know why,
2018-11-20 15:12:35,490: we have a dedicated help page to help you debug:
2018-11-20 15:12:35,491: https://help.pythonanywhere.com/pages/DebuggingImportError/
2018-11-20 15:12:35,491: ***************************************************
I want to be able to add registration/login functionality to my app and this seemed like a good option.
Any ideas on how I can achieve this?
Cheers Andy