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