Forums

SQLALchemy and Python

I'm trying to create a web application using the SqlAlchemy. But I'm confused about the WSGI files because i couldn't load my app . I tried changing the paths but couldn't run the app. Please help me out.

Thanks, Harika.

What error messages are you getting? -- on the website, and at the bottom of the error and server logs (which are linked from the "Web" tab),

On the website it is stating that something went wrong and in the error logs ,the last line states "cannot import name MainProg".

The statements i've given in the WSGI file are as follows: from MainProg import MainProg application = MainProg.app

It looks like your web app is working now. Did you work out what was wrong?