Weather App - Django Tutorial (Using Python Requests)

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ส.ค. 2024
  • See how to create a weather app in Django that gets the current weathers for multiple cities. This tutorial uses Python Requests to call the Open Weather Map API.
    Get the code here: github.com/Pre...
    Django Database Essentials: prettyprinted....
    Tutorial from Pretty Printed. Check out the pretty printed TH-cam channel: / @prettyprinted
    --
    Learn to code for free and get a developer job: www.freecodeca...
    Read hundreds of articles on programming: medium.freecod...

ความคิดเห็น • 41

  • @user-gl1tr1zz1h
    @user-gl1tr1zz1h 5 หลายเดือนก่อน +2

    I wanted to extend my heartfelt gratitude for developing the weather web app using Django. Your dedication and expertise have truly made a difference in providing users with accurate and accessible weather information. As John Ruskin once said, "Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction, and skillful execution." Your commitment to excellence shines through in every aspect of the app.
    Thank you for your hard work, innovation, and commitment to delivering a top-notch product. Your efforts have not gone unnoticed, and your contribution to the world of weather forecasting is deeply appreciated.

  • @letslearnabout4934
    @letslearnabout4934 5 ปีที่แล้ว +2

    Pretty Printed is one of the best Django developers doing youtube videos out there. Make sure you'll follow him.

  • @hectorg362
    @hectorg362 3 ปีที่แล้ว

    Quick and simple! Thanks for this tutorial!

  • @whilelab
    @whilelab 5 ปีที่แล้ว

    freeCodeCamp community is the best.

  • @yiannisserpico2646
    @yiannisserpico2646 5 ปีที่แล้ว +3

    How many time did you get learning how make such a complex thing so fast?

  • @rangabharath4253
    @rangabharath4253 4 ปีที่แล้ว

    Awesome as always

  • @kanszkvothe6041
    @kanszkvothe6041 5 ปีที่แล้ว +2

    Hello, Can you help me?
    ValueError at /
    "The City could not be created because the data didn't validate."

  • @jakobe0112
    @jakobe0112 2 ปีที่แล้ว +1

    I keep getting a “template doesn’t exist at ‘weather/weather.html” error message at 5:21 please help haha

  • @a_maxed_out_handle_of_30_chars
    @a_maxed_out_handle_of_30_chars 5 ปีที่แล้ว +1

    Thank You.

  • @gunahawk6893
    @gunahawk6893 3 ปีที่แล้ว

    thanks for the video , could you guys make tutorials on odoo too ?

  • @danielrogers4735
    @danielrogers4735 4 ปีที่แล้ว +1

    can this be modified to take zipcodes? Or like Town, State, Zipcode combo? (with the basic free weathermap subscirption)

  • @kaustubhken
    @kaustubhken 5 ปีที่แล้ว

    It’s super cool

  • @alexmitsou3452
    @alexmitsou3452 ปีที่แล้ว

    Hello, I have a question. Where did you find the html code? It is not clear to me, because you just copy and pasted. So can you tell a little more about how can we implement that part of the app, where did you get it and how it works? Thanks in advance!

  • @lmvysakh5666
    @lmvysakh5666 5 ปีที่แล้ว +1

    May I ask, Which IDE you guys use to do python? and how to set it up ?

    • @arjunanselvam
      @arjunanselvam 5 ปีที่แล้ว

      Visual studio code IDE is used in this tutorial. it's very lightweight and open source.

    • @recklessroges
      @recklessroges 5 ปีที่แล้ว

      I use vi (worked just fine for this tutorial.)

  • @devasenamalli3411
    @devasenamalli3411 5 หลายเดือนก่อน

    Where did u get code for html

  • @samarthminocha4104
    @samarthminocha4104 ปีที่แล้ว

    How can I delete the city?

  • @WhenItsHalfPastFive
    @WhenItsHalfPastFive 5 ปีที่แล้ว +3

    I've been watching coding tutorials, and these are really helpful. I have a question though: when I follow along these tutorials while coding, are these projects good enough to add to my portfolio? my finished product ends up looking largely the same as these tutorials, not too different. Is this a bad thing? I feel like I am learning a lot, but I feel like employers might look down upon adding them to a portfolio

    • @bialcus69
      @bialcus69 5 ปีที่แล้ว

      Sure but try to create your own variations of the apps you got from tuts (like simple calculator app that plays Slayer when the result is '666'). Do the research how devs actually work. EVERYONE uses search engine ALL THE TIME (Yes even the seniors).You'd be suprised :) Never give up and code on!

    • @pururun
      @pururun 5 ปีที่แล้ว

      im probably gonna add it to my portfolio.. something is better than nothing... xD

    • @gluedtogames
      @gluedtogames 5 ปีที่แล้ว +3

      The idea is to take these projects and then create a new problem within them that you can seek out to resolve. I did a tutorial once on GUI, so I created a button. I'd later done a tutorial on url requests. I added that to my button project and created an app with buttons you'd click to go to my favorite websites.

    • @ThePRINCEBARPAGA
      @ThePRINCEBARPAGA 5 ปีที่แล้ว

      It is definitely a good idea to add to your portfolio, however try to improvise on it once you finished the project, add some additional features, make it more interesting, in this way you are not only digging deeper but also making it your own project so its not plagiarized. Another thing you can do, is to document your project on platforms like "Medium" and explain what your learnt and share your opinion which will be helpful for other users. :)

  • @kinggRafi
    @kinggRafi 5 ปีที่แล้ว

    i cant start the weather app its says --> commanderror:'weather' conflicts with the name of existing Python module and cannot be used as an appname. please try another name.

  • @derekkroeker4582
    @derekkroeker4582 3 ปีที่แล้ว

    720 is low.

  • @akashdudhade8239
    @akashdudhade8239 ปีที่แล้ว

    Sir key error aa rha hai main mein.plz guide me

  • @deuce3608
    @deuce3608 5 ปีที่แล้ว +2

    Any reason why you don't use dot notation?

  • @san100088
    @san100088 5 ปีที่แล้ว

    Hello, I am having trouble with the "pipenv install requests". It gives me a "is not recongnized" message. I am not sure where I go wrong. Do you have any ideas? Thanks.

  • @Strep3
    @Strep3 5 ปีที่แล้ว

    EDIT: Not stolen, sorry for wrongful accusation.
    You are stealing videos from others? Coz this is original from Pretty Printed channel (you can hear him say he is Anthony from Pretty Printed).
    Original video: th-cam.com/video/v7xjdXWZafY/w-d-xo.html

    • @Strep3
      @Strep3 5 ปีที่แล้ว

      Not stolen, sorry for wrongful accusation.

  • @arielkalenga9218
    @arielkalenga9218 5 ปีที่แล้ว

    didn't see any link i the description

    • @recklessroges
      @recklessroges 5 ปีที่แล้ว

      Its there now. (Next to "Get the code here").

  • @yashaskrishna
    @yashaskrishna 5 ปีที่แล้ว

    Yeah boii

  • @gurusaig9703
    @gurusaig9703 5 ปีที่แล้ว

    1st comment

    • @gurusaig9703
      @gurusaig9703 3 ปีที่แล้ว

      @@techwithrg45 Lol. Just for fun