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.
Tag: Mongodb
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.
Pyramid 02: MongoDB Setup
Our goal here is to get our MongoDB database running and read from it.
Continue reading Pyramid 02: MongoDB SetupPyramid 01: Basic Project Structure
This series of posts intend to build a web application that uses Pyramid, Pymongo and WTForms.
The goal of this step is to setup the basic project structure.
Continue reading Pyramid 01: Basic Project Structure