Course Introduction
This course teaches the complete lifecycle of building and deploying Django web applications for Python-based network automation and AIOps. It starts with PyCharm and VS Code environments, Django project setup, Bootstrap layouts, template inheritance, and static assets. It then uses department, course, teacher, and student data to cover Django ORM, PostgreSQL, relational modeling, migrations, querying, and CRUD. Templates, forms, DataTables, ECharts, and AJAX are combined to build interactive views and CPU/interface monitoring charts. The course also covers Django administration, users and groups, authentication, fine-grained authorization, and production deployment with Nginx, Gunicorn, Uvicorn, ASGI, HTTPS, and static assets. A final automation-system project integrates GitLab CI, device data, scheduled jobs, configuration backups, monitoring, alerting, and Ansible Inventory generation.
Companion Git repository: https://git.qytang.com/qytadmin/Django2026-5-25
Total preview duration: 11m 20s (recorded as 11 minutes in the system).
Course Curriculum
-
01
- 1.1
PyCharm Remote Interpreter and Project Creation
- 1.2
VS Code Virtual Environment and Django Installation
- 1.3
Debugger, settings.py, and First Run
- 1.1
-
02
- 2.1
Bootstrap Starter Template and Base Layout
- 2.2
Navbar, Blocks, and Template Inheritance
- 2.3
Views, URLs, and Django Request Flow
- 2.1
-
03
- 3.1
Static Directories, CSS, and JavaScript
- 3.2
Logo, Favicon, and Production Static Assets
- 3.1
-
04
- 4.1
PostgreSQL Configuration and App Initialization
- 4.2
Models, Fields, and Relationship Design
- 4.3
Migrations and Initial Data
- 4.4
ORM Queries, CRUD, and Relationship Lookup
- 4.1
-
05
- 5.1
Basic Integration of Templates, Views, and URLs
- 5.2
Loops, Dictionaries, Conditions, and locals
- 5.3
Dynamic Detail Pages and Path Parameters
- 5.4
Template Filters, Comments, and Custom Filters
- 5.1
-
06
- 6.1
Form Data Models and Relationship Design
- 6.2
Django Forms and Bootstrap Forms
- 6.3
Student Creation, Validation, and Feedback
- 6.4
Student Search, Sorting, and Deletion with DataTables
- 6.1
-
07
- 7.1
Separated URL Management and Chart Page Scaffolding
- 7.2
ECharts Basics and Django-Powered Bar Charts
- 7.3
AJAX-Driven Line and Bar Charts
- 7.4
Standard and Nested Pie Charts
- 7.5
AJAX-Driven Nested Pie Charts
- 7.6
Advanced CPU Utilization Line Chart
- 7.7
Advanced Interface Speed Line Chart
- 7.1
-
08
- 8.1
Superuser and Model Registration
- 8.2
Users, Groups, and Admin Permissions
- 8.3
Admin Permission Testing and Least Privilege
- 8.1
-
09
- 9.1
Login Form, Sessions, and Login Page
- 9.2
login_required and Login Redirects
- 9.3
Fine-Grained Permission Checks and permission_required
- 9.1
-
10
- 10.1
WSGI, ASGI, and Production Architecture
- 10.2
Managing Gunicorn and Uvicorn with systemd
- 10.3
Nginx, HTTPS, Static Assets, and Reverse Proxy
- 10.1
-
11
- 11.1
GitLab CI and Automation Project Environment
- 11.2
Device Architecture, Database, and Method Design
- 11.3
Scheduled Tasks, Monitoring, Backups, and Alerts
- 11.4
Generating Ansible Inventory and hosts.yaml
- 11.1
Course Video
Watch the public preview here or open it on the original video platform.
QYT Python Network Automation: Django Assignment Introduction
5 MIN
Watch on the Original Platform