Django Project: Build Weather App | From Scratch

preview_player
Показать описание
This is the first project where we use Django Web Framework to create a weather application.

The tutorial walks you through the whole process, shows you how API works and how to display images with other static files while rendering the HTML template for the main app.

Video Contents ✍️
-------------------------------
00:00 Introduction
06:43 Project Setup
14:23 Coding the main function
22:27 HTML & Django Template Language
27:30 CSRF
31:39 Make Migrations and Migrate
32:19 Run the App

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

Thank you for this video on showing how to use any open source API for buiding our own application.

keshavdk
Автор

Hey Bek! Much love from Moscow, thae first city your checked in the demo:) Great tutorial!

imnamedanton
Автор

thanks alot for this tutorial. you really gave a detailed explanation to things I`m having challenges with.

new-python-tutor
Автор

Great tutorial, thanks for your time and effort

izybvth
Автор

Loved the video❤️

There shows an error:-
The install worked successfully! Congratulations!
You are seeing this page because DEBUG=TRUE is in your settings file and you have not configured any urls



How can i fix this problem

RaySprk
Автор

very good explanation! Please make more of such django projects.

purvashukla
Автор

Great tutorial Bek, thanks for such interesting project :)

svetlana
Автор

Hey just encountered a problem, after running the runserver in terminal, I'm getting "The install worked successfully" and you're seeing this code because DEBUG=TRUE and not configured any URLs. What should I i do???

rajayjain
Автор

Sir, I have no errors but last 3 commands I use but they don't display any thing but move to another command like .
python manage. Py makemigrations
It goes to another command but don't show any modifications
The last three commands are goes to one another one, i am not get output in last please tell me what's my mistake on that

kaleshabellamkonda
Автор

`MultiValueDictKeyError` this is the error I'm facing with the line `city = request.POST['city']` in views.py file. Please help me fix this.

akshayyelle
Автор

in the STATICFILES_DIRS setting does not exist.

showing this error
what should i do

md.uwaish
Автор

Everything is fine except as it is typed in the city of New York. The url is missing "_" whitespace. How to deal with this?

yesmanyesman
Автор

When I finished writing of the code as you did, I ran the server but only pop up "congratulation, it is successful. It did not display where I can test the app by entering different location as you did in the tutorial. Please what is the problem

adeoluwaadeleke
Автор

for me ccd input in terminal doesn't work
It says there's no path

arjunhari
Автор

What about cities with a whitespace in its names, e.g. New York? How to handle it?
btw great and interesting tutorial :) congrats

mateuszklos
Автор

hej buddy, can u help me with that error?
what should i do?
urllib.error.URLError: <urlopen error [WinError 10060] The attempt to establish a connection was unsuccessful, because the desired response was not received from another computer in the required time
, or an already established connection was terminated due to an incorrect response from an already connected computer>
[19/Jul/2024 19:31:25] "POST / HTTP/1.1"

McClean
Автор

what if the user input something else or misspells the city name, the it would probably throw an error right??
How do you tackle such error
PLEASE HELP

utkarshpatil
Автор

Can we use any frontend framework with django ? Thanks Bek for great walkthrough

lauranalo
Автор

Very nice tutorial, thank you! If you would need to pick up one for everything what would be your choice: Express, Flask, Pyramid or Django? Thank you

vladimirrumyantsev
Автор

Sir its showing a error - No module named WeatherApp how can i resolve this?

anshgupta