-
Notifications
You must be signed in to change notification settings - Fork 0
Django Notes
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
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.
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
$ sudo pip install Django
$ python
PYTHON Version Information
>>> import django
>>> print(django.get_version())
>>> exit()