Django PDF Generation with Dynamic Data using ReportLab | Python Django Tutorial (Part 2)
Автор: CodeWithAmruth
Загружено: 2025-08-21
Просмотров: 152
In this video, we take our Django PDF generation tutorial to the next level by generating dynamic PDFs with real user data instead of static content.
We’ll use ReportLab in Django to create customized PDF reports for each user, including details like name, email, and join date.
🔑 What you’ll learn in this video:
How to fetch dynamic data from the Django database
Creating a ListView to display users in a table
Adding a “Download PDF” button for each user
Using ReportLab to generate a PDF dynamically
Serving the generated PDF directly to the browser
📂 GitHub Code Repository: https://github.com/CodeWithAmruth/Dja...
👉 If you haven’t watched Part 1 yet (Static PDF generation), check it out here:
• Generate PDFs in Django using ReportLab – ...
⏱️ Timestamps
0:00 – Intro
0:21 – What We’ll Build
0:38 – Create Profile Model
1:48 – Add Dummy Data
2:19 – Profile ListView
3:24 – HTML Table Template
5:13 – Dynamic PDF View
8:22 – URL Config
9:10 – Testing
9:56 – Outro
🛠️ Tech Stack
Python 3.x
Django
ReportLab
SQLite (for demo, works with PostgreSQL/MySQL too)
#Django #Python #ReportLab #PDFGeneration #DjangoTutorial #WebDevelopment #CodeWithAmruth
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: