Some notes on starting to use Django
Posts for: #Django
On not using Django in 2026 due to AI?
I don’t quite get it. Maybe its true. Django provided a good start but then it was like a lock in.
With LLMs its quite easy to generate the boilerplatey code that django provides out of the box, so that demand is lost?
Its not the only reason django is here right? It has extensions, best python community and even more best documentation.
I think it will be the best framework to build with LLMs in the future if the ecosystem continues to improve
On not using Django in 2026 due to AI?
I don’t quite get it. Maybe its true. Django provided a good start but then it was like a lock in.
With LLMs its quite easy to generate the boilerplatey code that django provides out of the box, so that demand is lost?
Its not the only reason django is here right? It has extensions, best python community and even more best documentation.
I think it will be the best framework to build with LLMs in the future if the ecosystem continues to improve
Creating a Chat Application with Django and HTMX
Django + HTMX Chat application
Introduction
In this article, we will be creating a Django project, which will be a chat-room kind of application. The user needs to authenticate to the app and then and there he/she can create or join rooms, every room will have some name and URL associated with it. So, the user simply needs to enter the name of the room, which will be unique. The user can then simply enter the messages in the chat room. This is a core chat application that uses web sockets.
Create a Non-Clustered Index in Django with Postgres as DB
Understanding how to add a non-clustered index in a postgres database in a django project.
Django Bulk Update QuerySet objects
Using bulk_update to update multiple objects in one go.
Django-Mermaid
Generate ER Diagram for your Django project in Markdown with Mermaid
Django: Get list of all models and associated fields in a django project
Get the list of all the models and associated fields/attributes in a django project or an application
Django Blog DevLog: Load Frontmatter data into Template/Model Form Fields
Rendering frontatter from content field into the Template Form field using HTMX and frontmatter libraries
Django + HTMX CRUD application
Introduction
Gone are the days of writing Ajax requests with javascript, just add a few parameters to the HTML content tags and you will be ready for sending requests to your backend. So, we are going back in time and correcting the way we think of APIs and client/server-side rendering. We are referring to the Hypermedia model for levering the server-side processing of data. Let’s get our feets wet with this ancient but revolutionary methodology of development with HTMX.