Files
nexus/wiki/entities/Django.md
2026-04-14 16:02:50 +08:00

32 lines
1014 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Django"
type: entity
tags: [python, web-framework, backend]
sources: [tiktok-pm-python-django-project.md]
last_updated: 2026-04-14
---
## Definition
Django是一个高级Python Web框架鼓励快速开发和简洁实用的设计。
## Role in TikTok PM Project
- 核心Web框架处理HTTP请求和响应
- ORM系统定义数据库模型Product、ProductImage、ProductVideo、ProductVariation、ProductReview
- Admin后台系统提供产品管理界面
- REST Framework提供API接口
## Key Features Used
- Django ORMPython类到数据库表的映射
- Django Admin自动生成管理后台
- Django REST Framework构建RESTful API
- Django-Q异步任务队列
- django-tinymce富文本编辑器集成
- django-filter高级过滤功能
## Connections
- [[Django]] ← extends ← [[Django REST Framework]]
- [[Django]] ← uses ← [[MySQL]]
- [[Django]] ← runs_on ← [[Docker]]
- [[Django]] ← served_by ← [[Gunicorn]]
- [[Django]] ← proxied_by ← [[Nginx]]