The defaualt wspi.py file in python anywhere states:
# assuming your django settings file is at '/home/appman/mysite/mysite/settings.py'
# and your manage.py is is at '/home/appman/mysite/manage.py'
# path = '/home/appman/mysite'
Well, I don't have a settings.py. My project name is config and the config folder has a settings folder and inside the settings folder is init.py, base.py, dev.py and prod.py.
Also, my manage.py is not in my project folder config. It is in the main folder mitch-business-apps.
I tried a lot of combinations to get my app to load as a web page on python anywhere to no avail.
For example I tried:
path = '/home/appman/mitch-business-apps/config'
os.environ['DJANGO_SETTINGS_MODULE'] = 'config.settings.prod' (also tried config.settings.dev)
So my setup is different than the assumptions of python anywhere. Please let me know how to setup the path and os.environ['DJANGO_SETTINGS_MODULE']
so my app will work on python anywhere.