Django is a web development framework for Python in the same way Rails is a framework for Ruby. It is used by a number of major web sites, including Google (i.e., for the Google Application Engine), and can make developing rich web applications much easier.
Django is not an application on its own. You will need proficiency in Python programming in order to write an application using Django.
As of April 2015, DreamHost currently runs Django v1.3.1.
Setting up your User, Domain, and Database
Below are instructions for setting up Django using Passenger.
- View the Enabling Shell Access article to set your user as a Shell user.
- Navigate to (Panel > ‘Domains’ > ‘Manage Domains’).
- Click the Edit button to the right of the domain under the ‘Web Hosting’ column.
- Scroll down to the ‘Web Options’ section and make sure the checkbox titled ‘Passenger (Ruby/NodeJS/Python apps only) is checked.
Enabling passenger forces your web directory to add the /public folder. Once you save your changes in the next step, this /public folder will be your site's web directory. Move any files into it you wish to display online.
- Scroll down and click the blue Change settings button to save your new settings.
- Navigate to (Panel > ‘Goodies’ > ‘MySQL Databases’).
- Create a new blank database which will only be used for your Django app.
- Visit the phpMyAdmin article for details on your hostname, username, and password.