Building Dynamic Form Fields with jQuery: A Step-by-Step Guide for Invoices

When building business applications like accounting or ERP systems, handling line items is a classic challenge. A static form won’t cut it—users need the flexibility to add or remove rows on the fly, whether they are entering three items or thirty. In this tutorial, we will walk through how to build a clean, dynamic tabular … Read more

Using XlsxWriter in Django 5 to output Excel sheets

In this tutorial we’ll use XlsxWriter Python module in order to generate Excel sheets from within a Django 5 application. Prerequisites: A Unix-like system (Linux, macOS, or WSL) and Python 3 installed. Let’s open the terminal and execute following command to create a new folder: Go inside this newly created folder: Then create virtual environment … Read more

Business reporting in Django 5 using ReportLab

In this tutorial we’ll see various business reporting and documents generated by utilizing ReportLab library from within a Django 5 application. Prerequisites: A Unix-like system (Linux, macOS, or WSL) and Python 3 installed. Let’s open the terminal and execute following command to create a new folder: Go inside this newly created folder: Then create virtual … Read more

Django 5 + ReportLab: Generate Dynamic PDFs from your Database

If you caught our previous tutorial, you saw how the ReportLab library works inside a Django 5 environment. Now, let’s up the ante. In this guide, we will build a complete Django 5 application that pulls real data from a database and compiles it dynamically into clean, downloadable PDF files. Prerequisites: A Unix-like system (Linux, … Read more

Using ReportLab in Django 5

In this tutorial, we’ll learn how to generate PDF file using ReportLab library from within Django 5 project. This tutorial assumes that you are using Linux-based system, macOS or WSL and you already have Python3 installed in your system. So, let’s open the terminal and execute following command to create a new folder: Go inside … Read more

Django REST Framework

In this tutorial we’ll explore Django Rest Framework. This tutorial assumes that you are using a Linux-based system, macOS or WSL and you already have Python3 with venv installed in your system. So, let’s first create a new folder by entering following command: Now, go inside this newly created folder: Then create virtual environment: And … Read more

User authentication in Django

In this tutorial we’ll create a typical Django app and then we’ll utilize built-in authentication of Django in our own custom views and templates. For this tutorial you need to have Python 3 installed along with venv package. Command line instructions given here will work on any Linux, macOS or WSL in Windows. So, let’s … Read more

Adding Bootstrap into Django 5 project for offline usage

In this tutorial we’ll create a typical Django 5 app and then we’ll add Bootstrap CSS framework manually for offline usage. For this tutorial you need to have Python 3 installed along with venv package. Command line instructions given here will work on any Linux, macOS or WSL in Windows. So, let’s get going… First … Read more