Skip to content
Christopher Hopkins edited this page Apr 14, 2014 · 5 revisions

Description

From Wikipedia:

Django is a free and open source web application framework, written in Python, which follows the model–view–controller architectural pattern. It is maintained by the Django Software Foundation (DSF), an independent organization established as a 501(c)(3) non-profit.

Django's primary goal is to ease the creation of complex, database-driven websites. Django emphasizes reusability and "pluggability" of components, rapid development, and the principle of don't repeat yourself. Python is used throughout, even for settings, files, and data models. Django also provides an optional administrative create, read, update and delete interface that is generated dynamically through introspection and configured via admin models.

Some well known sites that use Django include Pinterest, Instagram, Mozilla, The Washington Times, and the Public Broadcasting Service

Requirements

From the project website:

Being a Python Web framework, Django requires Python. It works with Python 2.6, 2.7, 3.2 or 3.3. All these versions of Python include a lightweight database called SQLite so you won’t need to set up a database just yet.

Install PIP

PIP is a Python Software Package Manager. You can use it to install Django.

Download the installation script from github:

$ curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py > get-pip.py

Run the installation script:

$ sudo python get-pip.py

Install Django

$ sudo pip install Django

Verify Installation

$ python
PYTHON Version Information
>>> import django
>>> print(django.get_version())
>>> exit()

Clone this wiki locally