Creating a Weather App in Django Using Python Requests [Part 1]

preview_player
Показать описание
In this video I'll create a weather app in Django that gets the current weathers for multiple cities. To do this, I'll use Python Requests to call the Open Weather Map API.

Рекомендации по теме
Комментарии
Автор

22:35 A better way to save users input does it this way:

if request.method == 'POST':
object = # Give input tag an attribute name to access it
object.save()

crazycat
Автор

Thank you! Very useful. I like this video format, developing small live app

Denys.Stoianov
Автор

I needed to open an API for one Django project, and consume it from another Django project. This video helped a lot on designing the architecture

alicandonmez
Автор

This deserves all thanks from the middle of my heart. Thanks a lot.

kushaldhkl
Автор

thank you so much man!

i created my first weather app...
its working and displaying one city at a time..

that means there is some problen with for loop..
when u was able to display 3 cities in my case only melbourne was displayed..

but still it works..thats what matter 👍

satyam
Автор

Terrific explanation and live demo. Thank you very much for this buddy!

manish
Автор

Great content!
Can you please give an overview of how youd go about saving the responses from the api to the database? For example, for the purpose of listing the weather over a period of time while adding a new row for the daily weather. Itd be a huge help!!

tradeiumOfficial
Автор

This is a great tutorial man, it's helping me to improve my skills.

pycodes
Автор

Thank you, this helped me understand the basics of Django quickly

isaacschultz
Автор

Thanks Anthony. Your videos are very helpful for people like us.

TheShash
Автор

Its a best beginner practice application, thanks a lot for this tutorial... ☺️

shubhamgupta-lkld
Автор

One of the best python tutorials I've seen....!!

holyhexor_w
Автор

when i render the weather template, there is no "city name" column or las vegas weather. mind helping?

parthsawant
Автор

This was very informative and very helpful! Thanks for inspiring confidence in Django novices!

varunmurthy
Автор

Another clean and attentive tutorial.Thanks for it.

recepozturk
Автор

I found your YouTube channel too late. however, I am excited to be one of your subscriber!
Thank you very much.

blog.pymastery
Автор

I've done everything step by step and for some reason my image, description and icon isn't showing I have my api with me but i don't really know the problem for sure...you mind helping out?

footballtalkswithsoham
Автор

hi ! i faced a issue that if i deleted all the cities from db then also in the web one city is fixed and everytime i refreshed the browser the no of the same city increases with the same value.
What is the solution ?

animeshbanerjee
Автор

So grateful. Great great tutorial....and thanks Python and Django

MrTuzzo
Автор

you are a really good teacher thank you

kilianmedina