Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

#2 Django tutorials | Setup

844.9K views on YouTube

Check out our courses:

Java Spring Boot AI Live Course: https://go.telusko.com/JavaSpringBootAI
Coupon: TELUSKO20 (20% Discount)

AI Powered DevOps with AWS – Live Course :- https://go.telusko.com/AIDevOps-AWS
Coupon: TELUSKO20 (20% Discount)

Master Java Spring Development : https://go.telusko.com/masterjava
Coupon: TELUSKO20 (20% Discount)

For More Queries WhatsApp or Call on : +919008963671

website : https://courses.telusko.com/

Udemy Courses:

Spring: https://go.telusko.com/udemyteluskospring
Java:- https://go.telusko.com/udemyteluskojava
Java Spring:- https://go.telusko.com/Udemyjavaspring
Java For Programmers:- https://go.telusko.com/javaProgrammers
Python : https://go.telusko.com/udemyteluskopython
Git : https://go.telusko.com/udemyteluskogit
Docker : https://go.telusko.com/udemyteluskodocker

Instagram : https://www.instagram.com/navinreddyofficial/
Linkedin : https://in.linkedin.com/in/navinreddy20
TELUSKO Android App : https://go.telusko.com/TELUSKOAPP
TELUSKO IOS App : https://apple.co/3SsgmU2
Discord : https://discord.gg/D8hWe9BqfF

Python Tutorials for beginner : https://bit.ly/2qfhUCp

In this lecture we are learn how to setup Django in our system:

— install django
— we know that which os we are using
— you need a python setup too

setup python (if you don’t have it)
— download python from python.org
— install python and remember that tick the box of add python to path

check python version
— open cmd and type python –version
— if you get the version then you are good to go

with instalation of python we also get pip
— pip is a package manager for python
check pip version
— open cmd and type pip –version
— if you get the version then you are good to go

Now we ready to install django
— pip is used to install django
check django version
— open cmd and type django-admin –version
— if you have not installed django then you will get an error
— if you get the version then you are good to go

if not then it is time to install django
— before that suppose we install django then it will be installed for whole system.
— so we need to create a virtual environment for our project
— virtual environment is a isolated environment for our project
— it will not affect the other projects

create virtual environment wrapper
— open cmd and type pip install virtualenvwrapper-win
— it will install virtualenvwrapper-win in your system

create virtual environment
— open cmd and type mkvirtualenv test
— it will create a virtual environment named test
— now we are ready to install django in our virtual environment

install django in virtual environment
— open cmd and type pip install django
— it will install django in our virtual environment

check django version
— open cmd and type django-admin –version
— if you get the version then you are good to go

create a folder
— open cmd and type mkdir projects
— it will create a folder named projects in your system
— go in that folder by typing cd projects

create a django project
— open cmd and type django-admin startproject telusko
— before that we check the folder or not in project folder
— now after enter the command it will create a folder named telusko in your system
— in telusko there will be a file named manage.py

now we run our project in server
— open cmd and type python manage.py runserver
Github :- https://github.com/navinreddy20/Python-

Java and Spring Framework For beginners with Spring Boot : – http://bit.ly/3LDMj8D

Java Tutorial for Beginners (2023) :- http://bit.ly/3yARVbN

Editing Machines & Monitors :
https://amzn.to/2HA6ra8
https://amzn.to/2VMBBPw
https://amzn.to/2RfKWgL
https://amzn.to/2Q665JW
https://amzn.to/2OUP21a.

Subscribe to our other channel:
Navin Reddy : https://www.youtube.com/channel/UCxmkk8bMSOF-UBF43z-pdGQ
Telusko Hindi : https://www.youtube.com/channel/UCitzw4ROeTVGRRLnCPws-cw

Donation & Support:
Indian Payment : https://www.instamojo.com/@NavinReddy/
PayPal Id : navinreddy20
Patreon : navinreddy20