Google App Engine – How to build a user profile page with webapp2

The idea of building a unique page for each user is very similar to building a page for each post. You can simply use the ID of a user entity. Since I already have an entity for user, I do not need to create another one. Therefore, I only need to create a class. Before… Continue reading Google App Engine – How to build a user profile page with webapp2

How to create a blog comment system with webapp2 (on Google App Engine) – Part 2

From the previous post, I went over storing comments into db model and this post will cover how to rendered the store comments associated with questions that have those comments. It was actually simpler than I thought it would be. See the below code. What I did here is that I fetched the question entity… Continue reading How to create a blog comment system with webapp2 (on Google App Engine) – Part 2

How to create a blog comment system with webapp2 (on Google App Engine) – Part 1

I am developing a Q&A website. Therefore, people must be able to answer questions and this system would be the same as commenting on posts. This is going to be a little longer than other posts so I divided this post by 2 sections: 1. Creating database and storing comments. 2. Rendering comments using Jinja2… Continue reading How to create a blog comment system with webapp2 (on Google App Engine) – Part 1