Installing the Django Framework

I recommend that you download and use the latest Django code release from www.djangoproject .com. As of this writing, the latest version is 1.2, and all examples and code you'll find here are based upon this version of Django. The framework already went through a major upgrade from version 0.9x to 1.x, and I do not expect too many further changes, but if you are going to use a version other than 1.2, please read the release notes for any changes that might affect the functionality. Usually there are clear instructions provided on how to adapt your code to the newer version of Django. From my experience this task is usually pretty straightforward and does not require major work from the developer.

I am going to assume that you already have Python 2.5+ installed on your system. The database engine this chapter's example will use is SQLite, so the corresponding packages and Python bindings must be installed as well. In most modern Linux distributions this comes as standard set and most likely will be present on your system. If in doubt, you can check it with the following commands:

$ python

Was this article helpful?

0 0

Post a comment