New

Experience Smart HR with Horilla Mobile App

Google Play Store Google Play Store

Django

How to Implement Audit Logging in Django for Complete Change Tracking

At some point in most Django projects, someone asks a question that the database cannot answer on its own: “Who changed this record, and when?“ Maybe a price got updated, and nobody knows who did it. Maybe a user account was deactivated, and the reason is unclear. Maybe a critical configuration changed, and you need […]

ASGI vs WSGI in Django: What’s the Difference and Why Does It Matter?

When deploying a Django application, one of the decisions developers encounter is whether to use WSGI or ASGI. Both are interfaces that allow web servers to communicate with Python applications, but they were designed for different generations of web development. For many Django projects, WSGI has been the standard for years. However, modern applications increasingly […]

How Django Generative Fields Simplify Database Operations

There is a category of fields in a database that you never want to calculate manually at query time. Things like a full name derived from first and last name, a total price calculated from quantity and unit price, or a slug generated from a title. In older Django patterns, you would either store these […]

Integrating Third-Party Software in Horilla HRMS Using Django Multiple Databases

When building a real HR system like Horilla HRMS, one thing becomes clear very quickly: Most companies are already using other tools. It could be: So the question is not “Should we integrate?” It’s actually: “How do we connect Horilla with what already exists?” The Reality You Should Know First Django does support multiple databases. […]

Overview of Tech Stack and Recommended Practices in Horilla HRMS

Horilla HRMS is a free, open-source Human Resource Management System designed for teams who want a whole HR system without being “locked-in” to a particular vendor. Knowing what drives Horilla HRMS, as well as how to use it properly, can save you headaches when implementing, integrating, and using the application. Core application stack At its […]

Step-by-Step Guide to Django Custom Management Commands

Django is one of the most popular web frameworks because it helps developers build powerful applications quickly with clean, maintainable code. A big part of this comes from the tools Django provides out of the box — and one of the most important is the management command system. If you’ve worked with Django, you’ve probably […]

A Complete Guide to Understanding Django Model Relations

When building real-world applications with Django, one of the most important aspects you’ll encounter is model relationships. Whether you’re developing an HR management system, an e-commerce platform, or a blogging app, chances are your models won’t exist in isolation. They’ll need to connect employees who belong to departments, orders contain products, and blog posts have […]

How to Deploy Horilla on Linux Using a Single Service File

Deploying a Django application such as Horilla can appear daunting, but following the correct steps is easy. This tutorial will guide you through installing Horilla as a systemd service on a Linux server, allowing you to start, stop, and manage it easily. If you’re an experienced developer or just starting with Linux, this easy-to-follow guide […]

What is WSGI & ASGI in Django & It’s Key Features [2025]

Django, as one of the most popular web frameworks, provides developers with a robust platform for building scalable and secure web applications. Underneath Django’s elegant design and functionality lie two critical protocols: WSGI (Web Server Gateway Interface) and ASGI (Asynchronous Server Gateway Interface). These protocols act as bridges between Django and the web servers, handling […]

How to Set Up Multiple Databases in Django [2025]

Django’s ORM makes it easy to interact with databases, but many projects must work with more than one database at a time. This guide will show you how to set up and manage multiple databases in Django, including configuration, routing, and basic operations. Why Use Multiple Databases? Setting Up Multiple Databases in Django 1. Configure […]

How to Integrate LDAP with Django [2025]

In today’s interconnected systems, managing user data across multiple platforms can be challenging. LDAP (Lightweight Directory Access Protocol) offers a centralized directory system to streamline authentication and user management. Integrating LDAP with a Django project not only enhances security but also ensures a unified and scalable user management system. This blog walks you through the […]

How to Implement a Role-Based Access Control (RBAC) System in Django

Introduction In many web applications, user access to specific parts of the application needs to be controlled based on their role. For example, a basic HR system might have Admins, Managers, and Employees, each with different levels of access. This is where Role-Based Access Control (RBAC) helps. RBAC allows developers to assign roles to users […]