Add comments to the post using python flask Tutorial complete website
Adding comments to a post requires the formation of a relationship between the post and the related comments. Each comment contains a comment id as the primary key and the post_id as the foreign key linking to the post.
Source: Jamal Bugti (YouTube)