#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

КОМЕНТАРІ • 653

  • @vairamuthupuvanachandran2821
    @vairamuthupuvanachandran2821 Рік тому +61

    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.

    • @user-pk7yr1jj9u
      @user-pk7yr1jj9u Рік тому +7

      Great to see you sir, at the age of 76, you are learning this technology.🎉🎉🎉

    • @KeremAli-cm3pj
      @KeremAli-cm3pj 2 місяці тому

      @@user-pk7yr1jj9u Sheesh

  • @tarkay2024
    @tarkay2024 4 роки тому +140

    Awesome man. This is the reason Indians are the best people on UA-cam xD they keep on giving!

  • @satishchougule4748
    @satishchougule4748 3 роки тому +21

    Keep going!! Frankly, this is the first I am liking someone from India who is delivering the content so nicely.

  • @arvindyajaman5788
    @arvindyajaman5788 4 роки тому +11

    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 !!! :)

  • @sohamsen7892
    @sohamsen7892 4 роки тому +9

    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.

  • @nerryiyonmana7789
    @nerryiyonmana7789 3 роки тому +3

    Have been trying to do this setup for days!! Watched your video and I was able to do it successfully..thank you so much!

  • @danielkamau8436
    @danielkamau8436 4 роки тому +5

    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....

    • @KeremAli-cm3pj
      @KeremAli-cm3pj 2 місяці тому +1

      Dad?
      Boi went from awesome educator to loyal dad lol.

  • @akashmishra554
    @akashmishra554 5 років тому +35

    I really needed the Django tutorial from you.😃😃

  • @karthick2237
    @karthick2237 5 років тому +7

    It can be anything but it's always fun learning from Navin sir.👏

  • @gurunatharudhbhandarkavath7781
    @gurunatharudhbhandarkavath7781 3 роки тому +4

    'mkvirtualenv' is not recognized as an internal or external command,
    operable program or batch file.

  • @devidevatha
    @devidevatha 9 місяців тому

    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!

    • @KeremAli-cm3pj
      @KeremAli-cm3pj 2 місяці тому

      that was probably beacuse you werent listening

  • @padminidesai9823
    @padminidesai9823 4 роки тому +7

    Thanks for the amazing tutorial.. can you please consider making tutorials on Django Rest framework as well 😊

  • @jayeshsingh7764
    @jayeshsingh7764 5 років тому +3

    Sir I recently learned django from documentation...
    thanks for revision...

    • @temitopeoyeyemi899
      @temitopeoyeyemi899 5 років тому

      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

    • @jayeshsingh7764
      @jayeshsingh7764 5 років тому +1

      @@temitopeoyeyemi899 That depends on how is documentation is prepared....
      And I found django documentation quite easy to understand....

    • @temitopeoyeyemi899
      @temitopeoyeyemi899 5 років тому +1

      @@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

  • @victorystocktv
    @victorystocktv 4 роки тому +2

    3:00 CMD
    python ---version
    pip --version
    django-admin --version
    4:30 pip install virtualenvwrapper-win
    4:50 mkvirtualenv test
    Thank you

  • @sridharrajup5892
    @sridharrajup5892 4 роки тому +1

    Hi Naveen, your videos are awesome and really people learn quickly by watching your videos. I am fan of you..

  • @suganyanivas4810
    @suganyanivas4810 4 роки тому +1

    I'm so thankful to you.It is very easy to me to follow one by one your instructions

  • @SurekOficial
    @SurekOficial 5 років тому +3

    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!

  • @parableideas24
    @parableideas24 4 роки тому +6

    Thank you for the awesome tutorial on Django I like it

  • @sridharrajup5892
    @sridharrajup5892 4 роки тому +2

    Good job...God bless you for helping many learners.

  • @binib.s5139
    @binib.s5139 4 роки тому +1

    Way f teachng is good... Even a fresher can study dganjo...☺️Thanku sir ...🙏

  • @vivekshrivastava1821
    @vivekshrivastava1821 4 роки тому +10

    Even though i have installed virtualenv wrapper , still mkvirtualenv test command is not working. Help

    • @abhishekbiswas9871
      @abhishekbiswas9871 4 роки тому +3

      Even I face this issue @Navin Reddy sir please help

    • @brhh
      @brhh 4 роки тому +2

      @@abhishekbiswas9871 even me, he is not helping ._,

    • @iamtheon
      @iamtheon 4 роки тому +2

      same

    • @iamtheon
      @iamtheon 4 роки тому

      Same here. Run cmd as administrator , uninstall wrapper and start the process again as told in video

    • @anzerkhan3079
      @anzerkhan3079 3 роки тому +3

      try 'py -m venv test'
      '.\test\Scripts\activate'

  • @Integralsouls
    @Integralsouls 5 років тому +1

    One of the most interesting tutorials......I must say u r really a charismatic guy.....

  • @yuvrajsinha3369
    @yuvrajsinha3369 5 років тому +5

    Sir please upload more video on this topic we needed as soon as possible

  • @AKR3_unofficial
    @AKR3_unofficial 4 роки тому

    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

  • @sushantnanaware5961
    @sushantnanaware5961 4 роки тому +1

    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.

  • @sabihavora6349
    @sabihavora6349 3 роки тому +1

    Thank you so much. It helped me setup pip and django finally!

  • @madhumitajoshi1720
    @madhumitajoshi1720 5 місяців тому

    Trying to learn django installation and subsequently coding on it by myself - your video series is very helpful. Thank you!

  • @aashischoudhary1058
    @aashischoudhary1058 5 років тому +4

    Sir,
    I lov u...
    U r best..

  • @Sure_Math_Center
    @Sure_Math_Center Рік тому

    Thank you! You are blessed and may God bless you more. I like that you have short videos. Beginners videos should be short!

  • @harithareddy1731
    @harithareddy1731 5 років тому +5

    I just play a game with this video..Awesome

  • @larissaaraujo2862
    @larissaaraujo2862 2 роки тому

    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

  • @bharathKumar-or6gd
    @bharathKumar-or6gd 5 років тому +1

    excellent video quality is very good, waitng fore more videos like this

  • @shrutipandey8696
    @shrutipandey8696 4 роки тому +2

    Thank you so much for all the help. You are doing great work

  • @poojachorage8959
    @poojachorage8959 3 роки тому +1

    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

  • @anshulkanwar1
    @anshulkanwar1 4 роки тому +1

    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'

    • @vipassanameditation176
      @vipassanameditation176 4 роки тому

      goto python main folder and open script folder copy all fill and paste in python folder

    • @anshulkanwar1
      @anshulkanwar1 4 роки тому

      @@vipassanameditation176 what???

  • @ranacse2018
    @ranacse2018 5 років тому +1

    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.

  • @syednazirhussain158
    @syednazirhussain158 4 роки тому +1

    Very nice tutorials. you provide such a great knowledge in a simple and easy way...

  • @vineethkumar2272
    @vineethkumar2272 5 років тому +1

    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... ☺️☺️☺️

    • @vineethkumar2272
      @vineethkumar2272 5 років тому

      @@Telusko Thank you sir
      Tq for making Django series for us
      Learned alot from you ☺️☺️☺️

  • @kenyacomputertechnicians
    @kenyacomputertechnicians 3 роки тому +1

    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

  • @chikariarikukuto
    @chikariarikukuto 5 років тому +5

    Please try uploading django videos every two or three days sir , as it is really helpful for me.... Thank you for uploading 🙏🙏

    • @viswatalks411
      @viswatalks411 4 роки тому +1

      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.

  • @didar96
    @didar96 5 років тому +1

    actually i m waiting for django tutorial from u. thank u so much. hope it will be a great journey with u.😊😊

  • @anselsolomon6270
    @anselsolomon6270 4 роки тому +1

    To install virtual environment wrapper through cmd, do i need pc to be connected to internet? Mine is giving me error without internet connection

  • @5bv548
    @5bv548 5 років тому

    Thank you so so much! you are the only person explain things clearly.

  • @GGNEOM
    @GGNEOM 4 роки тому +2

    Without understand i just follow the steps he did and i got it right. Hope in the future i will get it .

  • @shaikbyte
    @shaikbyte 5 років тому +1

    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

  • @anandk5357
    @anandk5357 5 років тому +3

    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

  • @PATRICKCHUAD
    @PATRICKCHUAD 3 роки тому

    Thanks for the video, very clear procedure on installing django 1

  • @CromaCampusOfficial
    @CromaCampusOfficial 3 роки тому +1

    Thanks for explaining how to set up Django.

  • @oyalanatomi3433
    @oyalanatomi3433 4 роки тому

    thank you so much. been having issues with installing django for days, but you made it simple

  • @amrutapanchal5613
    @amrutapanchal5613 3 роки тому +2

    what kind off action we have to take when 127.0.0 is giving "This site can’t be reached" this error

  • @prageshyadav1587
    @prageshyadav1587 5 років тому +5

    i got error '"virtualenv"' is not recognized as an internal or external command,
    operable program or batch file. when create test

    • @vanshikamittal2412
      @vanshikamittal2412 5 років тому

      same with my system...how to fix it?

    • @MrNobody-rx3ny
      @MrNobody-rx3ny 4 роки тому

      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.

    • @vivekdhage8296
      @vivekdhage8296 4 роки тому

      Thanks

  • @zahedulislamchowdhury2279
    @zahedulislamchowdhury2279 4 роки тому

    I strongly believe that it is helpful for learnt to Django of your video. Many Many Thanks Dear Brother.

  • @SIISKSARAVINDAKASHYAP
    @SIISKSARAVINDAKASHYAP 4 роки тому +1

    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?

  • @nasseralnino3588
    @nasseralnino3588 Рік тому

    now i love python because of you, and i am very proud i am one of your student (From Sudan)

  • @ruchiradeshpande6872
    @ruchiradeshpande6872 4 роки тому +1

    '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

    • @shyamreddy7432
      @shyamreddy7432 3 роки тому

      I'm getting same error
      Pls reply if u find any solution for this

  • @dev10shah
    @dev10shah 4 роки тому +1

    Sir plz tell which screen recorder do you use plz tell

  • @radhegovinda1912
    @radhegovinda1912 5 років тому +1

    Thank you sir for your efforts... Looking for your further lectures....😄😄😊

  • @shikhamalhotra973
    @shikhamalhotra973 5 років тому +1

    Sir, why Django CMS, Watgail, Mezzanine, Fein CMS are not popular like Wordpress, Joomla, Magneto etc??

  • @Sameer-jv5vx
    @Sameer-jv5vx 3 роки тому

    feeling enthusiatic working in command prmpt and thank you for such great teachings

  • @maheshappikatla5004
    @maheshappikatla5004 3 роки тому +1

    Wow what a explanation sir mind blowing super sir

  • @mdriyazansari9464
    @mdriyazansari9464 5 років тому +1

    you are awesome sir , i need your Django Tutorial Please upload more videos on Django

  • @kavyayadla3991
    @kavyayadla3991 4 роки тому

    Tq TQ so much sir u r explanation is very clear. I'm very much existed to learn django after watching ur videos

  • @sainikhil6745
    @sainikhil6745 3 роки тому

    simply superb sir, and thanks for guiding specially newly learning people.

  • @rajdave9862
    @rajdave9862 5 років тому +1

    OMnS
    I love you sir
    I m waiting for your next video since your first django video

  • @sanketjain5079
    @sanketjain5079 5 років тому +3

    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

  • @abhishekanand9910
    @abhishekanand9910 4 роки тому +1

    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

  • @dev10shah
    @dev10shah 4 роки тому +2

    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?

  • @pranalipawar3401
    @pranalipawar3401 5 років тому +1

    U r the great man... Thanks for this video

  • @akhilmaheshwari337
    @akhilmaheshwari337 5 років тому +5

    appreciate your work

  • @nabeelkochu
    @nabeelkochu 5 років тому

    Thanks a lot Navin...Really wanted this tutorial !

  • @ramyanive8072
    @ramyanive8072 5 років тому +2

    your video was amazing sir, go ahead

  • @shreyasingh6890
    @shreyasingh6890 3 роки тому +1

    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?

  • @ROHIT-gv7xk
    @ROHIT-gv7xk 5 років тому +1

    Thank u sir for django tutorial I am waiting for next video

  • @rohitrk1390
    @rohitrk1390 2 роки тому

    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 ...

  • @Shubham-fk4is
    @Shubham-fk4is 5 років тому +1

    nice to see you again sir

  • @Rohitkumar-hf8ho
    @Rohitkumar-hf8ho 3 місяці тому +1

    virtual environments are not creating using( mkvirtual env)in command prompt..what to do next

  • @DharmeshTechZone
    @DharmeshTechZone 4 роки тому

    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

  • @K-mk6pc
    @K-mk6pc 3 роки тому

    Thanks for your video sir other channel didn't explain anything on installing the Django framework unless like you

  • @rockyislam4222
    @rockyislam4222 5 років тому

    Telusko Intro make me more inspired.

  • @neeladevices2121
    @neeladevices2121 5 років тому

    Wow!!! This video is superior one!!! Tqsm!!!

  • @sivasaran4
    @sivasaran4 3 роки тому +1

    Now the dajango version is 3.2 is it worth to learn

  • @aanchalmishra3717
    @aanchalmishra3717 5 років тому +1

    Please make all vidieo of Django I really like it

  • @itishreeparida9028
    @itishreeparida9028 5 років тому +1

    When i am typing it's showing that pip is not an recognized command but i have installed python version 3.7.4

  • @sagarpatil4088
    @sagarpatil4088 3 роки тому

    really understandable sir keep more give real-world projects now

  • @kramaturreza3965
    @kramaturreza3965 3 роки тому +1

    Sir I'm facing problem while installing saying " could not find a version that satisfies the requirement virtualwrapper-win"
    How to solve this?

  • @mathan15
    @mathan15 5 років тому +1

    I installed virtualenvwrapper-win but next line mkvirtualenv i type result mkvirtualenv not found. why pls help me sir 🙏

    • @1610KARTIK
      @1610KARTIK 5 років тому +1

      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.

    • @mathan15
      @mathan15 5 років тому

      Thank you bro

    • @mathan15
      @mathan15 5 років тому

      Python -m virtualenv.
      Result : module not found 😐

    • @1610KARTIK
      @1610KARTIK 5 років тому

      @@mathan15 python -m virtualenv (dot)

  • @k.k.sharma3950
    @k.k.sharma3950 4 роки тому

    God Bless You .Very easy explanation.

  • @Nitesh_Bhagat
    @Nitesh_Bhagat 5 років тому +4

    sir, I tried but it failed to install Django and showing ERROR EXCEPTION . plz help

  • @carsinmud
    @carsinmud 5 років тому +1

    Very nice tutorial. Love it

  • @kundanjadhav8758
    @kundanjadhav8758 5 років тому +1

    Can i run it on 32 bit operating sys

  • @rediyusputra8333
    @rediyusputra8333 3 роки тому

    finaly i did it, thanks kerilin!

  • @kkrushnan7742
    @kkrushnan7742 5 років тому +3

    I'm first watched ,started this tuto...thank you navin sir

  • @farazahmed1668
    @farazahmed1668 2 роки тому

    Question: Why we are using vitualenvwrapper and why not built in venv ?

  • @yuvrajsinha3369
    @yuvrajsinha3369 5 років тому +3

    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

  • @alakmarshafin9065
    @alakmarshafin9065 4 роки тому +3

    after i enter mkvirtualenv test it says \Envs was unexpected at this time

  • @poojachorage8959
    @poojachorage8959 3 роки тому +1

    Django-admin doesn't recognize internal or external command how can I remove that error

  • @anon5788
    @anon5788 5 років тому +1

    Wuhhu Django is coming!!!!!

  • @aashischoudhary1058
    @aashischoudhary1058 5 років тому +2

    sir,
    plz make more videos on django .
    plz ...its request.

  • @charindujayanath3612
    @charindujayanath3612 2 роки тому

    awesome. learnt a lot. thanks a bunch💖

  • @maheshhrgowda2937
    @maheshhrgowda2937 3 роки тому

    Do you have seperate online class @Telusko