CS50W - Lecture 4 - SQL, Models and Migrations

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 พ.ย. 2024

ความคิดเห็น • 274

  • @larjasoul
    @larjasoul 3 ปีที่แล้ว +155

    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.

    • @sitalsitoula6536
      @sitalsitoula6536 2 ปีที่แล้ว +6

      It's actually pretty basic stuff that he is teaching. That's why it feels easy.

    • @StevenSenjaya
      @StevenSenjaya ปีที่แล้ว +5

      and here I am, still strugling even learning on these "easy" topics, especially the previous one about Django 😬

    • @tainarapalmeira4526
      @tainarapalmeira4526 ปีที่แล้ว +6

      @@StevenSenjaya hey there, don't worry about it, just keep studying :)) you'll make it

    • @jancejose2716
      @jancejose2716 ปีที่แล้ว +7

      @@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
      @ianblanc7793 ปีที่แล้ว

      @@jancejose2716 10 is kinda crazy, 3 should be way enough

  • @duska3529
    @duska3529 2 ปีที่แล้ว +41

    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
      @shubhamraj25 ปีที่แล้ว +1

      then you havene't seen much teahers

    • @hashimsulaiman6003
      @hashimsulaiman6003 10 หลายเดือนก่อน

      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_
    @Grimwood_ 3 ปีที่แล้ว +95

    I have never so easily sat through a 2 hour TH-cam 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!

  • @alseynidiop8650
    @alseynidiop8650 3 ปีที่แล้ว +26

    This course makes me shift from PHP to Django.
    This guys is a genius.

  • @preyankjain5494
    @preyankjain5494 ปีที่แล้ว +22

    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

  • @tinashe6383
    @tinashe6383 3 ปีที่แล้ว +25

    brian is a naturally talented teacher he teaches great things in a short time

  • @udz26
    @udz26 4 ปีที่แล้ว +79

    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.

    • @sumitrana1652
      @sumitrana1652 4 ปีที่แล้ว +16

      too much to digest in a single go xD

    • @innocence3158
      @innocence3158 4 ปีที่แล้ว +6

      damn I agree

    • @Wtizreal
      @Wtizreal 4 ปีที่แล้ว +13

      somtimes u gtta watch it a few times or watch it from a diff source.

    • @johndowney47
      @johndowney47 3 ปีที่แล้ว +1

      I took CS50 and this is an extension of that course

    • @thisisreallyme3130
      @thisisreallyme3130 ปีที่แล้ว +1

      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).

  • @Biikashkumar
    @Biikashkumar ปีที่แล้ว +4

    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.

  • @Vhc706
    @Vhc706 7 หลายเดือนก่อน +3

    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.

  • @donteo3105
    @donteo3105 3 ปีที่แล้ว +35

    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!

  • @SUBZERO8134
    @SUBZERO8134 ปีที่แล้ว +5

    i was afraid i couldnt understand a full course in english but brian has an easy pronunciation and teaching skill,terrific class

  • @thomasmoncrief26
    @thomasmoncrief26 ปีที่แล้ว +5

    Brian goin full beast mode in this one.

    • @khanhduluong4355
      @khanhduluong4355 ปีที่แล้ว +1

      Brian and also David are good teachers. The CS50 include CS50x and CS50w are absolutely masterpiece!

    • @stacy3781
      @stacy3781 3 หลายเดือนก่อน

      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!

  • @MehediHasan-xd6rj
    @MehediHasan-xd6rj 4 หลายเดือนก่อน

    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.

  • @syeda.k.2934
    @syeda.k.2934 3 ปีที่แล้ว +292

    Brian teaches in 2 hrs what paid courses teach in 2 months

    • @shortcoder1190
      @shortcoder1190 3 ปีที่แล้ว +5

      True

    • @Paccman03
      @Paccman03 3 ปีที่แล้ว +2

      Very true

    • @johndowney47
      @johndowney47 3 ปีที่แล้ว +15

      This is true for all CS50 courses

    • @md.iftakhar7478
      @md.iftakhar7478 3 ปีที่แล้ว +9

      We can't compare a Harvard University course with other courses out there, can we?

    • @joshuaroehm5644
      @joshuaroehm5644 3 ปีที่แล้ว +1

      So true

  • @NaifAlqahtani
    @NaifAlqahtani 3 ปีที่แล้ว +29

    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.

  • @hashimsulaiman6003
    @hashimsulaiman6003 10 หลายเดือนก่อน

    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

  • @R0b3
    @R0b3 ปีที่แล้ว +3

    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
      @Degenerated00 9 หลายเดือนก่อน

      How's it going? How's it compared to Laravel?

  • @WaiSanLee
    @WaiSanLee 2 ปีที่แล้ว +19

    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!

    • @usmankraja
      @usmankraja 2 ปีที่แล้ว +4

      At one time I thought he was faking the typing and it was being auto generated that's how fast his typing speed is 🤯

    • @anaveronicaaponte
      @anaveronicaaponte 2 ปีที่แล้ว +4

      I have to pause the video every time so I can code along as well lol

    • @thomasmoncrief26
      @thomasmoncrief26 ปีที่แล้ว +2

      For Brian it was a two-hour lecture. For me, it lasted eight hours.

  • @alanyang4019
    @alanyang4019 3 ปีที่แล้ว +6

    Thank you Prof. David J. Malan and Brian.

  • @alburnto
    @alburnto 3 ปีที่แล้ว +5

    Holy sh-. This lecture made me more interested in Django than the previous one. The ORM blew my mind. Thanks!

  • @juliusriteco1355
    @juliusriteco1355 หลายเดือนก่อน

    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!

  • @russelpeter2814
    @russelpeter2814 2 ปีที่แล้ว +2

    Amazing stuff, Brian. You made my Django learning experience so easy & smooth!

  • @axumitedessalegn3549
    @axumitedessalegn3549 ปีที่แล้ว +1

    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.

  • @VinaySharma-sm4dt
    @VinaySharma-sm4dt 3 ปีที่แล้ว +6

    Thank you CS50 for this amazing lecture.

  • @pra6in
    @pra6in 4 ปีที่แล้ว +6

    The information here is so dense .

  • @Ammarkoka
    @Ammarkoka 3 ปีที่แล้ว +4

    I need brian yu the only teacher in my whole life amazing teaching skills man loved it 😍🔥💯

  • @evachen8623
    @evachen8623 9 หลายเดือนก่อน

    Such a nice lecture, thank you Brian and the whole teaching team.

  • @DMxalava
    @DMxalava 3 ปีที่แล้ว +2

    Thank you, Brian, Harvard, and whole Harvard CS50W crew!

  • @Programming-w7s
    @Programming-w7s ปีที่แล้ว

    Викладач чудово пояснює тему. Рекомендую

  • @billionairesbio
    @billionairesbio 2 ปีที่แล้ว +7

    Now i am getting somewhere since its a little confusing ... it was a awesome lecture, you sir brian 👌

  • @IntheBellyofaWhale
    @IntheBellyofaWhale ปีที่แล้ว

    It was so good I exited fullscreen like 10 times because of the sudden urge to like the video

  • @innocence3158
    @innocence3158 4 ปีที่แล้ว +4

    The content that is being provided here is just unique

  • @abdounet8194
    @abdounet8194 4 หลายเดือนก่อน

    Best coding tuto a ever watch

  •  หลายเดือนก่อน

    I am not a student. I know these already very well. Still, watching him is a joy 😅 💯

  • @christian37ism
    @christian37ism 2 ปีที่แล้ว +4

    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.

  • @abteyeb7969
    @abteyeb7969 2 ปีที่แล้ว

    high quallity of education from the best in internet

  • @yashwani8155
    @yashwani8155 ปีที่แล้ว +1

    very well explained. prolly the best tutorial on youtube

  • @alainrouleau
    @alainrouleau 6 หลายเดือนก่อน

    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.

  • @jaddadzakaria
    @jaddadzakaria ปีที่แล้ว

    Zakaria Jaddad was here, thanks to Mr Brain for this clear lecture🤍

  • @omar5695
    @omar5695 3 ปีที่แล้ว +4

    Awesome! Thank you! I really love CS50W

  • @s28177
    @s28177 3 ปีที่แล้ว +1

    Love this energy. Thank you, Brian!

  • @shuvaaashish1952
    @shuvaaashish1952 26 วันที่ผ่านมา +1

    brian is born different

  • @patryk5654
    @patryk5654 19 วันที่ผ่านมา

    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

  • @blackholesun4942
    @blackholesun4942 2 หลายเดือนก่อน

    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

  • @Daninshit
    @Daninshit 3 ปีที่แล้ว +2

    Brian is on x2 mode. 🔥

  • @morisngeche9314
    @morisngeche9314 ปีที่แล้ว

    Thanks Alot ,this is the best channel to learn from

  • @sarmadrafique426
    @sarmadrafique426 ปีที่แล้ว +1

    This Lectures worth on 0.75x. Man he is too fast. Machine

  • @muzammilomarzoy6616
    @muzammilomarzoy6616 11 หลายเดือนก่อน +1

    00:30:16 - Joining Tables

  • @joshuafranknjau2465
    @joshuafranknjau2465 3 ปีที่แล้ว

    Great work, Brian Yu.

  • @gagikkhalafyan8731
    @gagikkhalafyan8731 11 หลายเดือนก่อน

    Thank you! Absolutely stunning lecture.

  • @oyekanmibamidele6196
    @oyekanmibamidele6196 2 ปีที่แล้ว +1

    What a great guy you're!

  • @skystar7350
    @skystar7350 3 ปีที่แล้ว +3

    wow, maybe must takes a time to practice this so I can remember this lecture

  • @jamilovalisher6865
    @jamilovalisher6865 2 ปีที่แล้ว

    Brian you've started to grow on me

  • @GCKteamKrispy
    @GCKteamKrispy ปีที่แล้ว +2

    17:50 - create SQLite database
    47:36 - Django airlines app

  • @sayori3939
    @sayori3939 2 ปีที่แล้ว +3

    After testing a bit i found out that __str__ method is how your admin page actually shows each row in a table!

  • @tornjak096
    @tornjak096 ปีที่แล้ว +2

    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
      @LouisHoskinson ปีที่แล้ว

      yes I also think this is the case

  • @theblackelephant
    @theblackelephant 3 ปีที่แล้ว

    Brain you are a genius

  • @jerichoserr1479
    @jerichoserr1479 ปีที่แล้ว +1

    OOP is strong in this one.

  • @RomarioKurti28
    @RomarioKurti28 6 หลายเดือนก่อน +1

    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?

  • @wade3696
    @wade3696 8 หลายเดือนก่อน

    I tried following along typing the code, but can't type as fast as Brian lol. Luckily he explains everything well.

  • @tamjidyetagain
    @tamjidyetagain ปีที่แล้ว +1

    1:25:00 booking a flight

  • @haojunchen8381
    @haojunchen8381 2 ปีที่แล้ว

    absoultelly savior

  • @oruchkin
    @oruchkin 3 ปีที่แล้ว +1

    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

    • @anaveronicaaponte
      @anaveronicaaponte 2 ปีที่แล้ว +2

      Yeah I think this is the edited version of the live class

    • @alainrouleau
      @alainrouleau 6 หลายเดือนก่อน

      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.

  • @clunkeys
    @clunkeys 2 ปีที่แล้ว +2

    45:45 Race conditions - Transactions

  • @Mizuh4
    @Mizuh4 4 หลายเดือนก่อน

    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.

  • @stewartnyaruwata988
    @stewartnyaruwata988 ปีที่แล้ว

    he is very good

  • @القيصرالكبير-ي9ذ
    @القيصرالكبير-ي9ذ 3 ปีที่แล้ว

    This kid is miraculous

  • @thanhhiennguyen8219
    @thanhhiennguyen8219 3 ปีที่แล้ว +2

    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 :

  • @supercluster847
    @supercluster847 2 ปีที่แล้ว

    Thanks from Ukraine!

  • @sayori3939
    @sayori3939 2 ปีที่แล้ว

    WoW 😲😲😲 my brain trembles!

  • @w1llow01
    @w1llow01 3 ปีที่แล้ว +4

    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

    • @w1llow01
      @w1llow01 3 ปีที่แล้ว +2

      it was a typo in return HttpResponseRedirect(reverse("flight", args=[flight_id])) had to use args=[] not args=()

    • @anaveronicaaponte
      @anaveronicaaponte 2 ปีที่แล้ว +1

      @@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, ).

  • @smanojsha3441
    @smanojsha3441 ปีที่แล้ว +1

    the commands is not working properly in windows.

  • @manutmustudent727
    @manutmustudent727 3 ปีที่แล้ว

    he is freaking awesome ...................................

  • @evone1583
    @evone1583 3 ปีที่แล้ว +1

    1:40:20 (Timestamp)

  • @Poubom
    @Poubom ปีที่แล้ว +1

    At 1:36:09 I am getting NoReverseMatch at /flights/1 Reverse for 'book' with arguments '(1,)' not found. 1 pattern(s) tried: ['flights/

  • @marzenah123
    @marzenah123 3 ปีที่แล้ว

    Fantastic lecture. Thank you!

  • @Wholiganu
    @Wholiganu 2 ปีที่แล้ว +1

    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?

  • @danielmihajlovski
    @danielmihajlovski 7 หลายเดือนก่อน

    1:35:41
    ImproperlyConfigured: URL route '' uses parameter name 'flight_id/book' which isn't a valid Python identifier.
    Solution?

    • @ntwananomazibuko765
      @ntwananomazibuko765 6 หลายเดือนก่อน

      Did you manage to get that sorted?

    • @attiogbemaurice9754
      @attiogbemaurice9754 6 หลายเดือนก่อน +1

      @@ntwananomazibuko765 typo, this is the correct code. book. The position of ">"

  • @hamimsaadalraji8493
    @hamimsaadalraji8493 ปีที่แล้ว +1

    at 1:03:19 i am having an error saying "Cannot assign "'jfk'": "Flight.origin" must be a "Airport" instance." Can anyone help?

    • @attiogbemaurice9754
      @attiogbemaurice9754 6 หลายเดือนก่อน

      you have to deleteit from the database before you migrate. watch the video again, he did that at 57:49

  • @omeranbasuhai7577
    @omeranbasuhai7577 3 ปีที่แล้ว +2

    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.

    • @nkimbasalim2715
      @nkimbasalim2715 3 ปีที่แล้ว

      same for me here. I used '.open C:/Users/Nkimba/OneDrive/Skrivbord/SQL/flights.db'. For your case use ' .open flight.db '

    • @batuhandemir2347
      @batuhandemir2347 3 ปีที่แล้ว

      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

    • @sayori3939
      @sayori3939 2 ปีที่แล้ว

      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

  • @marlieemam216
    @marlieemam216 2 ปีที่แล้ว

    quality content as always from cs50!

  • @max_codez
    @max_codez ปีที่แล้ว

    how does this man type so FAST
    amazin course tho fr

    • @frankpcodes
      @frankpcodes 8 หลายเดือนก่อน

      Bros prob been coding since he was 6

  • @chiragmadaan3255
    @chiragmadaan3255 3 ปีที่แล้ว

    thankyou brian!

  • @nawafEalharbi
    @nawafEalharbi 2 ปีที่แล้ว +1

    What is the name of song it's so gerogus

  • @foreverl01
    @foreverl01 ปีที่แล้ว +1

    Me listening to Brian: "This is a piece of cake"
    Me using Django: "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"

  • @joesilva3519
    @joesilva3519 3 ปีที่แล้ว +1

    The lecture is really good. There is some artifacting on the video however.

  • @Rohit-ed7ou
    @Rohit-ed7ou 3 ปีที่แล้ว

    I have an question, that when I'm trying to run sqllite in terminal(vs code , windows) it shows sqlite is not recognised as an internal or external command so how to fix it ?

  • @pra6in
    @pra6in 4 ปีที่แล้ว +2

    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.

    • @pra6in
      @pra6in 4 ปีที่แล้ว +2

      Don't worry ,I solved it myself.It was my mistake.

  • @weizhishi3270
    @weizhishi3270 3 ปีที่แล้ว

    Many thanks

  • @sofiullahiqbalkiron6818
    @sofiullahiqbalkiron6818 3 ปีที่แล้ว

    Awesome Just 💚💚💚

  • @alexcampbell-black8543
    @alexcampbell-black8543 6 หลายเดือนก่อน

    On Windows use single quotes for the SQLite queries otherwise it won't work

  • @MaheshKumar-bg5re
    @MaheshKumar-bg5re 7 หลายเดือนก่อน +1

    How does he type so fast? SELECT(capital) * FROM(captial) flights(suddenly lowercase letters); Everything in a fraction of second/...

  • @sunnie8460
    @sunnie8460 3 ปีที่แล้ว +2

    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.

    • @charlielin188
      @charlielin188 3 ปีที่แล้ว +1

      ('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.

    • @koushikvss7638
      @koushikvss7638 3 ปีที่แล้ว

      @@charlielin188 Hey, my form is not redirecting me to the page nor is it adding passengers to the given flight, pls help me

    • @charlielin188
      @charlielin188 3 ปีที่แล้ว

      @@koushikvss7638What is the code inside ur view?

    • @koushikvss7638
      @koushikvss7638 3 ปีที่แล้ว

      @@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

    • @charlielin188
      @charlielin188 3 ปีที่แล้ว

      @@koushikvss7638 What does the error page say?

  • @not_amanullah
    @not_amanullah 7 หลายเดือนก่อน

    thanks ❤

  • @josemariarodriguez7845
    @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) ?

  • @sandro235
    @sandro235 2 ปีที่แล้ว

    I created superuser but can not login with correct password and user, it says "Please enter the correct username and password for a staff account. Note that both fields may be case-sensitive."
    Please somebody help me. Thanks in advance.

  • @imtoolazytothinkofaname7127
    @imtoolazytothinkofaname7127 4 ปีที่แล้ว +6

    at 1:30:18, when he types args=(flight.id,) why is there a need for the comma after the flight.id?

    • @TheBluntxX
      @TheBluntxX 4 ปีที่แล้ว +8

      Because "args" refers to the tuple. If you create tuple with one element only then you have to include the comma.

    • @abhinav1025
      @abhinav1025 4 ปีที่แล้ว

      u must have got this error, Value after * must be an iterable, not int

  • @shaund34
    @shaund34 3 ปีที่แล้ว +3

    I feel I'm in Harvard University.

  • @Ryokans
    @Ryokans ปีที่แล้ว

    why you made the file .sql instead of .db?

  • @SaadHussain-op8ps
    @SaadHussain-op8ps 4 หลายเดือนก่อน

    King