Posts

Showing posts from July, 2019

DJANGO FRAMEWORK INSTALLATION AND CMS SETUP ON UBUNTU 18.04 LTS

Step 1 First and foremost we confirm the python version. On my Ubuntu machine, there are two versions of python available, python 2.7 as default python version and python 3 .  Check the python version: python --version So the default python is 2.7 at the moment. Next, change the default python to python version 3 with the 'update-alternatives' command: update-alternatives --install /usr/bin/python python /usr/bin/python3 Now confirm the python version. And you will get python 3.* as a default python on the system.  Setup Python 3 on Ubuntu Note:  By default, Ubuntu  18.04 has no 'python' command, because it brings the 'python3' command as default python. See the Bionic Beaver   Release Notes . Step 2   Let's Install Django, shall we? I'll take you through 3 ways to install Django. Please follow either chapter 2.1, 2.2 or 2.3 to install Django but not all 3 options at the same time :). 2.1....