Django 官方教程翻译项目Django 项目, 第七部分 进阶内容:编写可重用的应用 接下来如何学习? 编写你的第一个 Django 补丁 - 1 - 本文档使用 书栈(BookStack.CN) 构建 致谢 当前文档 《Django 官方教程翻译项目》 由 进击的皇虫 使用 书栈(BookStack.CN) 进行 构建,生成于 2018-05-25。 书栈(BookStack.CN) 仅提供文档编写、整理、 书栈开源:https://github.com/TruthHun 分享,让知识传承更久远! 感谢知识的创造者,感谢知识的分享者,也感谢每一位阅读到此处的 读者,因为我们都将成为知识的传承者。 致谢 - 2 - 本文档使用 书栈(BookStack.CN) 构建 README Django-intro-zh Django 官方教程翻译项目 目前版本:1.11 官方文档目录 中文版文档 翻译进度 我也想一起翻译 reusable apps What to read next Django-intro-zh Django 官方教程翻译项目 目前版本:1.11 官方文档目录 README - 3 - 本文档使用 书栈(BookStack.CN) 构建 Writing your first patch for Django 中文版文档请到 github page 查看,下方目录在 github page0 码力 | 103 页 | 1.86 MB | 1 年前3
Django、Vue 和Element UI 前后端原理论述安装相关包:在开始之前,首先需要安装 Python 和 pip,然后安装 Django 等相关包, 可以使用 pip 命令来安装。 创建工程:使用 Django 的命令行工具创建 Django 项目,例如:django-admin startproject projectname。 后端依赖(pipenv)创建虚拟环境:建议使用 pipenv 来创建和管理虚拟环境,以便 隔离项目的依赖和环境。 后端服务配置启动:在虚拟环境下,通过 后端创建子应用:根据项目的需要,可以创建多个子应用(app)来管理不同的功能 模块。 后端 Rest Framework:使用 Django Rest Framework 来构建 RESTful API,方便前端 和其他应用调用后端接口。 数据库配置:配置 Django 项目的数据库连接,通常使用 MySQL 作为后端数据库, 可以在 settings.py 中进行配置。 2.2 前端搭建流程 创建工程(模板)->前端依赖(npm 创建工程(模板)->前端依赖(npm install )->前端服务配置启动 简要说明: 创建工程(模板):可以使用 Vue 脚手架工具或其他模板工具来创建 Vue 项目的初始 结构。 前端依赖(npm install):在项目目录下执行 npm install 命令,安装项目所需的前端 4 《51 测试天地》七十四 www.51testing.com 依赖包,这些依赖包通常存储在 package0 码力 | 61 页 | 6.84 MB | 1 年前3
Django 1.11.x Documentationfor the books published since last visit. But if no new books appeared since then, it is a waste of CPU time and bandwidth to fetch the books from the database, render a full response and send it to the It’s designed not to be easier to compute on custom hardware than it is to compute on an ordinary CPU. Argon2 is not the default for Django because it requires a third-party library. The Password Hashing for a given version of a site, it’s a good candidate for caching. Server-side caching will reduce CPU load. It’s easily implemented with the cache_page() decorator. To trigger cache invalidation when your0 码力 | 1878 页 | 6.40 MB | 1 年前3
Django 1.10.x Documentationfor the books published since last visit. But if no new books appeared since then, it is a waste of CPU time and bandwidth to fetch the books from the database, render a full response and send it to the It’s designed not to be easier to compute on custom hardware than it is to compute on an ordinary CPU. Argon2 is not the default for Django because it requires a third-party library. The Password Hashing for a given version of a site, it’s a good candidate for caching. Server-side caching will reduce CPU load. It’s easily implemented with the cache_page() decorator. To trigger cache invalidation when your0 码力 | 1817 页 | 6.19 MB | 1 年前3
Django 1.11.x Documentationfor the books published since last visit. But if no new books appeared since then, it is a waste of CPU time and bandwidth to fetch the books from the database, render a full response and send it to the It’s designed not to be easier to compute on custom hardware than it is to compute on an ordinary CPU. Argon2 is not the default for Django because it requires a third-party library. The Password Hashing for a given version of a site, it’s a good candidate for caching. Server-side caching will reduce CPU load. It’s easily implemented with the cache_page() decorator. To trigger cache invalidation when your0 码力 | 2747 页 | 2.67 MB | 1 年前3
Django 1.10.x Documentationfor the books published since last visit. But if no new books appeared since then, it is a waste of CPU time and bandwidth to fetch the books from the database, render a full response and send it to the It’s designed not to be easier to compute on custom hardware than it is to compute on an ordinary CPU. Argon2 is not the default for Django because it requires a third-party library. The Password Hashing for a given version of a site, it’s a good candidate for caching. Server-side caching will reduce CPU load. It’s easily implemented with the cache_page() decorator. To trigger cache invalidation when your0 码力 | 2538 页 | 2.59 MB | 1 年前3
Django 2.1.x Documentationfor the books published since last visit. But if no new books appeared since then, it is a waste of CPU time and bandwidth to fetch the books from the database, render a full response and send it to the It’s designed not to be easier to compute on custom hardware than it is to compute on an ordinary CPU. Argon2 is not the default for Django because it requires a third-party library. The Password Hashing for a given version of a site, it’s a good candidate for caching. Server-side caching will reduce CPU load. It’s easily implemented with the cache_page() decorator. To trigger cache invalidation when your0 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 2.1.x Documentationfor the books published since last visit. But if no new books appeared since then, it is a waste of CPU time and bandwidth to fetch the books from the database, render a full response and send it to the It’s designed not to be easier to compute on custom hardware than it is to compute on an ordinary CPU. Argon2 is not the default for Django because it requires a third-party library. The Password Hashing for a given version of a site, it’s a good candidate for caching. Server-side caching will reduce CPU load. It’s easily implemented with the cache_page() decorator. To trigger cache invalidation when your0 码力 | 2790 页 | 2.71 MB | 1 年前3
Django 2.0.x Documentationfor the books published since last visit. But if no new books appeared since then, it is a waste of CPU time and bandwidth to fetch the books from the database, render a full response and send it to the It’s designed not to be easier to compute on custom hardware than it is to compute on an ordinary CPU. Argon2 is not the default for Django because it requires a third-party library. The Password Hashing for a given version of a site, it’s a good candidate for caching. Server-side caching will reduce CPU load. It’s easily implemented with the cache_page() decorator. To trigger cache invalidation when your0 码力 | 1880 页 | 6.41 MB | 1 年前3
Django 2.2.x Documentationfor the books published since last visit. But if no new books appeared since then, it is a waste of CPU time and bandwidth to fetch the books from the database, render a full response and send it to the It’s designed not to be easier to compute on custom hardware than it is to compute on an ordinary CPU. Argon2 is not the default for Django because it requires a third-party library. The Password Hashing for a given version of a site, it’s a good candidate for caching. Server-side caching will reduce CPU load. It’s easily implemented with the cache_page() decorator. To trigger cache invalidation when your0 码力 | 2915 页 | 2.83 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













