Forums

Deploy Problem

Sorry i'm new to this platform, can someone tell me that what is my problem. I followed the step from the youtube, but i stuck at the wsgi.py part.

import os
import sys

path = '/home/ansonyeap95/eSouvenir/djecommerce'
if path not in sys.path:
    sys.path.append(path)

os.environ['DJANGO_SETTINGS_MODULE'] = 'settings.production'

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()

What error messages are you getting? You can see them in the error log, which is linked from the "Web" page -- the most recent error will be at the bottom of the file.