Edit Blog Posts - Flask Fridays #20
8.1 هزار بار بازدید -
3 سال پیش
-
In this video I'll show
In this video I'll show you how to edit blog posts with Flask and Python.
Editing blog posts is pretty easy, we just need to create a webpage with a form on it, and then pass the form data from the database to the page using the blog posts id.
#flask #codemy #JohnElder
Timecodes
0:00 - Introduction
1:33 - Create Edit Post Route
2:19 - Create Edit Post Function/View
3:00 - Validate Form Submission
4:52 - Add Success Flash Message and Redirect
6:10 - Pass Filled Out Form Data To Page
7:51 - Create Edit_Post.html Webpage
9:05 - Add Edit Link To Posts Page
10:37 - Add Edit Link to Individual Post Pages
11:41- Conclusion
Editing blog posts is pretty easy, we just need to create a webpage with a form on it, and then pass the form data from the database to the page using the blog posts id.
#flask #codemy #JohnElder
Timecodes
0:00 - Introduction
1:33 - Create Edit Post Route
2:19 - Create Edit Post Function/View
3:00 - Validate Form Submission
4:52 - Add Success Flash Message and Redirect
6:10 - Pass Filled Out Form Data To Page
7:51 - Create Edit_Post.html Webpage
9:05 - Add Edit Link To Posts Page
10:37 - Add Edit Link to Individual Post Pages
11:41- Conclusion
3 سال پیش
در تاریخ 1400/04/11 منتشر شده
است.
8,113
بـار بازدید شده