At this moment everybody can edit and add items to our database.
Now we are going to add a user for it, then the views to update, create and delete items will be restricted to that user.
The base to this tutorial can be found here.
Category: WTForms
Pyramid 05: Changing the layout with Bootstrap 4
Let’s make minor changes to the layout, so we keep things simple and concentrate at the backend of our application along the next posts.
By the time I am writing this tutorial, Boostrap is on version 4.1.
You can download it here.
Pyramid 04: Edit (update) and delete items from database
Add this step we finish the basic crud functions of our web application by adding views to update and delete documents on database and creating the necessary jinja2 templates for it.
Continue reading Pyramid 04: Edit (update) and delete items from databasePyramid 03: Add Item to database
Let’s add items to our database.
For this task we are going to use WTForms.
I recommend the crash course.