Brian is best teacher I have ever witnessed in my lifetime... Nothing unnecessary, every single word he say has purpose to learn you topic in most efficient way possible..
@shubhamraj25 Жыл бұрын
then you havene't seen much teahers
@hashimsulaiman6003 Жыл бұрын
me to I have seen many teachers but Brian is different there is a way he connects one section to the other that makes you get a relationship and he explains had topics in avery simple and inteructive way that you visualise how everything comes about@@shubhamraj25
@Grimwood_4 жыл бұрын
I have never so easily sat through a 2 hour KZbin lecture as I have watching this! Amazingly displayed & taught. My CS teachers would always tell me Django is way too complicated and I'm shocked to see how high level and easy to grasp Django actually is!
@larjasoul3 жыл бұрын
I actually can't tell if Django is hard or not. This man explains topics so clearly; I'm convinced he could teach me Hebrew in 8 minutes.
@sitalsitoula65362 жыл бұрын
It's actually pretty basic stuff that he is teaching. That's why it feels easy.
@StevenSenjaya2 жыл бұрын
and here I am, still strugling even learning on these "easy" topics, especially the previous one about Django 😬
@tainarapalmeira45262 жыл бұрын
@@StevenSenjaya hey there, don't worry about it, just keep studying :)) you'll make it
@jancejose27162 жыл бұрын
@@StevenSenjaya Dear Bro , Teacher is a great man . Kindly Hear Each one 10 times . Then write Note . Then execute in computer . Try a new App
@ianblanc7793 Жыл бұрын
@@jancejose2716 10 is kinda crazy, 3 should be way enough
@preyankjain5494 Жыл бұрын
46:00 start of flights django project 49:52 models.py 53:00 python manage.py shell 56:21 string representation of model function 59:00 linking two models 1:07:00 index.html for loop using the models 1:12:08 creating admin acc in django 1:17:00 adding functions to manipulate data in views.py 1:23:00 adding if empty clause using django in an html file 1:28:00 getting particular data from POST request 1:32:00 dropdown list in html 1:33:56 exclude passengers from a query 1:38:13 configure admin page 1:41:00 add/manage users (login) 1:49:00 authenticate user with username and password 1:51:00 access username in html from django 1:52:39 logout
@alseynidiop86503 жыл бұрын
This course makes me shift from PHP to Django. This guys is a genius.
@Vhc7069 ай бұрын
Awesome lecture on a difficult topic! This is the type of video you have to watch over and over because it's so dense. He doesn't waste a single second.
@donteo31053 жыл бұрын
Brian is awesome, a precious gem in teaching profession, learn much from his teaching in one video which could take years... thanks Brian, hoping you can share more & help more people to acquire Tech Skills!
@hasrulmuhammad82713 жыл бұрын
Bsadersa. Klas ssuasaiii
@tinashe63833 жыл бұрын
brian is a naturally talented teacher he teaches great things in a short time
@Biikashkumar Жыл бұрын
What we need in this world is teacher like Brian and David who could articulate even the most complex languge and topic to a level that even the newborn could understand 😀. Thank you.
@SUBZERO8134 Жыл бұрын
i was afraid i couldnt understand a full course in english but brian has an easy pronunciation and teaching skill,terrific class
@NaifAlqahtani4 жыл бұрын
Despite my knowledge in SQL from cs50x, which saved me the first 55 minutes of the video, I still need to rewatch and practice everything past that in this week's lecture.
@MehediHasan-xd6rj6 ай бұрын
Their videos are well-directed and they know how to make complex topics as simple as possible, making them impossible to ignore. Thank you, Brian.
@udz264 жыл бұрын
This one hit hard. Edit: Yes, the lecture had too much info, but as you start working on 1st part of the project, everything after that feels natural and fun to work on.
@sumitrana16524 жыл бұрын
too much to digest in a single go xD
@innocence31584 жыл бұрын
damn I agree
@Wtizreal4 жыл бұрын
somtimes u gtta watch it a few times or watch it from a diff source.
@johndowney473 жыл бұрын
I took CS50 and this is an extension of that course
@thisisreallyme3130 Жыл бұрын
Remember that these lectures were accompanied by Homework ... the lecture just prepares you for that solitary task. Watch the lectures, then find the original assignments (or an approximation).
@syeda.k.29344 жыл бұрын
Brian teaches in 2 hrs what paid courses teach in 2 months
@shortcoder11903 жыл бұрын
True
@Paccman033 жыл бұрын
Very true
@johndowney473 жыл бұрын
This is true for all CS50 courses
@md.iftakhar74783 жыл бұрын
We can't compare a Harvard University course with other courses out there, can we?
@joshuaroehm56443 жыл бұрын
So true
@alanyang40194 жыл бұрын
Thank you Prof. David J. Malan and Brian.
@R0b3 Жыл бұрын
I've developed four application with Laravel Framwork, but now I've realized, this framework is amazing!!! I'm going to dev with this
@Degenerated00 Жыл бұрын
How's it going? How's it compared to Laravel?
@hashimsulaiman6003 Жыл бұрын
I have seen many teachers but Brian is different there is a way he connects one section to the other that makes you get a relationship and he explains had topics in avery simple and inteructive way that you visualise how everything comes about.with this course he has tought me what I have been struggling for six month in just hours.had I began with you I would be miles away Thanks Brian
@alburnto4 жыл бұрын
Holy sh-. This lecture made me more interested in Django than the previous one. The ORM blew my mind. Thanks!
@Programming-w7s Жыл бұрын
Викладач чудово пояснює тему. Рекомендую
@russelpeter28142 жыл бұрын
Amazing stuff, Brian. You made my Django learning experience so easy & smooth!
@thomasmoncrief26 Жыл бұрын
Brian goin full beast mode in this one.
@khanhduluong4355 Жыл бұрын
Brian and also David are good teachers. The CS50 include CS50x and CS50w are absolutely masterpiece!
@stacy37815 ай бұрын
Spot on. Brian really shines here! I know nothing about SQL, but I'm enjoying my time here. He makes a 2-hour lecture fly by so fast!
@VinaySharma-sm4dt4 жыл бұрын
Thank you CS50 for this amazing lecture.
@WaiSanLee2 жыл бұрын
These lectures are fantastic, but Brian is such a bloody fast typer that every time he gets to a section where he's coding I have to set the speed to 0.25 to try and code along, and even then he's faster than me!
@usmankraja2 жыл бұрын
At one time I thought he was faking the typing and it was being auto generated that's how fast his typing speed is 🤯
@anaveronicaaponte2 жыл бұрын
I have to pause the video every time so I can code along as well lol
@thomasmoncrief26 Жыл бұрын
For Brian it was a two-hour lecture. For me, it lasted eight hours.
@pra6in4 жыл бұрын
The information here is so dense .
@juliusriteco13553 ай бұрын
Thanks so much Brian! Really useful stuff & great way of communicating it to us. Super powerful! Must have been a lot of work behind it!
@DMxalava3 жыл бұрын
Thank you, Brian, Harvard, and whole Harvard CS50W crew!
@evachen862311 ай бұрын
Such a nice lecture, thank you Brian and the whole teaching team.
@Asdfdyutgfd Жыл бұрын
very well explained. prolly the best tutorial on youtube
@omar56953 жыл бұрын
Awesome! Thank you! I really love CS50W
@IntheBellyofaWhale Жыл бұрын
It was so good I exited fullscreen like 10 times because of the sudden urge to like the video
@billionairesbio3 жыл бұрын
Now i am getting somewhere since its a little confusing ... it was a awesome lecture, you sir brian 👌
@billionairesbio3 жыл бұрын
Now i understand 👍
@Ammarkoka3 жыл бұрын
I need brian yu the only teacher in my whole life amazing teaching skills man loved it 😍🔥💯
I would recommend taking cs50x before this. Lots of information in this video that assumes you know certain things about python and programming in general. I was able to get through only because of cs50 and the amount of time i put into my final project for cs50. Django seems to have alot more built-in features than Flask or i just don't know flask well enough to use all the features and modules that come with it.
@christian37ism2 жыл бұрын
Django's feature of writing sql commands for the user is such a time saver. Just to add a row of data to a table can be tedious. And of course Python's language is more simpler and easier to use for dealing with Django's database.
@innocence31584 жыл бұрын
The content that is being provided here is just unique
@abteyeb79692 жыл бұрын
high quallity of education from the best in internet
@clunkeys2 жыл бұрын
45:45 Race conditions - Transactions
@alainrouleau8 ай бұрын
Thanks for the lecture. Covered a lot of information, that's for sure. Django is definitely powerful. I like the admin interface, very convenient. I like how it connects to a SQLite database by default and abstracts away the SQL statements. But I can also see how beginners would get totally lost. I would classify the subject material as intermediate to advanced. You need a good foundation in SQL, Python and object-oriented programming to keep up.
@Daninshit3 жыл бұрын
Brian is on x2 mode. 🔥
@oyekanmibamidele61962 жыл бұрын
What a great guy you're!
@morisngeche9314 Жыл бұрын
Thanks Alot ,this is the best channel to learn from
@tamjidyetagain Жыл бұрын
1:25:00 booking a flight
@new32 ай бұрын
This is an excellent lecture! Thank you so much. I'm really looking forward to doing Project 2. One request for future lectures: please wait for a brief moment before switching to the full shot right after he finishes typing. His typing is so fast that I had to pause and rewind the video every time😁
@gagikkhalafyan8731 Жыл бұрын
Thank you! Absolutely stunning lecture.
@tornjak0962 жыл бұрын
at 39:51 I think he needs to include additional JOIN query where he needs to join people table also to be able to include data about first name etc...
@LouisHoskinson Жыл бұрын
yes I also think this is the case
@RomarioKurti288 ай бұрын
Why use plain HTML forms in this lecture instead of Django forms, like in the previous one? What is each one's advantage and disadvantage or their respective use cases?
@blackholesun49424 ай бұрын
Deleting the first database entry isnt optional. Not doing some crashes the later code. 01:15:41 there was a cut here. The flight from paris to new york was added off camera. I hope this wont break things
@jerichoserr1479 Жыл бұрын
OOP is strong in this one.
@skystar73504 жыл бұрын
wow, maybe must takes a time to practice this so I can remember this lecture
@joshuafranknjau24653 жыл бұрын
Great work, Brian Yu.
@sayori39392 жыл бұрын
WoW 😲😲😲 my brain trembles!
4 ай бұрын
I am not a student. I know these already very well. Still, watching him is a joy 😅 💯
@foreverl01 Жыл бұрын
Me listening to Brian: "This is a piece of cake" Me using Django: "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
@jaddadzakaria Жыл бұрын
Zakaria Jaddad was here, thanks to Mr Brain for this clear lecture🤍
@jamilovalisher68652 жыл бұрын
Brian you've started to grow on me
@theblackelephant3 жыл бұрын
Brain you are a genius
@haojunchen83813 жыл бұрын
absoultelly savior
@oruchkin4 жыл бұрын
1:15:22 there is TWO Flights, than you add 1 new Flight from Shanghai to Paris than you go on /flights/ page and we see FOUR flights - BUSTED (2+1=3) not four so it's all done not in one frame CS50 team, i appreciate your work here! You've done great material, i love it
@anaveronicaaponte2 жыл бұрын
Yeah I think this is the edited version of the live class
@alainrouleau8 ай бұрын
Yes, the video was definitely edited. If you watch closely you'll notice the discontinuity. Probably to save time? As he's just repeating the adding of flights into the database. Very keen eye though! Somebody was paying attention, lol.
@manutmustudent7274 жыл бұрын
he is freaking awesome ...................................
@patryk56542 ай бұрын
After watching last lesson with Django and doing pset I though that Django is really awesome. In this lesson I had problems understanding it fully. Im here after CS50P and this course feels much harder so far. I had problems with pset0 since I have no prior experience with HTML and CSS. Anyway very dense and good lecture, for me a little bit too fast pace, but it's introduction so I guess I will understand it more and get back to it while doing future psets
@w1llow013 жыл бұрын
I get this error when I click submit to add a passenger to the flight @ 01:36:31 TypeError at /flights/2/book Value after * must be an iterable, not int
@w1llow013 жыл бұрын
it was a typo in return HttpResponseRedirect(reverse("flight", args=[flight_id])) had to use args=[] not args=()
@anaveronicaaponte2 жыл бұрын
@@w1llow01 I think you can pass it as a list [] or as a tuple, but if you type just (flight_id), it takes it just as if it didn't have the parenthesis. You have to add a comma to make it a tuple, like (flight_id, ).
@sayori39392 жыл бұрын
After testing a bit i found out that __str__ method is how your admin page actually shows each row in a table!
@ASHUTOSHSHARMA-us6hd Жыл бұрын
🙂🌹thanks
@marzenah1233 жыл бұрын
Fantastic lecture. Thank you!
@sarmadrafique426 Жыл бұрын
This Lectures worth on 0.75x. Man he is too fast. Machine
@mattybadger13Ай бұрын
As much as I love these lessons, because he's using a MAC I have to constantly look up Windows or Linux variations of things. There are so many work arounds I have to do to get things to work. I guess problem solving is a huge part of coding though.
@sofiullah-iqbal-kiron3 жыл бұрын
Awesome Just 💚💚💚
@evone15833 жыл бұрын
1:40:20 (Timestamp)
@hamimsaadalraji8493 Жыл бұрын
at 1:03:19 i am having an error saying "Cannot assign "'jfk'": "Flight.origin" must be a "Airport" instance." Can anyone help?
@attiogbemaurice97548 ай бұрын
you have to deleteit from the database before you migrate. watch the video again, he did that at 57:49
@josemariarodriguez7845 Жыл бұрын
59:00 he defines a foreign key to the model airport, but not to a specific column of the table, this means that is foreign key to any matchig string (code or city) ?
@stewartnyaruwata988 Жыл бұрын
he is very good
@sunnie84603 жыл бұрын
1:30:25 Why the tuple here after `HttpResponseRedirect(reverse('flight', args=(flight.id, )))` there has to be a , after fight.id ? Without the , it showed error.
@charlielin1883 жыл бұрын
('a') is equivalent to 'a' in python. if there is no comma, python will think that u accidentally add a parentheses, so it will ignore the parentheses.
@koushikvss76383 жыл бұрын
@@charlielin188 Hey, my form is not redirecting me to the page nor is it adding passengers to the given flight, pls help me
@charlielin1883 жыл бұрын
@@koushikvss7638What is the code inside ur view?
@koushikvss76383 жыл бұрын
@@charlielin188 I made some changes to the code and now when I click the submit button, I get the same error page but when I reload flights/1, the passenger gets added. I will send the code in a few mins
@charlielin1883 жыл бұрын
@@koushikvss7638 What does the error page say?
@chiragmadaan32553 жыл бұрын
thankyou brian!
@smanojsha3441 Жыл бұрын
the commands is not working properly in windows.
@not_amanullah9 ай бұрын
thanks ❤
@Poubom Жыл бұрын
At 1:36:09 I am getting NoReverseMatch at /flights/1 Reverse for 'book' with arguments '(1,)' not found. 1 pattern(s) tried: ['flights/
@leanderdaniloramonperez4336 Жыл бұрын
it's just a typo in this part of urls.py, path("/book", views.book, name="book")
@imtoolazytothinkofaname71274 жыл бұрын
at 1:30:18, when he types args=(flight.id,) why is there a need for the comma after the flight.id?
@TheBluntxX4 жыл бұрын
Because "args" refers to the tuple. If you create tuple with one element only then you have to include the comma.
@abhinav10254 жыл бұрын
u must have got this error, Value after * must be an iterable, not int
@القيصرالكبير-ي9ذ3 жыл бұрын
This kid is miraculous
@warzonetroll79 Жыл бұрын
1:01:51: is he ok???
@nawafEalharbi2 жыл бұрын
What is the name of song it's so gerogus
@weizhishi32703 жыл бұрын
Many thanks
@pra6in4 жыл бұрын
At 55:02 while saving it says, a lot of lines...and " no such table :flights_flight".I have checked it and repeated it 10 times stilll..can anyone help.
@pra6in4 жыл бұрын
Don't worry ,I solved it myself.It was my mistake.
@max_codez Жыл бұрын
how does this man type so FAST amazin course tho fr
@frankpcodes10 ай бұрын
Bros prob been coding since he was 6
@wade369610 ай бұрын
I tried following along typing the code, but can't type as fast as Brian lol. Luckily he explains everything well.
@supercluster8472 жыл бұрын
Thanks from Ukraine!
@marlieemam2162 жыл бұрын
quality content as always from cs50!
@omeranbasuhai75773 жыл бұрын
when i write in my Trimina % touch flight.sql ....its tell me ('touch' is not recognized as an internal or external command, operable program or batch file.) how can help me please.
@nkimbasalim27153 жыл бұрын
same for me here. I used '.open C:/Users/Nkimba/OneDrive/Skrivbord/SQL/flights.db'. For your case use ' .open flight.db '
@batuhandemir23473 жыл бұрын
That's because you are using Windows Powershell terminal. "touch" command is a bash terminal command which is available in MacOS and Linux by default. Use this in Windows: ni flight.sql
@sayori39392 жыл бұрын
That's because in your system "touch" doesn't exist, if you're using windows i believe you can just use the "code flight.sql" or even make a new file with your mouse (name it properly) then edit as text
@joesilva35193 жыл бұрын
The lecture is really good. There is some artifacting on the video however.
@Wholiganu2 жыл бұрын
He didnt write anything in the urlpattterns of urls.py in flights, i get errors when migrating, how come he left the field empty and his migration worked?
@CenturionKZ4 жыл бұрын
20:30 By the old gods and the new, we beg you to provide us with these insert commands, I haven't found 'em in the source code archive nor in the slides file
@CenturionKZ4 жыл бұрын
Here you have them, my lords, I've typed them in the name of our king, Robert Baratheon: INSERT INTO flights (origin, destination, duration) VALUES ('Shanghai', 'Paris', 760); INSERT INTO flights (origin, destination, duration) VALUES ('Istanbul', 'Tokyo', 700); INSERT INTO flights (origin, destination, duration) VALUES ('New York', 'Paris', 435); INSERT INTO flights (origin, destination, duration) VALUES ('Moscow', 'Paris', 245); INSERT INTO flights (origin, destination, duration) VALUES ('Lima', 'New York', 415); INSERT INTO flights (origin, destination, duration) VALUES ('Kings Landing', 'Braavos', 120);
@Wtizreal4 жыл бұрын
@@CenturionKZ Robert Baratheon is dead but God lives forever
@ringtonesbyguessapps77374 жыл бұрын
@@Wtizreal it's your mercy, who killed Robert
@samikvanavasam56294 жыл бұрын
@@CenturionKZ I know that you already did it. But, if u download the source code and open it there is an SQL file called flights. It should open a notepad with all of the SQL queries they used in the lectures.
@CenturionKZ4 жыл бұрын
@@samikvanavasam5629 thank you! 😊👍🏼 Maybe they've added it later
@thanhhiennguyen82193 жыл бұрын
I'm stuck with this, can anyone help me with the lecture: Using the URLconf defined in airline.urls, Django tried these URL patterns, in this order: admin/ flights/ users/ [name='index'] users/ login [name='login'] users/ logout [name='logout'] The current path, users/login/, didn’t match any of these. I checked the settings & urls from airline already :
@Mizuh46 ай бұрын
The Flight Table keeps incrementing from the last highest id value. I tried “ALTER TABLE Flight AUTO_INCREMENT = 1;” on the dbshell but all I get is Parse Error.
@SaadHussain-op8ps7 ай бұрын
King
@danielmihajlovski9 ай бұрын
1:35:41 ImproperlyConfigured: URL route '' uses parameter name 'flight_id/book' which isn't a valid Python identifier. Solution?
@ntwananomazibuko7659 ай бұрын
Did you manage to get that sorted?
@attiogbemaurice97548 ай бұрын
@@ntwananomazibuko765 typo, this is the correct code. book. The position of ">"
@Jeongeungrandpa3 жыл бұрын
Damn, So Good
@jonathanlee81623 жыл бұрын
why is the href link at 1:24:09 Back to Flights and not Back to Flights
@anaveronicaaponte2 жыл бұрын
They redirect to the same page. I think it wasn't necessary to specify the name of the app because it was the only app available at the moment
@jonathanlee81622 жыл бұрын
@@anaveronicaaponte I found the answer, it's something else. Do you want me to tell you or do want to find out yourself?
@anaveronicaaponte2 жыл бұрын
@@jonathanlee8162 I'd like to know 😄
@sayori39392 жыл бұрын
@@anaveronicaaponte and then he never replies ._. but i believe it's because brian didn't define "app_name = "flighta" "