Install Django

apt-get update  
apt-get install python3-pip  
pip3 install virtualenv  
mkdir ~/newproject  
cd ~/newproject  
virtualenv newenv  
source newenv/bin/activate  
pip install django  
django-admin --version

deactivate  
cd ~/newproject  
source newenv/bin/activate

django-admin startproject projectname  
cd projectname  
python manage.py migrate  
python manage.py runserver  
python manage.py runserver 0.0.0.0:8000