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...
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.
Pretty Printed is one of the best Django developers doing youtube videos out there. Make sure you'll follow him.
Quick and simple! Thanks for this tutorial!
freeCodeCamp community is the best.
Thanks!
How many time did you get learning how make such a complex thing so fast?
Awesome as always
Hello, Can you help me?
ValueError at /
"The City could not be created because the data didn't validate."
I keep getting a “template doesn’t exist at ‘weather/weather.html” error message at 5:21 please help haha
Thank You.
thanks for the video , could you guys make tutorials on odoo too ?
can this be modified to take zipcodes? Or like Town, State, Zipcode combo? (with the basic free weathermap subscirption)
It’s super cool
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!
May I ask, Which IDE you guys use to do python? and how to set it up ?
Visual studio code IDE is used in this tutorial. it's very lightweight and open source.
I use vi (worked just fine for this tutorial.)
Where did u get code for html
How can I delete the city?
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
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!
im probably gonna add it to my portfolio.. something is better than nothing... xD
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.
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. :)
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.
then try another name
720 is low.
Sir key error aa rha hai main mein.plz guide me
Any reason why you don't use dot notation?
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.
try pip install requests
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
Not stolen, sorry for wrongful accusation.
didn't see any link i the description
Its there now. (Next to "Get the code here").
Yeah boii
1st comment
@@techwithrg45 Lol. Just for fun