python-requests Django Framework Installation & Setup


Django is a full stack framework for web development. It powers some of the most popular websites on the Internet.

To install the framework; use the pip tool:

pip install django

If you are installing this on OSX or Linux, the above command may result in a permission error; to avoid this error, install the package for your user account or use a virtual environment:

pip install --user django

Once it is installed - you will have access to django-admin bootstrapping tool, which will create a directory with some defaults to start development.

django-admin startproject myproject

This will create a directory myproject with the default project layout.