Hi,
I appreciate the quick reply. Yes, this is the same tutorial I followed and is how I got the first version of my app (cwelsh2.pythonanywhere.com) to work which follows your example fairly closely. I have now changed the app slightly to include multiple pages. I had no trouble deploying the first app but I have problems with the multi page app. You can see the problems by going to the app as I have the multi page app version active.
I didn't see the error at first as it got buried under other errors. After switching to the multi-app branch in bash, I made the appropriate modifications to the wsgi file and clicked the green 'reload' button. This takes a while and I get the message Your webapp took a long time to reload. It probably reloaded, but we were unable to check it
. Then in the error log file I have:
2017-11-21 14:33:35,690: IOError: write error
2017-11-21 14:33:35,681: IOError: write error
2017-11-21 14:33:35,691: IOError: write error
2017-11-21 14:33:35,700: Error running WSGI application
2017-11-21 14:33:35,700: Error running WSGI application
2017-11-21 14:33:35,700: Error running WSGI application
2017-11-21 14:33:35,701: GeneratorExit
2017-11-21 14:33:35,702: IOError: write error
2017-11-21 14:33:35,702: Error running WSGI application
2017-11-21 14:33:35,703: GeneratorExit
Since my code worked as expected locally I suspect the problem lies somewhere within pythonanywhere.
I suspect this will be hard for you to troubleshoot but any suggestions would be greatly received.
Cheers,