#2 Django tutorials | Setup
Вставка
- Опубліковано 12 вер 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 UA-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.
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 !!! :)
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.
Have been trying to do this setup for days!! Watched your video and I was able to do it successfully..thank you so much!
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.
I really needed the Django tutorial from you.😃😃
It can be anything but it's always fun learning from Navin sir.👏
'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
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
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..
I'm so thankful to you.It is very easy to me to follow one by one your instructions
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!
Thank you for the awesome tutorial on Django I like it
Good job...God bless you for helping many learners.
Way f teachng is good... Even a fresher can study dganjo...☺️Thanku sir ...🙏
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'
One of the most interesting tutorials......I must say u r really a charismatic guy.....
Sir please upload more video on this topic we needed as soon as possible
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
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.
Thank you so much. It helped me setup pip and django finally!
Trying to learn django installation and subsequently coding on it by myself - your video series is very helpful. Thank you!
Sir,
I lov u...
U r best..
Thank you! You are blessed and may God bless you more. I like that you have short videos. Beginners videos should be short!
I just play a game with this video..Awesome
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
excellent video quality is very good, waitng fore more videos like this
Thank you so much for all the help. You are doing great work
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
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???
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.
Very nice tutorials. you provide such a great knowledge in a simple and easy way...
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 ☺️☺️☺️
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
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.
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
,
.
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
Thank you so so much! you are the only person explain things clearly.
Without understand i just follow the steps he did and i got it right. Hope in the future i will get it .
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
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
Thanks for the video, very clear procedure on installing django 1
Thanks for explaining how to set up Django.
thank you so much. been having issues with installing django for days, but you made it simple
do you have travello zip file unedited?
what kind off action we have to take when 127.0.0 is giving "This site can’t be reached" this error
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
I strongly believe that it is helpful for learnt to Django of your video. Many Many Thanks Dear Brother.
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?
now i love python because of you, and i am very proud i am one of your student (From Sudan)
'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
Sir plz tell which screen recorder do you use plz tell
Thank you sir for your efforts... Looking for your further lectures....😄😄😊
Sir, why Django CMS, Watgail, Mezzanine, Fein CMS are not popular like Wordpress, Joomla, Magneto etc??
feeling enthusiatic working in command prmpt and thank you for such great teachings
Wow what a explanation sir mind blowing super sir
you are awesome sir , i need your Django Tutorial Please upload more videos on Django
Tq TQ so much sir u r explanation is very clear. I'm very much existed to learn django after watching ur videos
simply superb sir, and thanks for guiding specially newly learning people.
OMnS
I love you sir
I m waiting for your next video since your first django video
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
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
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?
U r the great man... Thanks for this video
appreciate your work
Thanks a lot Navin...Really wanted this tutorial !
your video was amazing sir, go ahead
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?
Thank u sir for django tutorial I am waiting for next video
I like tht ur class I'm facing issue to run visual studio in my laptop .. Is it requires specific configuration laptop like grafic card ,SSD , ram capacity etc ...
nice to see you again sir
virtual environments are not creating using( mkvirtual env)in command prompt..what to do next
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
Thanks for your video sir other channel didn't explain anything on installing the Django framework unless like you
Telusko Intro make me more inspired.
Wow!!! This video is superior one!!! Tqsm!!!
Now the dajango version is 3.2 is it worth to learn
Please make all vidieo of Django I really like it
When i am typing it's showing that pip is not an recognized command but i have installed python version 3.7.4
really understandable sir keep more give real-world projects now
Sir I'm facing problem while installing saying " could not find a version that satisfies the requirement virtualwrapper-win"
How to solve this?
I installed virtualenvwrapper-win but next line mkvirtualenv i type result mkvirtualenv not found. why pls help me sir 🙏
steps: - go to where you want create django app on that folder.
then run this command on command prompt : python -m virtualenv .
(eg. C:\Users\admin\Desktop\django>) and there, type the above command
where django is the my folder i want run virtualenv and .(dot) indicates virtualenv install all it's folder in django folder otherwise you can use other folder name instead .(dot) this time virtulenv creates a folder in main folder(django) .
after running this command: run .\scripts\activate now you can see this type of line on cmd-prompt (django) C:\Users\gshiv\Desktop\django>
i.e main folder name before the source path. now you can install any modules for your project that belongs to that main folder only.
Thank you bro
Python -m virtualenv.
Result : module not found 😐
@@mathan15 python -m virtualenv (dot)
God Bless You .Very easy explanation.
sir, I tried but it failed to install Django and showing ERROR EXCEPTION . plz help
try -"py -m pip install django"
Very nice tutorial. Love it
Can i run it on 32 bit operating sys
finaly i did it, thanks kerilin!
I'm first watched ,started this tuto...thank you navin sir
Question: Why we are using vitualenvwrapper and why not built in venv ?
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
after i enter mkvirtualenv test it says \Envs was unexpected at this time
Django-admin doesn't recognize internal or external command how can I remove that error
Wuhhu Django is coming!!!!!
sir,
plz make more videos on django .
plz ...its request.
awesome. learnt a lot. thanks a bunch💖
Do you have seperate online class @Telusko