Forums

Rename flask_app file

Do i just need to write the new name into the wsgi config file? If that matters, I try to initialize the flask app inside of __init__.py.

Thanks for your help, stay safe and at home!

For anyone finding this topic, it works! Just replace the line /var/www/<username>_eu_pythonanywhere_com_wsgi.py wich states "from flask_app import app as application" with "from init import app as application" or any other name, good luck

yup! Thanks for posting the solution!