1、django 通用模板 templates 根目录下,创建 template 目录 在路由文件中配置路径。 2、创建静态文件夹,并在全局配置文件中写入 3、试图文件 view 里面,写入后台逻辑 Result: