I uploaded my Django app on python anywhere but it is not loading. Getting this on screen.
Something went wrong :-(
This website is hosted by PythonAnywhere, an online hosting environment. Something went wrong while trying to load it; please try again later.
If this is your PythonAnywhere-hosted site, there may be a bug in your code. Check your site's server and error logs for any messages — you can view them from the Web tab inside PythonAnywhere.
You'll find a series of tips on how to debug problems, and solutions to common issues on our Help pages
If you get completely stuck, then drop us a line at support@pythonanywhere.com, in the forums, or using the "Send feedback" link on the site, quoting the error code below.
Error code: Unhandled Exception
This is what my wsgi file looks like.
activate_this_path = '/home/amritha/.virtualenvs/costtool/bin/activate_this.py' with open(activate_this_path) as f: code = compile(f.read(), activate_this_path, 'exec') exec(code, dict(file=activate_this_path))
import os import sys
path = '/home/amritha/costtool' if path not in sys.path: sys.path.append(path)
os.environ['DJANGO_SETTINGS_MODULE'] = 'costtool.settings'
import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler()
Can somebody help me out?