#2 Django tutorials | Setup
ฝัง
- เผยแพร่เมื่อ 22 ส.ค. 2024
- Check out our courses:
Spring and Microservices Weekend Live Batch : bit.ly/spring-...
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : bit.ly/java-sp...
For More Queries WhatsApp or Call on : +919008963671
website : courses.telusk...
Instagram : / navinreddyofficial
Linkedin : / navinreddy20
TELUSKO Android App : bit.ly/TeluskoApp
Discord : / discord
Python Tutorials for beginner : 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 :- github.com/nav...
Java and Spring Framework For beginners with Spring Boot : - bit.ly/3LDMj8D
Java Tutorial for Beginners (2023) :- bit.ly/3yARVbN
Editing Machines & Monitors :
amzn.to/2HA6ra8
amzn.to/2VMBBPw
amzn.to/2RfKWgL
amzn.to/2Q665JW
amzn.to/2OUP21a.
Subscribe to our other channel:
Navin Reddy : / @navinreddy
Telusko Hindi : / @teluskohindi
Donation & Support:
Indian Payment : www.instamojo....
PayPal Id : navinreddy20
Patreon : navinreddy20
I am from Toronto, Canada. I am 76 yr old electrical engineer. I was trying to develop a customized website to market my engineering company. That was only reason I was trying to find a site to learn web development for the last six weeks. Finally, I found you. Thank you.
Great to see you sir, at the age of 76, you are learning this technology.🎉🎉🎉
@@user-pk7yr1jj9u Sheesh
Awesome man. This is the reason Indians are the best people on TH-cam xD they keep on giving!
Yes i agree!
Ok buddy😂
6W
Yeah. That's true
Yes I completely agree with this point.
Keep going!! Frankly, this is the first I am liking someone from India who is delivering the content so nicely.
Unlike other 'popular' tutorials which would just teach you on the surface things and would try to either spoonfed viewers or miss out on giving important details, this channel gives all the important in-depth information that too for free.
you are awesome .. please keep doing what u r doing.. u really explain concepts to the point in simpler way rather using some difficult terms.. U have no idea as to how much ur videos are helping us learn.. !!! great work !!! :)
Waoh... Sir Navin, you are a loyal dad in this....getting every bit of it. Wanted we reach such a time when we will know why we should learn python and there we are....
Dad?
Boi went from awesome educator to loyal dad lol.
Have been trying to do this setup for days!! Watched your video and I was able to do it successfully..thank you so much!
I really needed the Django tutorial from you.😃😃
'mkvirtualenv' is not recognized as an internal or external command,
operable program or batch file.
Does anyone know the solution, please comment
I really enjoyed watching this video. In real life, when other teachers intoduced me to Django framework, I had no idea of what was going on --- not even a clue. But after watching your video, I finally understood why my teacher made me type all those commands in cmd! You are an excellent teacher. You really know your art, and you are good at it! You really know how to present complex things simplistically.
Plwase continue uploading playlist tutorials on all the programming languages and programming concepts that exisits so far in this world! Keep up this good work --- this excellent free service for all your students. You are amazing! You are so knowldgeable!You are so precise in your art!
that was probably beacuse you werent listening
It can be anything but it's always fun learning from Navin sir.👏
I know that's too many work, but more tutorials for django and some machine learning pls!! Not today but some day please! I'm learning python with ur videos and it's great! Thanks for your great job!
Thanks for the amazing tutorial.. can you please consider making tutorials on Django Rest framework as well 😊
Sir I recently learned django from documentation...
thanks for revision...
how easy is it learning from documentation bhai,
i always find it very boring learning from documentation.....except i need something important thats when i check documentation
@@temitopeoyeyemi899 That depends on how is documentation is prepared....
And I found django documentation quite easy to understand....
@@jayeshsingh7764
Ooo really ....
I used to see it as a slow approach....though it's the best anyway, cause u get to understand the basics behind the syntax and other stuffs.
I check documentation only when I'm down to earth and fucking confused about something
Please try uploading django videos every two or three days sir , as it is really helpful for me.... Thank you for uploading 🙏🙏
I am not able to download django ji, i am getting this error,,,
i got error '"virtualenv"' is not recognized as an internal or external command,
operable program or batch file.
Even though i have installed virtualenv wrapper , still mkvirtualenv test command is not working. Help
Even I face this issue @Navin Reddy sir please help
@@abhishekbiswas9871 even me, he is not helping ._,
same
Same here. Run cmd as administrator , uninstall wrapper and start the process again as told in video
try 'py -m venv test'
'.\test\Scripts\activate'
who else watching this tuto in Qurantine
Me
do you have travello zip file unedited?
3:00 CMD
python ---version
pip --version
django-admin --version
4:30 pip install virtualenvwrapper-win
4:50 mkvirtualenv test
Thank you
Hi Naveen, your videos are awesome and really people learn quickly by watching your videos. I am fan of you..
now i love python because of you, and i am very proud i am one of your student (From Sudan)
I just play a game with this video..Awesome
This my teacher is having a slight smile,may be figuring on complex thing he is about to deliver,like my student you gonna catch up hehehe,big up
Trying to learn django installation and subsequently coding on it by myself - your video series is very helpful. Thank you!
Sir please upload more video on this topic we needed as soon as possible
Way f teachng is good... Even a fresher can study dganjo...☺️Thanku sir ...🙏
One of the most interesting tutorials......I must say u r really a charismatic guy.....
Without understand i just follow the steps he did and i got it right. Hope in the future i will get it .
i'm from Brazil and THANK YOU SO MUCH for this amazing video. Have been trying to do this for hours.. watched ur video and then it works perfectly
I'm so thankful to you.It is very easy to me to follow one by one your instructions
Thank you for the awesome tutorial on Django I like it
Getting error makin virtual environment?
To create virtual environment
on python 3: use venv module or virtualenv module.
on python 2: use virtualenv module
For example you are on python 3 and our environments name is tests, then do the following:
1. >pip install venv
Navigate to your project folder and do:
2. > python venv test
3. > tests\scripts\activate
This will activate your environment.
You can now see '(test)' on the left of the prompt
Now you can install any library you want in this environment.
To deactivate the environment simply type 'deactivate'
goto python main folder and open script folder copy all fill and paste in python folder
@@vipassanameditation176 what???
Good job...God bless you for helping many learners.
i got error '"virtualenv"' is not recognized as an internal or external command,
operable program or batch file. when create test
same with my system...how to fix it?
If you have python installed check if it is added on path.
If pip install virtualenv-win gave you some warnings then fix that like adding it to path.
Note that after adding anything to path you need to close cmd and then start it again to reflect it's effect.
For any queries further refer official Django documentation.
Thanks
Thnx sir l watched a lot of videos before it and they couldn't help but yours really did... Thnx. Sir u solved my problem
Thank you sir. to staring Django tutorial.your learning way so attractive that help me to understand easily. I always follow your tutorial. I think , your tutorial keep me update with new technology news and tutorial. Lots of love from Bangladesh.
excellent video quality is very good, waitng fore more videos like this
Thank you! You are blessed and may God bless you more. I like that you have short videos. Beginners videos should be short!
I really thank you for giving us wonderful training in python.
I study python with the help of your tutorial.
We are eagerly waiting for django tutorial...
Pls upload django vedios ASAP.
THANK YOU SIR
Thank you so much. It helped me setup pip and django finally!
I don't have computer I setup Django in my android phone thank you for the video sir
my name is moksh sharma. i am very much inspired by maximavoid. he' a great gamer and a nice yt channel
Sir,I installed virtualenvwrapprr-win. N whn I go mkvirtualenv i get an error internal or external command not recognized. Wht can I do now
Sir,
I lov u...
U r best..
Thank you so much for all the help. You are doing great work
thank you so much. been having issues with installing django for days, but you made it simple
do you have travello zip file unedited?
Sir My summer vacation of class 12 is started so I can give more time to computer science so I needed your video for learn more and more. And give me some tips for increase the marks in python programming
actually i m waiting for django tutorial from u. thank u so much. hope it will be a great journey with u.😊😊
bro this is the django tutorial
,
.
what kind off action we have to take when 127.0.0 is giving "This site can’t be reached" this error
Very nice tutorials. you provide such a great knowledge in a simple and easy way...
'mkvirtualenv' is not recognized as an internal or external command,
operable program or batch file.
Sir, could you please help me with this. Thank you
I'm getting same error
Pls reply if u find any solution for this
To install virtual environment wrapper through cmd, do i need pc to be connected to internet? Mine is giving me error without internet connection
Of course
Thanks for explaining how to set up Django.
Navin Sir first of all thank you for Django series from you. But you have used Django version 2.2 and latest version today is 3.0.3 So my question is Can I use everything that I learned in Django 2.2 from you in Django 3.0.3 or there might be so much difference between the two. Thank you. Waiting for your response.
Wow what a explanation sir mind blowing super sir
I strongly believe that it is helpful for learnt to Django of your video. Many Many Thanks Dear Brother.
Thank you sir this step is complete due your deep explaination..my background is not programming but i want to jump to this field using python
you are awesome sir , i need your Django Tutorial Please upload more videos on Django
Thank you so so much! you are the only person explain things clearly.
every time should i need to install this virtual environment?because when i shutdown my system and start then this command prompt will be gone so. Like before i complete this hello world project . how can i link again?
Four years later. Am watching this video . Wow 😮
Small doubt sir
After Creating the virtual environment I mistakenly closed my command prompt How can I go to my Created Virtual environment again. And how to close my present working environment instead of closing CMD.
Is there any commands for that ?
Thank you sir... ☺️☺️☺️
@@Telusko Thank you sir
Tq for making Django series for us
Learned alot from you ☺️☺️☺️
OMnS
I love you sir
I m waiting for your next video since your first django video
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
Hi did u find the solution plz?
How can someone be so perfect in explanation.
he rocks it
Thank you sir for your efforts... Looking for your further lectures....😄😄😊
Tq TQ so much sir u r explanation is very clear. I'm very much existed to learn django after watching ur videos
after i enter mkvirtualenv test it says \Envs was unexpected at this time
Thanks for the video, very clear procedure on installing django 1
one of the best platform for coding
Hey how can i re start python server again if i restart my system.
I face difficulty i am unable to start again due to environmental setup or something. Please answer asap
his voice is legendary
sir can you solve my this error,what can i do after this
pip install virtualenwrapper-win
Collecting virtualenwrapper-win
ERROR: Could not find a version that satisfies the requirement virtualenwrapper-win (from versions: none)
ERROR: No matching distribution found for virtualenwrapper-win
could you solve it? i am getting the same problem
i got where the problem was
pip install virtualenvwrapper-win
use "pip install virtualenv" command
Same problem
nice to see you again sir
feeling enthusiatic working in command prmpt and thank you for such great teachings
your video was amazing sir, go ahead
sir, I tried but it failed to install Django and showing ERROR EXCEPTION . plz help
try -"py -m pip install django"
Hi navin,,happy to see you. i had gotten the all the results with installing the django. but i have not get that home page of the django with the 127.0.0.1:8000 kindly help me, (i have bee using the wifi, is that the issue that i have not get the homepage
did you run the server from cmd prompt
if the given pip doesn't work...(which will not)
Try "py -m pip install django"
Because of upgrades...
But it's not working
No matter how much I try I am unable to complete it..I have set the path..also I can see the pip in python folder..but I am unable to get a response while asking for it version..
For once I got a response n downloaded the django..bt thn it does not responding to django --version..I restart the cmd again It can't identify pip.
Can you tell me what the problem with it?
Sir 5 days are gone please upload video I am watching the notification every hour please sir upload as soon as possible
Please make all vidieo of Django I really like it
Please make the same video for mac too... :)
You can check freecodecamp for that
Django-admin doesn't recognize internal or external command how can I remove that error
Sir, why Django CMS, Watgail, Mezzanine, Fein CMS are not popular like Wordpress, Joomla, Magneto etc??
really understandable sir keep more give real-world projects now
Thank u sir for django tutorial I am waiting for next video
appreciate your work
simply superb sir, and thanks for guiding specially newly learning people.
When i am typing it's showing that pip is not an recognized command but i have installed python version 3.7.4
Very nice tutorial. Love it
virtual environments are not creating using( mkvirtual env)in command prompt..what to do next
U r the great man... Thanks for this video
tnq sir for providing tutorial.I also looking for what to do after your python begineer tutorial.tnx a lot for uploding django tutorial.
Sir access denied in mkdir projects 7:15 how to solve it please help
It is in virtual environment so how to get access to make directory
personally,i simply deleted previous projects i had had on django,and then opened cmd again
Telusko Intro make me more inspired.
keep uploading more videos as soon as you can?
Teaching skills 💯
I m getting mkvirtualenv is not recognised as an internal and external command.. plz fix the issue
I'm first watched ,started this tuto...thank you navin sir
Thanks for your video sir other channel didn't explain anything on installing the Django framework unless like you