Set Up A Python Django Development Environment on Debian 9 Stretch Linux

Django is the top Python web development framework and for good reason. It’s powerful, flexible, and doesn’t get in the way of developers. It also scales incredibly well, powering sites like Instagram. Installing a Django development environment is very simple on Linux, and Debian makes it even simpler. There are two basic ways to go about it; the virtualenv way and the Debian way. The virtualenv way keeps django and all of the other Python packages installed with it contained, allowing for multiple installations with different packages and package versions. The Debian way uses apt to install and manage Django.