Installation¶
Install Dependencies¶
install python
Being a Python Web framework, Django requires Python. It works with Python 2.7, 3.2, 3.3, or 3.4. All these versions of Python include a lightweight database called SQLite so you won’t need to set up a database just yet
install database
This step is only necessary if you’d like to work with a “large” database engine like PostgreSQL, MySQL, or Oracle. To install such a database, consult the database installation information
Install Django¶
Remove any old versions of Django
If you are upgrading your installation of Django from a previous version, you will need to uninstall the old Django version before installing the new version.
Install django
Install a version of Django provided by your operating system distribution.
$sudo apt-get install python-django
Install an official release
$pip install django
Installing the development version
$git clone git://github.com/django/django.git django-trunk
$ sudo python setup.py install or sudo pip install -e django-trunk/