Note that there are some explanatory texts on larger screens.

plurals
  1. PODeploying Django at Dreamhost
    text
    copied!<p>I'm trying to get the Poll tutorial working at my Dreamhost account (I don't have any prior experience of deploying Django). I downloaded the script I found here (<a href="http://gabrielfalcao.com/2008/12/02/hosting-and-deploying-django-apps-on-dreamhost/" rel="nofollow noreferrer">http://gabrielfalcao.com/2008/12/02/hosting-and-deploying-django-apps-on-dreamhost/</a>) at my home directory and executed it. Now I have Python 2.5 and Django in ~/.myroot/ and my Django projects directory is ~/projects/</p> <p>Here's the content of ~/projects/ directory (I copied the polls/ and and templates/polls/ directories myself).</p> <pre><code>projects/ |-- admin_media -&gt; /home/imran2140/.myroot/usr/lib/python2.5/site-packages/django/contrib/admin/media |-- dispatch.fcgi |-- polls | |-- __init__.py | |-- __init__.pyc | |-- admin.py | |-- admin.pyc | |-- models.py | |-- models.pyc | |-- polls.db | |-- urls.py | |-- urls.pyc | |-- views.py | `-- views.pyc |-- script_templates | |-- dispatch.template | `-- htaccess.template `-- templates `-- polls |-- detail.html |-- index.html `-- results.html 5 directories, 17 files </code></pre> <p>Now what should I do to get the Polls app working?</p> <p><strong>Update</strong></p> <p>I finally got a "Hello World" Django app working with Passanger WSGI. It worked fine with both Server's default Python 2.3.5 and my installed Python 2.5.2.</p> <p><a href="http://wiki.dreamhost.com/Passenger_WSGI" rel="nofollow noreferrer">Passanger WSGI - Django</a> at Dreamhost Wiki</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload