Hey, I have created an app on server using manual configaration, but I am facing problem in importing the application for the same. In wsgi.py file I have used following code to import my app.
import os
import sys
path = '/home/pjbardolia/mysite'
if path not in sys.path:
sys.path.append(path)
from twitter import application
Now as far as I can understand the application import in python, the file named twitter.py in mysite is the one that I want to run and I am naming the same to import in the import application. Can you tellme where I am going wrong? Thanks in advance