Forums

Getting "Error code: Unhandled Exception " during running the webapp

I am new to pythonanywhere and I am trying to deploy a simple app to the cloud. I needed the version 1.8 for django so I used virtualenv approach. But when I try to access website it gives error. The logs say: AttributeError: 'SessionStore' object has no attribute '_session_cache' sqlite3.OperationalError: no such table: django_session

Please help.

It sounds like you haven't created the database. Use manage.py syncdb

even if you have created db using syncdb the problem may still be there to clear this go to your settings.py and change the name of your db as NAME:"/HOME/YOUR_USER_NAME/PATH/TO/YOUR/SQLITE/DB" this will solve the issue...Bingo!!!