DEV Community

Cover image for I made Django Blog App Tutorial
Arpit
Arpit

Posted on

I made Django Blog App Tutorial

What is Django?

Django is an open-source web framework, written in Python, that follows the model-view-template architectural pattern. Consequently, a web framework is just a set of components that help you to develop websites faster and easier. Basically, it is pre-made snippets of code, that have already been tested and debugged, that can be used alongside your own code. This allows for quick and easy setup of complex and intricate code without having to worry about developing the base or framework.

When building a website, one always needs a similar set of components: a way to handle user authentication (signing up, signing in, signing out), a management panel for your website, forms, a way to upload files, etc. Luckily, other people long ago noticed that web developers face similar problems when building a new site, so they teamed up and created frameworks (Django being one of them) that offer ready-made components to use.

Frameworks exist to save developers from having to reinvent the wheel and to help alleviate some of the overhead when building a new site using Django.


In this tutorial, we’ll build a Blog application with Django that allows users to create, edit, and delete posts. The homepage will list all blog posts, and there will be a dedicated detail page for each individual post. Also, visitors can comment on the post and we make a threaded comment system. Django is capable of making more advanced stuff but making a blog is an excellent first step to get a good grasp of the framework.

Also Tutorial covers,

  • Installation and setup
  • Designing blog Shema
  • Post list, single post, pagination
  • Integrating CKEditor in Django Admin
  • Featured Image
  • Threaded Comments
  • Tagging
  • Retrieving Posts by Similarity
  • Search functionality
  • Sitemap

Link: Django Blog tutorial CodeSnail

Discussion (0)