Answer the question
In order to leave comments, you need to log in
How to deploy old Django?
Good afternoon.
I'm trying to deploy an ancient django 1.3 project.
Hosting on clowdlinux, web on phussionpassenger Automatically created
via cpanel passenger_wsgi.py
import imp
import os
import sys
sys.path.insert(0, os.path.dirname(__file__))
wsgi = imp.load_source('wsgi', '/home/gian/public_html/test/gian/wsgi.py')
application = wsgi.application
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
ImportError at /
No module named gian.urls
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question