Professional Weather App with Django in Python

  Рет қаралды 42,888

NeuralNine

NeuralNine

Күн бұрын

In this video, we build a professional weather App using Django, Python and the OpenWeatherMap API.
CodiumAI: www.codium.ai/
Code: github.com/NeuralNine/youtube...
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord
🎵 Outro Music From: www.bensound.com/
Timestamps:
(0:00) Intro
(2:33) Preview
(4:12) Installation & API
(8:32) Endpoint (Back-End)
(25:35) Templates (Front-End)
(36:10) URL Mappings
(39:42) Styling (CSS)
(41:56) Outro

Пікірлер: 70
@sarthakpandey8605
@sarthakpandey8605 11 ай бұрын
My Code is not running after copying all steps.......worst.....key value / ''daily'' error occured. If you have the same error ....give me thumb up
@btanemba
@btanemba 6 ай бұрын
I'm also getting the Daily error. Don't know how to fix that
@user-qw3is5eg5l
@user-qw3is5eg5l 4 ай бұрын
I had such a mistake and I fixed it right now. In fact, the problem is that the free subscription does not allow you to watch the daily forecast. if you erase all mentions of the daily forecast, the code will work
@aryamanbandhu
@aryamanbandhu 3 ай бұрын
@@user-qw3is5eg5l I am a garbage human being
@aryamanbandhu
@aryamanbandhu 3 ай бұрын
@@user-qw3is5eg5l Thank you so much! I've been struggling to make the code work
@pranavM40
@pranavM40 2 ай бұрын
​@@user-qw3is5eg5l How to fix this mistake please explain because I also have the same problem.
@shyamananth
@shyamananth Жыл бұрын
Your Channel is the most informative and Fascinating tech content.. Cant quantify how much I have enjoyed and learned your content .. Love you mate.. You are just awesome
@ke012685
@ke012685 Жыл бұрын
Thanks for the tutorial, it's very helpful.
@style1708
@style1708 Жыл бұрын
Hey if you can, please show how creating real API (prefer fastapi as framework) and connecting it with frontend looks like, if you could also show how to deploy that. Thank you.
@nocopyrightgameplaystockvi231
@nocopyrightgameplaystockvi231 Жыл бұрын
Thanks for this. Bring more Django tutorials, your explanation is stellar.
@yiannisnik-ew2hs
@yiannisnik-ew2hs Жыл бұрын
Excellent work thanks.Any ideas how to display data dynamic in our website using Django?I think it should be in while loop while fetching data from API with sleep time in between
@isojama1
@isojama1 Жыл бұрын
Nice video as always. Just wondering how you get double {{ }} or the double % in the html file? Is it because of tabnine extension or something else?
@MrM1Gu
@MrM1Gu Жыл бұрын
It's Jinja notations that implements raw code in html
@utkarshpatil
@utkarshpatil 11 ай бұрын
what if the user input something else..like not a city name,then it would show error. How do you takle this error
@mehranaliyari9866
@mehranaliyari9866 10 ай бұрын
My problem is that when I call my management folder, it says that there is no such folder. I searched Stackoverflow and found the answer, but it was for Linux, I don't know how to fix the answer in Windows. I have this issue in other parts of the program, but when I look, the other parts are also formed. Please help me, what he wrote seems to be not path correct, I could not translate the codes to windows cmd codes
@juanmacias5922
@juanmacias5922 Жыл бұрын
I was today years old when I found out html can accept if conditions lol I thought that was a Vue thing xD btw, open weather accepts units, you didn't have to convert it to Celsius yourself.
@kodeypatterson8973
@kodeypatterson8973 Жыл бұрын
Cooool
@BubblyVFX
@BubblyVFX Жыл бұрын
Do you need Pycharm professional for this?
@zachfenton608
@zachfenton608 Жыл бұрын
Vielen Dank, es gibt einen Fehler wenn ich nur Stadt zwei eingebe. Was soll ich tun?
@njcoder2641
@njcoder2641 9 ай бұрын
hey the onecall api is paid we aren't able to use it
@Rex_ults
@Rex_ults 7 ай бұрын
What about the try and except?
@kelvinbethrand8914
@kelvinbethrand8914 9 ай бұрын
Does newyork works?
@vishnurajcr2462
@vishnurajcr2462 Жыл бұрын
KeyError at / 'coord' does anyone caught this error
@chetty1212
@chetty1212 Жыл бұрын
did you resolve this error? thats what im getting as well
@ahmedtariq2460
@ahmedtariq2460 10 ай бұрын
I'm also getting an error for 'coord' have you been able to find the solution?
@rahuldey5564
@rahuldey5564 5 ай бұрын
your API_KEY has a newline character ( ) remove it
@user-qw3is5eg5l
@user-qw3is5eg5l 4 ай бұрын
I had such a mistake and I fixed it right now. In fact, the problem is that the free subscription does not allow you to watch the daily forecast. if you erase all mentions of the daily forecast, the code will work
@midnight1337.
@midnight1337. 4 ай бұрын
​@@rahuldey5564 I was trying to troubleshoot why I'm getting 401 error while trying to call a response even when my api url worked just fine. I checked my API_KEY file and i had new line in there. Thank you, this saved me
@theblackariel5957
@theblackariel5957 2 ай бұрын
This code doesnt work as Open weather app no longer provides daily weather data for free.
@akshaykumardubey1258
@akshaykumardubey1258 7 ай бұрын
Hello @NeuralNine i am actually stuck at a point where it says KeyError at/ daily while calling daily from the forecast_url i have tried everything but i am not able to get the solution please can u explain how to do this
@raypamber
@raypamber 7 ай бұрын
you have to pay to use daily api.
@user-rn6sy6cz7e
@user-rn6sy6cz7e 8 ай бұрын
I get KeyError at / 'coord' any ideas how to fix it?
@Tidestomper
@Tidestomper 8 ай бұрын
same for me even thou I tried writing it my own way or copying it from github its still the same. KeyError at /weather_app/ "'coord' key not found in the current weather response."
@mohdtalha7323
@mohdtalha7323 8 ай бұрын
@user-rn6sy6cz7e @@Tidestomper did u guys solve it?? coz Im facing the same issue
@user-qw3is5eg5l
@user-qw3is5eg5l 4 ай бұрын
I had such a mistake and I fixed it right now. In fact, the problem is that the free subscription does not allow you to watch the daily forecast. if you erase all mentions of the daily forecast, the code will work
@btanemba
@btanemba 6 ай бұрын
Has anyone tried this code recently? I'm getting error.. Even copied everything still an Error
@BANIAAAAK
@BANIAAAAK Жыл бұрын
Dang too complicated for now, Need to level up on DJANGO first
@RonitPatel-un3rt
@RonitPatel-un3rt Жыл бұрын
I got received error code 401 with message invalid API key but i following the proper still i getting the same error can someone explain me why it is happened
@35lokeshmiriyala35
@35lokeshmiriyala35 Ай бұрын
Bro did you resolve the error
@ahoymatey1234
@ahoymatey1234 Жыл бұрын
I'm following the tutorial but when I get to the first time where we check the html rendering I see this below my input boxes "{% include 'weather_app/city_weather.html' with weather_data=weather_data1 daily_forecasts=daily_forecasts1 %} {% include 'weather_app/city_weather.html' with weather_data=weather_data2 daily_forecasts=daily_forecasts2 %}" Any idea why it's printing it like this instead of rendering the output? It looks like the css also doesn't load as well this has a 404
@ahoymatey1234
@ahoymatey1234 Жыл бұрын
I know what is wrong so if anyone else has an autoformatter like prettier somehow django gets messed up with this
@raphaelowono
@raphaelowono Жыл бұрын
I am getting KeyError type 'daily' for daily_data in forecast_response['daily'][:5]:
@cxleworld1900
@cxleworld1900 Жыл бұрын
any luck with this
@raphaelowono
@raphaelowono Жыл бұрын
No
@raphaelowono
@raphaelowono Жыл бұрын
I don't understand why there is an error
@RonitPatel-un3rt
@RonitPatel-un3rt Жыл бұрын
Invalid API keys error
@raphaelowono
@raphaelowono Жыл бұрын
​@@RonitPatel-un3rt am still getting the error I think the is no problem with my api key
@alistairmontgomery7300
@alistairmontgomery7300 6 ай бұрын
Im getting a key error, is it due to the API?
@alistairmontgomery7300
@alistairmontgomery7300 6 ай бұрын
I did some research and it is due to the API, the free plan you get no longer works for this
@Apurva828
@Apurva828 10 ай бұрын
Please resolve this KeyError type "daily"
@venkateshbonasi8687
@venkateshbonasi8687 7 ай бұрын
Have you solved it broo
@user-qw3is5eg5l
@user-qw3is5eg5l 4 ай бұрын
I had such a mistake and I fixed it right now. In fact, the problem is that the free subscription does not allow you to watch the daily forecast. if you erase all mentions of the daily forecast, the code will work
@theblackariel5957
@theblackariel5957 2 ай бұрын
@@user-qw3is5eg5l how do i do that?
@dpduy4625
@dpduy4625 9 ай бұрын
i managed to finish the project, i dont know how he able to do this project w a tons of short cut hahah, dm for more
@nelson9418
@nelson9418 9 ай бұрын
is what he showed no enough to finish the project?
@anitha12_8
@anitha12_8 Ай бұрын
not beginner friendly
@paldeflex
@paldeflex 2 ай бұрын
I spent 2 hours on code that doesn't work and you didn't even post anything about it in the comments @NeuralNine
@theblackariel5957
@theblackariel5957 2 ай бұрын
same here bro same, 1 day I spend on this.
ADVANCED Python AI Agent Tutorial - Using RAG
40:59
Tech With Tim
Рет қаралды 129 М.
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 6 МЛН
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 16 МЛН
Coding Web Crawler in Python with Scrapy
34:31
NeuralNine
Рет қаралды 105 М.
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 386 М.
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,5 МЛН
Learn Python With This ONE Project!
55:04
Tech With Tim
Рет қаралды 1,7 МЛН
How To Make Weather App Using JavaScript Step By Step Explained
41:59
Modern Python logging
21:32
mCoding
Рет қаралды 161 М.
Rust full stack web frameworks have a bright future
8:02
Code to the Moon
Рет қаралды 74 М.
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 5 МЛН
⚡️Супер БЫСТРАЯ Зарядка | Проверка
1:00
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 268 М.