Getting Started With Flask-SQLAlchemy

  Рет қаралды 90,922

Pretty Printed

Pretty Printed

Күн бұрын

Пікірлер: 80
@prettyprinted
@prettyprinted 4 жыл бұрын
Join my free course on the basics of Flask-SQLAlchemy: prettyprinted.com/flasksql
@slhermit
@slhermit 4 жыл бұрын
Great teaching
@anneest
@anneest 5 жыл бұрын
Thank you Anthony for another great introduction video!
@JohnnyGrateful
@JohnnyGrateful 4 жыл бұрын
Amazing content. Straight to the point and super clear. Thank you!
@iaashu98
@iaashu98 5 жыл бұрын
Thank you so much. You just saved me. Thank you many times. Love from India. Guruji 🙏
@caba3760
@caba3760 4 жыл бұрын
Nice! Thanks for the video. I also like it when there is a macro explanation, lets say using boxes and arrows, so that one understands the relation between flask, python, database, etc.
@leandrolopesleal26
@leandrolopesleal26 4 жыл бұрын
Thank tou from Brazil!!!
@zael7848
@zael7848 5 жыл бұрын
The book i just bought isn't good explaining this part, but your video make it simple and interesting, thanks for the help.
@xz7525
@xz7525 4 жыл бұрын
The Grinberg book? I'm in the same boat...
@zael7848
@zael7848 4 жыл бұрын
@@xz7525 yes, the same book my random friend.
@miosz952
@miosz952 4 жыл бұрын
Hey! Great introduction tutorial, I'll definetly check full course. I have one question, what I should install to use sqlite3 commend in terminal?
@ismet1111
@ismet1111 4 жыл бұрын
Don't have to install sqllite3. It is a built in package for python
@tymothylim6550
@tymothylim6550 3 жыл бұрын
Thank you very much for this video! This video was really clear and helpful :)
@DanielMCorrea1
@DanielMCorrea1 4 жыл бұрын
Thanks a lot, your content was very helpful.
@Zero2222-z4u
@Zero2222-z4u 2 жыл бұрын
If somebody is having "RuntimeError: Working outside of application context." when trying to create the database I repaired it by doing: from app import app, db app.app_context().push() db.create_all()
@davidbierman5717
@davidbierman5717 2 жыл бұрын
Thank you
@aditya_shekhar
@aditya_shekhar 4 жыл бұрын
What are the extensions used in VSCode?
@OrientalMelodies2010
@OrientalMelodies2010 4 жыл бұрын
Awesome as usual!! Thanks a lot!
@avisekssarma5592
@avisekssarma5592 4 жыл бұрын
Thank you as always.
@rakkaalhazimi3672
@rakkaalhazimi3672 4 жыл бұрын
Good tutorial, I will consider watching ur course later
@meomeoaja1822
@meomeoaja1822 5 жыл бұрын
謝謝分享, 非常棒的影片. thank you for sharing the awesome video. ---student from Taiwan
@prettyprinted
@prettyprinted 5 жыл бұрын
You're welcome! Thanks for watching.
@sashastage5567
@sashastage5567 4 жыл бұрын
thank you!!
@JoeWong81
@JoeWong81 5 жыл бұрын
Thanks for the tutorial bro
@walidanon2372
@walidanon2372 5 жыл бұрын
thats great job!! thank you...
@elenaperez6327
@elenaperez6327 3 жыл бұрын
Great tutorial thanks! Can you tell me how I would go about inserting an image into the database please?
@theenthucoder1096
@theenthucoder1096 4 жыл бұрын
Hi Anthony, Could you make a video on how to deploy the flask-sqlalchemy code with multiple requests into Azure?
@rangabharath4253
@rangabharath4253 5 жыл бұрын
Awesome as always 👍😀
@prettyprinted
@prettyprinted 5 жыл бұрын
Thanks for watching!
@mahiansari1863
@mahiansari1863 4 жыл бұрын
Thank you very much...it was very helpfull
@annujolly3024
@annujolly3024 4 жыл бұрын
Great video
@hellokitty-k9z6d
@hellokitty-k9z6d 5 жыл бұрын
is there a video explaining the working of a python project tree, especially flask?
@michaelsindile654
@michaelsindile654 3 жыл бұрын
Do you perhaps have a course that covers flask admin
@Stenominator
@Stenominator 4 жыл бұрын
Thanks man. Great videos. Just... this video is no. 25 on your playlist, and it is about getting started... :D
@l.l.l.management2149
@l.l.l.management2149 4 жыл бұрын
Thank you for your tutorial video! from Japan.
@prettyprinted
@prettyprinted 4 жыл бұрын
You're welcome!
@buuqmarabo2778
@buuqmarabo2778 5 жыл бұрын
thanks for your help.
@prettyprinted
@prettyprinted 5 жыл бұрын
You're welcome!
@naheliegend5222
@naheliegend5222 4 жыл бұрын
Hey, I have a question: How do you learn the fancy terminal stuff? I stillt don't know what happens when I am putting "python" in the terminal :D
@hannibalbra2808
@hannibalbra2808 2 жыл бұрын
Hello can i connect to exist database
@vvkkumar3691
@vvkkumar3691 4 жыл бұрын
Can we issue multiple query with single session object ?
@bonaoenchelcha
@bonaoenchelcha 5 жыл бұрын
thanks for subtitles XD
@imlautaro123
@imlautaro123 4 жыл бұрын
Great video
@michal.nalevanko
@michal.nalevanko 5 жыл бұрын
Thanks for the video! One question, though. Why didn't you use the string keyword when defining the routes, like app.route(/)?
@prettyprinted
@prettyprinted 5 жыл бұрын
String is the default option, so nothing changes if you omit it. Although it can be a good idea in real apps to make things more explicit.
@ramyattalla7168
@ramyattalla7168 4 жыл бұрын
I can't create the database for some reason. When i write from app import db i get: from: can't read /var/mail/app What does that mean?
@asmaarshad7695
@asmaarshad7695 4 жыл бұрын
AOA sir mera 1 error a raha h yah wala ModuleNotFoundError: No module named 'flask_sqlalchemy' m n exactly asy hi kiya h jasa ap n vikdeo m kerwaya h . mera error kasy resolve ho g kindly plz bata dy
@henryboey6918
@henryboey6918 4 жыл бұрын
PLEASE HELP I HAVE UNRESOLVE ATTRIBUTE REFERENCE 'COLUMN' . I DID ALL THE CONFIGURATIONS BUT STILL THE SAME
@sanjjushrivarshiniraids1610
@sanjjushrivarshiniraids1610 3 жыл бұрын
i am not able to create db file with this procedure
@heral15
@heral15 4 жыл бұрын
Hi, i am developping a project. In my project it says that User has no attribute "query" when i do User.query.all(). Do you know why ? i don't know if the problem is some import
@prakashsrinivasan3734
@prakashsrinivasan3734 3 жыл бұрын
sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) datatype mismatch [SQL: INSERT INTO user (name, email) VALUES (?, ?)] [parameters: ('abc', 'jsadhfh')] Can I know why am I getting this error ? I have tried googling on this and was unable to find the reason behind it. Thanks in advance .
@Raldenaldrin
@Raldenaldrin 2 жыл бұрын
How can you print the word "California"? You didn't typed the word California
@albredka2720
@albredka2720 4 жыл бұрын
great!
@petefritz5679
@petefritz5679 5 жыл бұрын
Regarding the date created value, will it change if I update a row? For example suppose Zack moves from Sydney to Perth and the table gets updated will the date created value automatically change?
@prettyprinted
@prettyprinted 5 жыл бұрын
No, the date created value won't update automatically unless you write code to do that. If you should be able to use 'onupdate' inside of your column definition to set the date each time the model updates.
@petefritz5679
@petefritz5679 5 жыл бұрын
@@prettyprinted Thanks
@med6402
@med6402 4 жыл бұрын
can you please give me a hint on how to update data automatically shown in a webpage from a database without refreshing the hole page
@lucasino20
@lucasino20 4 жыл бұрын
if __name__ == '__main__' : app.run(debug = True)
@hbrahmbhatt3369
@hbrahmbhatt3369 4 жыл бұрын
Hii sir my db which is myphpadmin is not getting from MySQL uri so what I can do
@brianfiszman3179
@brianfiszman3179 5 жыл бұрын
Why do everyone in these tutorials show the models stuffed in the app.py? I'm looking everywhere how to do it in separate files like a normal MVC project. Am I missing something?
@prettyprinted
@prettyprinted 5 жыл бұрын
It's not always worth it to set up a complete file structure for a simple exist. Check out my recent full app videos like the Q&A app in Flask. It might have the folder structure you want, and I include a code link in the video as well.
@kanishk9490
@kanishk9490 3 жыл бұрын
Why didn't I find your channel earlier
@nostergenesis3081
@nostergenesis3081 5 жыл бұрын
Your videos are not in order, can u please give their order details.....Getting Started with Flask SqlAlchemy is the 19th video...It should be the first.....PS : THANKS IN ADVANCE
@elizabethmathew3400
@elizabethmathew3400 4 жыл бұрын
I am getting no module named app error..why?
@adeki340
@adeki340 4 жыл бұрын
Replace 'app' with the name of your .py file. My python file was named main.py so i had to type 'from main import db'
@ronaldronald8819
@ronaldronald8819 5 жыл бұрын
Hi. Great tutorial. Thanks! Had some issue with linting members SQLAlchemy not recognised erros with db.Column, etc stackoverflow.com/questions/53975234/instance-of-sqlalchemy-has-no-column-member What linter are you using?
@jacobward7361
@jacobward7361 4 жыл бұрын
this fixed it for me stackoverflow.com/a/61155831/7274182
@ChupoCro
@ChupoCro 3 жыл бұрын
Doesn't work with Python 2.7 because *pylint-flask-sqlalchemy* works only with Python 3.x
@one_lettersandnumbers
@one_lettersandnumbers 5 жыл бұрын
How do you add an index to a column of a table with Flask-SQLAlchemy?
@prettyprinted
@prettyprinted 5 жыл бұрын
You can just add the index=True parameter to the column when you create it.
@kumarmrinal1992
@kumarmrinal1992 4 жыл бұрын
How to use Flask_SqlAlchemy in blueprints
@dennisasamoah2213
@dennisasamoah2213 4 жыл бұрын
great
@aqeeljabbar7404
@aqeeljabbar7404 4 жыл бұрын
nice
@fletcherlarue3440
@fletcherlarue3440 4 жыл бұрын
Maybe it's obvious, by does just sqlalchemy not work with flask? Why use flask-sqlalchemy?
@riverscuomo
@riverscuomo 5 жыл бұрын
How To Download & Install SQLite Tools www.sqlitetutorial.net/download-install-sqlite/ Adding sqlite to PATH on Windows: stackoverflow.com/questions/9546324/adding-directory-to-path-environment-variable-in-windows
@zolongOne
@zolongOne 5 жыл бұрын
Flask is easier to learn than django
@xn4pl
@xn4pl 5 жыл бұрын
I think that even though Flask is easier to learn, Djando lets you do more complex stuff much more easier than in Flask, if you put your time to learn it.
@RizwanAli-ki3bx
@RizwanAli-ki3bx 4 жыл бұрын
if I delete some record from the database they are still showing in API call even records not exists in the database, but if I refresh or restart the server then it shows no record, Can you please help me?
Use Flask-SQLAlchemy With Existing Database With Reflect and Automap
9:59
How to Use Flask-SQLAlchemy With Flask Blueprints
20:10
Pretty Printed
Рет қаралды 37 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 224 М.
Converting Flask-SQLAlchemy to JSON With Flask-Marshmallow
11:51
Pretty Printed
Рет қаралды 46 М.
SQLAlchemy Turns Python Objects Into Database Entries
22:23
NeuralNine
Рет қаралды 188 М.
Understanding the Lazy Parameter in Flask-SQLAlchemy Relationships
10:49
build a meme Python website (Flask Tutorial for Beginners)
13:30
NetworkChuck
Рет қаралды 528 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН