How To Update The Database - Python and Flask #9

How To Update The Database - Python and Flask #9

Codemy.com

4 года назад

24,597 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

SJ Wang
SJ Wang - 09.05.2023 18:31

Great content! Really helped me out getting the idea of how flask and database works. I like how you explained all the links between the py file and html template. Cleared my many doubts of what goes from where to where as a beginner..

Ответить
David Beiler
David Beiler - 20.02.2022 08:34

what if i want to remove a friend?

Ответить
Frank villa lobo
Frank villa lobo - 15.10.2021 06:04

Awesome video man, you saved my life

Ответить
utku elhan
utku elhan - 30.08.2021 16:57

Really appreciate all your videos they are great. It's awesome that you stop and explain everything you do and why. I only have one question I was trying to practice everything you've been through in this series and while I was practicing, I got an error so I tried to do everything as you did. Even though I did everything as you did I'm still getting "jinja2.exceptions.UndefinedError: 'friend_to_update' is undefined" error. Any ideas why? Thank you!

Ответить
ANKAN
ANKAN - 26.06.2021 09:07

Thank you soooooooooo...oo much. Your way of teaching is the simplest.

Ответить
William Powers
William Powers - 10.06.2021 06:56

Do you really code that fast? Your cursor moves so fast and you work so efficiently. Is that why you use sublime? Is it faster than vscode?

Ответить
IDK__ & __IDK
IDK__ & __IDK - 28.05.2021 20:28

I wnat to ask one thing How I can become like you. . GOD Of Python .. ( Some tip's) From your side ..

Ответить
MrSharkrat
MrSharkrat - 03.03.2021 11:57

great video, as always! I love it!
just a question: I try to get a boolean value in ma database, (ON= db.Column(db.Boolean , nullable = False, default = 0)) but i can't update it. I just get the error sqlalchemy.exc.StatementError: (builtins.TypeError) Not a boolean value: '1'. Did you know why?
thanks a lot John :)

Ответить
Jesus Loaiza
Jesus Loaiza - 30.01.2021 13:18

Hi John, thanks for your teaching enthusiasm!! Is refreshing and so great to enjoy your energy.
Would you care to explain a similar database update concept: bulk updates. Let's say from a list of items, those with a checkbox clicked would update the database column "show" to True. It would be greatly appreciated.

Ответить
Siji Oyenekan
Siji Oyenekan - 24.01.2021 20:34

what if you get a 400 error saying that the term 'name' was not understood, bad request

Ответить
Jacob P
Jacob P - 13.12.2020 01:46

Awesome teaching style. Wish there was more Flask related content from you! ^.^ Went through many tutorials but yours really helps grasp the concepts

Ответить
Akram Elomrani
Akram Elomrani - 20.10.2020 19:52

Thank you sir

Ответить
Boris D. Saavedra Rodríguez
Boris D. Saavedra Rodríguez - 24.05.2020 06:26

You are the best! I was trying to use the method "url_for" to submit the change (in other project) and I was getting frustrated. Thanks a lot for this nice and easy solutions! Greetings from Venezuela!

Ответить