Sunday, August 22, 2010

How to change the Django code folder in Dream Host

Just modify in the "passenger_wsgi.py" file under the directory that contains the "public" folder.

Look at the line
os.environ['DJANGO_SETTINGS_MODULE'] = "mysite.settings"

No comments:

Post a Comment