Model Architecture Planning
It's good to visualize our models before defining them in our models.py for us to see how our model structure would be laid out. The figure below shows how we will determine the database of the blog we're building.
We've created the models for Post and Category. The figure we created also shows the relationship between both models including its multiplicities. According to moz://a are the numbers on the figure that shows the numbers (maximum and minimum) of each model that may be present in the relationship.- moz://a.
Now that we know ow we'll layout our models, let's start creating our project with the Cookiecutter-Django framework so we won't have too much of a hard time deploying our app in production.