How to Install and Setup Django on Ubuntu 20.04 18.04

Published: 23 May 2020
on channel: ATOM
4,170
43

How to Install and Setup Django on Ubuntu 20.04 18.04
sudo apt-get python3-pip

python3 -V
pip3 -V

pip3 install django
ls /home/anna/.local/bin
export PATH=$PATH:/home/anna/.local/bin
django-admin --version

django-admin startproject myapp
cd myapp
python3 manage.py migrate

python3 manage.py createsuperuser

vi myapp/settings.py
ALLOWED_HOSTS = ['ip-address-of-server']

python3 manage.py runserver 0.0.0.0:8000
https://fosshelp.blogspot.com/2020/05...


Watch video How to Install and Setup Django on Ubuntu 20.04 18.04 online without registration, duration hours minute second in high quality. This video was added by user ATOM 23 May 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,170 once and liked it 43 people.