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
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.
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
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
@@rahuldey7417 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
FYI daily is not included with the free package however if you are a student (honestly even if you arent you can email them and they get back to you very quickly with student access) you will have access to the 4 hour weather forecast which works with the same layout
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."
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
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
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
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
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
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.
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
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
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
I'm also getting the Daily error. Don't know how to fix that
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
@@МаксимЗарубин-у4в I am a garbage human being
@@МаксимЗарубин-у4в Thank you so much! I've been struggling to make the code work
@@МаксимЗарубин-у4в How to fix this mistake please explain because I also have the same problem.
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.
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
what if the user input something else..like not a city name,then it would show error. How do you takle this error
hey the onecall api is paid we aren't able to use it
KeyError at /
'coord' does anyone caught this error
did you resolve this error? thats what im getting as well
I'm also getting an error for 'coord' have you been able to find the solution?
your API_KEY has a newline character (
) remove it
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
@@rahuldey7417 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
I spent 2 hours on code that doesn't work and you didn't even post anything about it in the comments @NeuralNine
same here bro same, 1 day I spend on this.
What about the try and except?
FYI daily is not included with the free package however if you are a student (honestly even if you arent you can email them and they get back to you very quickly with student access) you will have access to the 4 hour weather forecast which works with the same layout
This code doesnt work as Open weather app no longer provides daily weather data for free.
I am getting KeyError type 'daily'
for daily_data in forecast_response['daily'][:5]:
any luck with this
No
I don't understand why there is an error
Invalid API keys error
@@RonitPatel-un3rt am still getting the error I think the is no problem with my api key
Thanks for this. Bring more Django tutorials, your explanation is stellar.
Thanks for the tutorial, it's very helpful.
I get
KeyError at /
'coord'
any ideas how to fix it?
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."
@user-rn6sy6cz7e @@Tidestomper did u guys solve it?? coz Im facing the same issue
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
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
you have to pay to use daily api.
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
Do you need Pycharm professional for this?
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
Please resolve this KeyError type "daily"
Have you solved it broo
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
@@МаксимЗарубин-у4в how do i do that?
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?
It's Jinja notations that implements raw code in html
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.
Does newyork works?
Im getting a key error, is it due to the API?
I did some research and it is due to the API, the free plan you get no longer works for this
Vielen Dank, es gibt einen Fehler wenn ich nur Stadt zwei eingebe. Was soll ich tun?
Has anyone tried this code recently? I'm getting error.. Even copied everything still an Error
Very Thanks.
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
Bro did you resolve the error
Dang too complicated for now, Need to level up on DJANGO first
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
is what he showed no enough to finish the project?
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
I know what is wrong so if anyone else has an autoformatter like prettier somehow django gets messed up with this
Cooool
not beginner friendly