In the previous tutorial, we created a model to store the comments in the database. So, we're already done with half of the work to post comments on our blog website, and the remaining half is to create an API so that the users can comment on the blog posts. After that, we only have to render the comments to the template, and then the comments will be displayed on the blog.
So if you doesn’t want to miss any detail then watch the video till the end !!
What is a blog?
blog, is full Web log or Weblog, online journal where an individual, group, or corporation presents a record of activities, thoughts, or beliefs. Some blogs operate mainly as news filters, collecting various online sources and adding short comments and Internet links
What is Django?
Django is a high-level Python web framework that enables rapid development of secure and maintainable websites. Built by experienced developers, Django takes care of much of the hassle of web development, so you can focus on writing your app without needing to reinvent the wheel.
What is Python: Python is a high-level, general-purpose and a very popular programming language. Python programming language (latest Python 3) is being used in web development, Machine Learning applications, along with all cutting-edge technology in Software Industry. Python Programming Language is very well suited for Beginners, also for experienced programmers with other programming languages like C++ and Java.
What is an API with example?
API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other. Each time you use an app like Facebook, send an instant message, or check the weather on your phone, you're using an API.
Django uses request and response objects to pass state through the system.
When a page is requested, Django creates an HttpRequest object that contains metadata about the request. Then Django loads the appropriate view, passing the HttpRequest as the first argument to the view function. Each view is responsible for returning an HttpResponse object.
Subscribe to see more videos on Django !!
Register for free JavaScript self-paced course: https://practice.geeksforgeeks.org/co...
Explore more that we have to offer: https://www.geeksforgeeks.org/?utm_so...
Our courses : https://practice.geeksforgeeks.org/co...
👍🏻 Please Like, Comment, and Share the video with your friends👨👧👦
📱 Install our Android App: https://play.google.com/store/apps/de...
-----------------------------------------------------------------------------------------
🌟 Follow On Our Other Social Media Handles 🌟
📱 Twitter: / geeksforgeeks
📝 LinkedIn: / geeksforgeeks
🌐 Facebook: / geeksforgeeks.org
📷 Instagram: / geeks_for_geeks
👽 Reddit: / geeksforgeeks
💬 Telegram: https://t.me/s/geeksforgeeks_official