Setting up Django Environment

1.      Installing Python - The core Django framework works with any Python version from 2.3 to 2.6 (If you’re on Linux or Mac OS X, you probably have Python already installed),which can be download here.Check it by typing  python at a command prompt, you should see something like:

Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Note that! on windows set the python installation dir in the path environment variable

2.      Installing Django - Download Django tar.gz installation file from here, extract it.and run the command python install.Check your installation by typing those lines in a python shell:

     >>> import django
     >>> django.VERSION

    You should see something like: (1, 0, 2, 'final', 0)

3.      Setting up a Database -  Setting up the database is a two-step process:

·  First, you’ll need to install and configure the database server itself. This process is beyond the scope of this article.

·  Second, you’ll need to install the Python library for your particular database backend. This is a third-party bit of code that allows Python to interface with the database. We outline the specific, per-database requirements in the following sections.

Django supports four database engines:

·        PostgreSQL –  install python library from : Linux , Windows

·        SQLite 3  - install python library from here

·        MySQL (4.0 or above) - install python library from here

·        Oracle (9i and higher ) - install python library from here


Once you’ve installed Python, Django and (optionally) your database server/library, you can take the first step in developing a Django application by creating a project.


- More Explanation and information  about  Django framework you can find here