In this video we will add the article edit and delete functionality to our Python Flask application
CODE: Code for this video
Python Crash Course:
SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support:
FOLLOW TRAVERSY MEDIA:
Nguồn: https://benjaminjcohen.com/
Xem thêm bài viết khác: https://benjaminjcohen.com/cong-nghe/
Thank you very much ! Learn a lot from this videos!
Best tutorial ever on flask and MySQL ….. good job man ….
Great video series. BUT what if I add another user? I would see all the articles in the main dashboard for all other users and under Articles It would be all articles… not specific to a user. How can I create a user AND have a dashboard specific to them given what is coded thus far?
Thanks!
This is fantastic tutorial. I would love to know how to deploy this to Heroku. I cannot figure out how to deal with the settings in app.py for MySQL in order to deploy successfully.
so much to learn from your tutorials! Thank you a lot!
Can you show an example of "Delete confirmation" modal ? I have a modal which asks "Are you sure ?" but when I click on 'YES' it delete always the first article. not able to catch the article id.
"This might not work, but let's keep going to see if we can load the form and all that crap" – I love it – Seriously though – a very good tutorial – thanks.
Thanks for making this tutorial Brad! Really appreciate the A-1 content you put out. Such clear and concise explanations.
Excellent – the edit and delete python flask functionality is just what I have been looking for – Many thanks
Does anyone knows how to hide flashed msgs after sometime
Thanks Buddy the videos content is great and also i hope you to post the rest of the project by making some more videos.
@BradTraversy : I have watched the five videos for this FlaskApp project and I cannot thank you enough Brad for this tremendous job.
I also think you are a real mentor who can teach difficult and complicated topics in a simple yet clear and intelligent way – Thank You once again and I wish you and your family all the best for 2020
Anyone who knows how to paginate the posts so as to have only 5 articles per page kindly assist!
In edit_article page , the previous body content of article is not being showed in editor . How should I solve this problem ?
Thanks alot…
When are coming back to this to add some more functionalities?
amazing work, thank you
Thanks buddy I have seen all your videoes, you are amazing tutor..
How do you deploy this app to heroku ? Heroku supports sqlalchemy ?
Keep up the good Work. I enjoyed this tutorials! 🙂 very THANKFULL
Awesome
can any one please help me i successfully completed this project in windows after lot of errors with sql database…so i just added one more page in navigation bar forgot password so how can i recovery password from data base code please
Hi. I like a lot you flask tutorial and I think I find an error. When you want to edit an article, somehow, the validations rules of WTForm is not enforced. Please, can you tell why? Thanks!
Can someone make a docker image out of it and document the process, I've been trying to make one but it's just not working
You could have used "body = form.body.data" in the edit_article POST request. You just needed to rearrange your code so that the GET code isn't called for POST requests as well (which is wasteful/confusing anyway).
Finally I've made it through after several challenges… THANK YOU FOR THE SERIES, GOD BLESS YOU!
@9:50 Why are you using two delete buttons?
Great lecture! I can watch your videos for ever Thank you for all the work!
Thanks for this! Im fairly new to python in general and wanted to create an app like this but tailored for what i do. I've been trying to add items myself, the one thing im struggling to do is to have a confirmation for the delete article button. i.e click delete, box appears saying ' are you sure you want to delete this article' yes/no etc. any tips of other tutorials i could look at to help me impletment that kinda code, thanks again for a great series
Excellent cours
merci , Thanks
How to create search engine with flask,mysql ?? how to query it
Can't wait to start this series today!