-
Notifications
You must be signed in to change notification settings - Fork 4
db5
pkirlin edited this page Oct 12, 2016
·
21 revisions
Now that we know how to get information out of a database, in this lesson we will see how to add a Flask route for inserting information into a database.
Let's add a route for writing blog posts. We will need two "steps" for this route:
- Step 1: Display a blank form where a user can enter a blog post.
- Step 2: Process the form and display a notification that the blog entry has been posted.
Use the main wiki page to navigate, not the list of pages directly above, because those are out of order.