Тёмный

Flask CRUD Application Full Course With SQLAlchemy | Python Flask 

Parwiz Forogh
Подписаться 47 тыс.
Просмотров 180 тыс.
50% 1

Опубликовано:

 

25 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 255   
@ParwizForogh
@ParwizForogh Год назад
You can join the new and updated of this course with AWS features, this is the link ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-aY5Ygawb9Tk.html
@Islam-and-boxing
@Islam-and-boxing 2 месяца назад
Do you have this code available to copy?
@tompis1442
@tompis1442 2 года назад
So this guys right here started my whole career. I watched this video a year ago and this video game me so much confidence, that now I have a full time job. I cant believe I just saw this video on my recommends! THAT YOU BRO!
@revanthshahukaru7883
@revanthshahukaru7883 2 года назад
The Bootstrap 5 Navbar still uses flexbox, but the concept of right and left, have changed to start and end for new RTL support. So, instead of float-right, use float-end Also, take attention that bootstrap 5 changed data-toggle to data-bs-toggle and data-target to data-bs-target
@rahmadilhamsani7227
@rahmadilhamsani7227 2 года назад
thank you bro
@drogokhal3058
@drogokhal3058 Год назад
thank you very much !
@sukardiLayarda
@sukardiLayarda Год назад
thank you,
@bebekkarki6162
@bebekkarki6162 7 месяцев назад
thanks bro thank you soo much
@alanpolato831
@alanpolato831 Месяц назад
Thanks man! This does also apply for "data-dismiss" that became "data-bs-dismiss" in button configuration.
@megafunny789
@megafunny789 Год назад
You just taught what my professor has tried teaching the past 10 class periods. Each class is 2 hours long.
@birusingh410
@birusingh410 4 года назад
Explanation is clear specially frontend part. Being a backend developer I feel frontend is tough but you made such a nice page with simple steps.
@VoiceThatMatter
@VoiceThatMatter Год назад
Thank You. First time I have learned something on flask. Rudraprasad Mohapatra
@tahep3906
@tahep3906 4 года назад
I'm glad that I've also learned how to use bootstrap modals, they are very useful for this kind of operations, thanks a lot for this helpful video!
@mainak_das
@mainak_das 3 года назад
THIS IS THE BEST TUTORIAL FOR FLASK CRUD APPLICATION
@hilaryeins1
@hilaryeins1 2 года назад
Thank you very much for these series of videos. I am new using flask, but I have learnt from your clear explanation.
@techdevrpa
@techdevrpa 4 года назад
You are amazing. I met your channel when I was learning qt and now flask Thanks again dude
@cathym9803
@cathym9803 4 года назад
Thank you so much!!! Excellent course from the beginning to the end. I would recommend this to anyone who is willing to learn. Thanks again.
@ParwizForogh
@ParwizForogh 4 года назад
You're very welcome!
@geertvancompernolle2586
@geertvancompernolle2586 Месяц назад
First off, excellent intro of both Flask and CRUD principles. One question though: I'm trying to get the first input field of the modal Add or Edit box to be in focus. I know bootstrap doesn't have the autofocus attribute so I tried to add the HTML5 attribute "autofocus" in the input tag of my first input field like so: . However, that doesn't seem to work. What should be done to get the focus on the first input field of the modal boxes?
@danielpaloma6435
@danielpaloma6435 4 года назад
Hello Parwiz, thank you so much for sharing your knowledge!! I enjoyed the tutorial and your explanation was clear. This encourage me to develop my own app and learn more about Flask. Regards.
@SaudBako
@SaudBako 4 года назад
Thank you so much. For the update method I used string query parameters to retrieve the employee id we are trying to edit. I made the form action go to "/update?id={{row.id}}", and used request.args['id'] to pull the ID from the url.
@amaramw
@amaramw 2 года назад
hi, I have a problem with my Edit button. the form cannot be displayed. and no error message either. do you know how to fix this problem? :')
@JessicaHombal
@JessicaHombal 2 года назад
Thank you so much for this video. I did the same for banking system. It is working well.
@andressahelum5071
@andressahelum5071 2 года назад
Assistindo em 2021. Muito boa didática! Fiz algumas coisas diferentes do vídeo pois já tinha um conhecimento, mas aprendi demais sobre post e get dentro do flask. Estava precisando justamente disso. Muito obrigada!
@bhaswatiroy1433
@bhaswatiroy1433 2 года назад
Very nice explanation !! One of the best videos on Flask
@jangronewald3788
@jangronewald3788 2 года назад
Thank you very much for the great Tutorial! It rly helped me to get into Bootstrap and to make progress in my project. THX!
@richardmilesagyemang1233
@richardmilesagyemang1233 Год назад
Thanks this video is very helpful. I was doing my with sequel query. Kind of stressful with the delete feature but I managed to fix after some long hours😂 Once again, thanks 🙏
@austindonovan4162
@austindonovan4162 4 года назад
Thank you so much, this is exactly what I needed to break down how to do the update and delete functions in python. You are amazing!!
@ParwizForogh
@ParwizForogh 4 года назад
You're welcome!
@felixutomo6365
@felixutomo6365 4 года назад
@@ParwizForogh hello my friend why when i try to implement this app, this error comes up : TypeError: __init__() takes 1 positional argument but 3 were given, can u help me ?
@SAfanasyev
@SAfanasyev 3 года назад
Parwiz, thanks a lot for your time to put it together
@iwanguanteng5010
@iwanguanteng5010 7 месяцев назад
Did it use jsquery to transfer the data between the table and the modal?
@saucecode5544
@saucecode5544 Год назад
Thanks for the tutorial, I Really learned a lot.
@yousaymyname5174
@yousaymyname5174 4 года назад
A very good step by step lecture bro. Please a video how to add multiple form fields dynamically and bring them to the database (without modals adding multiple employees with the same submit button).
@JimSawa
@JimSawa Год назад
Thank you for the wonderful video. It is extremely helpful.
@Kydenius
@Kydenius 2 года назад
How could I implement so I'd have a time + date function instead of ID on each line? Something that would be editable by the user?
@riddhikpankhania325
@riddhikpankhania325 2 года назад
After Bootstrap Models chapter, after copying 'add employee' part, I am not able to open "Add New Employees" . I checked many times and did same from friend too, but still not getting. Pls help
@riyatiwari7178
@riyatiwari7178 2 года назад
Hi Riddhik, Was this issue solved when you were learning this course? Could you please spare a moment to help me with this? I also have been facing the same issue. Thank you in advance, though!
@idk____idk6530
@idk____idk6530 3 года назад
Thanks Bro 😄 You help Me to Make My first Freelance Project ❤️🥺❤️❤️❤️❤️
@tonysjc
@tonysjc 4 года назад
Congratulations ! Very good.
@ParwizForogh
@ParwizForogh 4 года назад
Thank you very much!
@mariagitateresafebriani913
@mariagitateresafebriani913 3 года назад
thank you so much, your website really helped me on using modals and Flask Python
@Sammycmp
@Sammycmp 2 года назад
You didn't include the fact that one would have to install a driver before it connects to MySQL database. Although I have been using postreSQL with PyCharm(Python) following your interesting tutorial trying to connect it with MySQl, I have been having many errors, like... return __import__("MySQLdb") ModuleNotFoundError: No module named 'MySQLdb' but when I installed psycopg2 for PostgreSQL immediately it worked. So what do I need to do for this application to connect to MySQL 8.0?
@cauanasz
@cauanasz 2 года назад
I have the same issue
@ezarasheed3868
@ezarasheed3868 2 года назад
Hi, is there a way to insert multiple rows/employees into a table at once using the form field, rather than just one at a time?
@malikjavadov366
@malikjavadov366 Год назад
really good , keep it coming!
@halderpradipta
@halderpradipta Год назад
thank you very much Sir
@gsv202000
@gsv202000 3 года назад
Thank you so much Parwiz. Learned a lot
@rencooper
@rencooper 2 года назад
Where can we get the source code you mentioned?
@dasunsucharith2834
@dasunsucharith2834 2 года назад
This was very helpful! Thank you very much for this tutorial!!!
@mofiathamin4908
@mofiathamin4908 4 года назад
You are awsome make an e-commerce Web site with flask and mysql alckemy please in one Corse 😘
@ParwizForogh
@ParwizForogh 4 года назад
thanks i will do
@alexgora7530
@alexgora7530 8 месяцев назад
Hello, you said in video that we can copy "modal add employee" code in the description to this video, but I can't find the link?
@Lukas-dt9km
@Lukas-dt9km 3 года назад
Muchas gracias Parwiz!!! Muy buen tutorial excelente!! saludos desde Argentina!!
@prashantpandit2031
@prashantpandit2031 3 года назад
Thank you Sir wonderful Teaching.
@realnycmoments
@realnycmoments 4 года назад
good stuff. what do you recommend for deploying this app to a cloud server on production?
@nowenator
@nowenator 4 года назад
Thank you, great tutorial, I have fully enjoyed! Couple of questions: When adding a new record line it goes to the bottom of the table. Can it go to the top row? Also, when updating a record (row) it goes to the bottom as well maintaining the ID number, that doesn't look right. Any thoughts please?
@SaudBako
@SaudBako 4 года назад
I used order_by in my index function. all_data = Data.query.order_by(Data.id).all()
@techdevrpa
@techdevrpa 4 года назад
@@SaudBako can you send me your discord for talking about flask?
@erangiwijerathne9654
@erangiwijerathne9654 4 года назад
Thank you very much. You saved my day.
@rasikmohamed500
@rasikmohamed500 3 года назад
Simply Awesome✌️
@paulbull5318
@paulbull5318 2 года назад
Great tutorial, just one thing i struggled with the well and jumbotron and couldn't get the header to work. It turns out that boostrap 4 uses cards and not wells.
@lightyagami7085
@lightyagami7085 2 года назад
Can you tell me how did you make jumbotron work.
@paulbull5318
@paulbull5318 2 года назад
@@lightyagami7085 i stuck with it but used a card instead of a well
@lightyagami7085
@lightyagami7085 2 года назад
@@paulbull5318 Okkk, I switched to bootstrap 4 and it is working for me now
@maelevy957
@maelevy957 3 года назад
Hi. I have a question. I have an error it says 'ModuleNotFoundError: No module named 'MySQLdb' I tried to download pymysql but it didn't work. And also the delete and edit button is not working. Help hahaha
@donteo3105
@donteo3105 3 года назад
me having the problem… frustrating
@devendrap9659
@devendrap9659 2 года назад
At the time of production level what is uri for sqlalchemy?
@peterprakash4758
@peterprakash4758 2 года назад
Anyone else facing issues at 25:20 - bootstrap models ? Kindly help
@hartimat
@hartimat 3 года назад
Very useful. Thanks for posting!
@willianoliveirapires3413
@willianoliveirapires3413 Год назад
I exclude the button but it does not delete the data, in the terminal it displays the id in the get method, but it does not delete the wave
@rudyr6759
@rudyr6759 2 года назад
how can I use sqlite3 instead of MySQL?
@cydy80229
@cydy80229 2 года назад
Thank you! It's really useful!
@priscilapower3781
@priscilapower3781 4 года назад
Really good material. Thanks for sharing and congratulations !
@ParwizForogh
@ParwizForogh 4 года назад
Thank you too!
@prathmeshsananse7064
@prathmeshsananse7064 Год назад
getting this error while pip install Flask-SQLAlchemy : --plat-name must be one of ('win32', 'win-amd64', 'win-arm32', 'win-arm64')
@joryaock
@joryaock 3 года назад
Is there a way have edit take you to another page instead of using a modal?
@ashokaddanki4230
@ashokaddanki4230 2 года назад
How can we implement filter and search functionalities for it
@baizeedrony
@baizeedrony 2 года назад
How will I implement this with oracle database?
@shilpak5561
@shilpak5561 3 года назад
Do you have a vedio about searching , and the task is done and undo the todos
@waqasarqum
@waqasarqum 2 года назад
Awesome tutorial
@zaenalenal1721
@zaenalenal1721 3 года назад
Thank you so much. Good tutorial
@shyamrangasamys3165
@shyamrangasamys3165 4 года назад
thanks a lot.. very good teaching skills bro..
@ParwizForogh
@ParwizForogh 4 года назад
welcome
@gowthamns8228
@gowthamns8228 3 года назад
But every time when I am pressing edit or delete my page is reloading, How to use prevent default here and only disappear the content which I need to delete
@bricesifoua-ig9vy
@bricesifoua-ig9vy Год назад
Thanks. But where can we find js, font and css files ?
@remixowlz
@remixowlz 4 года назад
Very good explanation sir! But please change your editor to Visual Studio Code or make it white pycharm
@ParwizForogh
@ParwizForogh 4 года назад
Ok next time
@baopham981
@baopham981 4 года назад
Your tutorial is awesome! But can you all so make the add to cart function
@leomaredcampos4941
@leomaredcampos4941 3 года назад
May, I ask you to create an inventory system using flask?
@luchinilvp
@luchinilvp 3 года назад
Excelente vídeo, gracias por compartir tus conocimientos y tiempo. Saludos.
@bartoszcwiakala8916
@bartoszcwiakala8916 4 года назад
Great tutorial, thank you:)
@ParwizForogh
@ParwizForogh 4 года назад
You're very welcome!
@bular8757
@bular8757 4 года назад
thanks so much it really helped me but i have one little issue, i use SQLite3 and if i try displaying my entries on the table, it displays the number of columns i have in the database but its blank.
@shilpak5561
@shilpak5561 3 года назад
Hello parwiz.....Please make a vedio on add search button to this application
@twakskawt
@twakskawt 4 года назад
you da man Parwiz!
@rakshithkota
@rakshithkota Год назад
Can you please share the source code or the repo link. This tutorial was much helpful but as of Dec 2022 few settings need to be added especially on M1/M2 Macs...
@_itsmeKHawaR
@_itsmeKHawaR 3 года назад
its very help full
@ritiksharma4322
@ritiksharma4322 Год назад
Which data base has been used here
@souravkumarsingh1345
@souravkumarsingh1345 2 года назад
Explain how you link your local database with CRUD app ?
@brunoillipronti8641
@brunoillipronti8641 4 года назад
I already checked 3 of your videos and I didnt find any SELECT section in the CRUD :(
@ParwizForogh
@ParwizForogh 4 года назад
check i have the selecting method but not in the name of selecting i have used get()
@020cine
@020cine 4 года назад
how can I download the source code because your website is down
@ParwizForogh
@ParwizForogh 4 года назад
sorry for that, there are some problems in my website, tomorrow will be fixed and you will get the source code
@rawrrawr-ns7ck
@rawrrawr-ns7ck 4 года назад
Thank you! This is a great tutorial
@ParwizForogh
@ParwizForogh 4 года назад
You're very welcome!
@3ng279
@3ng279 4 года назад
sir . i have one problem in app.py on line 2 : from flask_sqlalchemy import SQLAlchemy (when i run code it error ) it have install package SQLAlchemy i install ready but it have error can you breakup my problem?
@sadowsky
@sadowsky 4 года назад
Same hereee :(
@ΓιώργοςΛειβαδιάς
@ΓιώργοςΛειβαδιάς 4 года назад
install this: pip install -U Flask-SQLAlchemy
@oludedavid9706
@oludedavid9706 2 года назад
while trying to edit the next data apart from the first I get an error: sqlalchemy.exc.PendingRollbackError, aside from this error everything works fine, but I am in flask-admin baseview
@amanjoshi7259
@amanjoshi7259 4 года назад
27:34 i'm getting error when i refreshed the page.. it show me this ------ werkzeug.routing.BuildError: Could not build url for endpoint 'insert'. Did you mean 'index' instead?
@buildwithmacduff699
@buildwithmacduff699 4 года назад
I am getting the same thing.
@saikatjaman2004
@saikatjaman2004 4 года назад
@@buildwithmacduff699 anyone fixed this issue??
@SaudBako
@SaudBako 4 года назад
In app.py, make sure that your insert method's route is '/insert', and try again. Otherwise, go to index.html, then find the add modal (because this modal calls '/insert'), then find the form action inside it, then change "{{url_for('insert'}}" to "/insert" and make sure that "method" is set to "POST".
@ParwizForogh
@ParwizForogh 4 года назад
i have added the complete code in my blog codeloop.org/flask-crud-application-with-sqlalchemy/, i dont know why it was broken
@parandooshrahimi4238
@parandooshrahimi4238 3 года назад
Hi I make the base.html file , index.html When I run it ,it doesn't work ?
@sumitluitel4212
@sumitluitel4212 2 года назад
Why use ['GET, 'POST'] methods when 'DELETE' (when creating deleting route) is available. I tried but i had an error and couldn't make it work. anyone?
@bizindavyileonce2224
@bizindavyileonce2224 Год назад
RuntimeError: Working outside of application context. This typically means that you attempted to use functionality that needed the current application. To solve this, set up an application context with app.app_context(). See the documentation for more information.
@reenayadav8468
@reenayadav8468 Год назад
Use this code after you enter in python shell 1: from app import app, db 2: app.app_context().push() 3: db.create_all()
@kshitijgupta6175
@kshitijgupta6175 3 года назад
from where did he copy that href code for bootstrap and js at 12:13?
@prateeksingh1141
@prateeksingh1141 4 года назад
d.create_all() is giving me error when i am running your code in my system, please help
@notyourpasta
@notyourpasta 4 года назад
Sahi baat hai.
@prateeksingh1141
@prateeksingh1141 4 года назад
@@notyourpasta haha 😂
@yoelsama3313
@yoelsama3313 3 года назад
Did you find the solution? I have the same error :/
@ola7540
@ola7540 10 месяцев назад
IF YOU HAVE ISSUE WITH MODAL: Your title block in index.html should look something like this: {% block title %} {% endblock %} not {% block title %} Home {% endblock %}
@madhusudanj4557
@madhusudanj4557 4 года назад
I'm not able to delete data please help me ERROR: "The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again."
@amaramw
@amaramw 2 года назад
hi, I have a problem with my Edit button. the form cannot be displayed. and no error message either. anyone know how to fix this problem? :')
@amirahammami7799
@amirahammami7799 4 года назад
Great tutorial, thank you
@ParwizForogh
@ParwizForogh 4 года назад
Glad it was helpful!
@AnupSingh-mj8bb
@AnupSingh-mj8bb 2 месяца назад
hey man, is there any source code link?, i have done exactly as the video but my submit button is not going to the insert route
@zenaidadanzalan7481
@zenaidadanzalan7481 3 года назад
sir i have missing file npm and js/jquery-3-2.1.min.js is missing in folder js how can i download it
@colarey
@colarey 2 года назад
Sir if flask is the backend, what is the front end framework?
@Kydenius
@Kydenius 2 года назад
Not a framework, correct me if I'm wrong. HTML5 + CSS + Bootstrap
@fassoyangce1075
@fassoyangce1075 3 года назад
Thank you so much for sharing your knowledge. However, I faced the problem while deleting the entire database, the ID doesn't restart from 0, but continues the counting from where it stopped. Can you please help me to fix that issue?
@zack-aihtizaz
@zack-aihtizaz 3 года назад
Id is auto_increment. So, when we delete the data, the id is not return to previous number. Even we delete all data, id is not going to zero (but it will continue to add from last id number)
@fassoyangce1075
@fassoyangce1075 3 года назад
@@zack-aihtizaz Thank you so much for the clear answer! :)
@kkfcompilation4864
@kkfcompilation4864 3 года назад
Hi how will you query from latest to old
@lamialamia6612
@lamialamia6612 4 года назад
thank you, it was helpful
@michaelngo3622
@michaelngo3622 3 года назад
i ran app.py ok but the browser is blank . i don't know reason why . plz help me !
@gaslightingbruh
@gaslightingbruh 2 года назад
hi, how can u make the same thing but with sqlite3? pls someone help
@ChupoCro
@ChupoCro 3 года назад
header.html should *not* extend base.html because that results in index.html's source consisting of *two* HTML documents (doctype, html, head, body and *again* doctype, html, head, body). Every .html which extends base.html will have all the tags contained in base.html and if inside index.html (which extends base.html) is included header.html which would extend base.html too, then index.html cosists of twice base.html (browser > View page source). header.html should consist only of: ... and all {% %} blocks should be removed from that file.
Далее
Python REST API Tutorial - Building a Flask REST API
1:14:01
Python Flask with MySQL Database
22:51
Просмотров 152 тыс.
Wait for it 😂
00:19
Просмотров 2,1 млн
новое испытание
00:40
Просмотров 149 тыс.
На самом деле, все не просто 😂
00:45
Learn Flask for Python - Full Tutorial
46:59
Просмотров 1,8 млн
REST API With Flask & SQL Alchemy
35:25
Просмотров 297 тыс.
Wait for it 😂
00:19
Просмотров 2,1 млн