 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 官方教程翻译项目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、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 Q Documentation
Release 0.7.9django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db bulk cache cached scheduler cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Reference Tasks Async Async python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 62 页 | 514.67 KB | 1 年前3 Django Q Documentation
Release 0.7.9django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db bulk cache cached scheduler cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Reference Tasks Async Async python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 62 页 | 514.67 KB | 1 年前3
 Django Q Documentation
Release 0.7.10django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db bulk cache cached scheduler cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Reference Tasks Async Iterable python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 67 页 | 518.39 KB | 1 年前3 Django Q Documentation
Release 0.7.10django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db bulk cache cached scheduler cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Reference Tasks Async Iterable python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 67 页 | 518.39 KB | 1 年前3
 Django Q Documentation
Release 0.7.11django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db bulk cache cached scheduler cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Reference Tasks async() Async python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 72 页 | 526.88 KB | 1 年前3 Django Q Documentation
Release 0.7.11django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db bulk cache cached scheduler cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Reference Tasks async() Async python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 72 页 | 526.88 KB | 1 年前3
 Django Q Documentation
Release 0.7.14django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db bulk cache cached scheduler rollbar cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Reference Tasks async() Async python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 73 页 | 527.40 KB | 1 年前3 Django Q Documentation
Release 0.7.14django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db bulk cache cached scheduler rollbar cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Reference Tasks async() Async python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 73 页 | 527.40 KB | 1 年前3
 Django Q Documentation
Release 0.7.12django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db bulk cache cached scheduler rollbar cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Reference Tasks async() Async python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 73 页 | 527.33 KB | 1 年前3 Django Q Documentation
Release 0.7.12django_redis disque_nodes disque_auth iron_mq sqs orm mongo mongo_db bulk cache cached scheduler rollbar cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Reference Tasks async() Async python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 73 页 | 527.33 KB | 1 年前3
 Django Q Documentation
Release 0.7.18disque_auth iron_mq sqs orm mongo mongo_db broker_class bulk poll cache cached scheduler rollbar cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Custom Broker Reference Tasks python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 73 页 | 516.84 KB | 1 年前3 Django Q Documentation
Release 0.7.18disque_auth iron_mq sqs orm mongo mongo_db broker_class bulk poll cache cached scheduler rollbar cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Custom Broker Reference Tasks python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 73 页 | 516.84 KB | 1 年前3
 Django Q Documentation
Release 0.7.15disque_auth iron_mq sqs orm mongo mongo_db broker_class bulk poll cache cached scheduler rollbar cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Custom Broker Reference Tasks python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 73 页 | 528.16 KB | 1 年前3 Django Q Documentation
Release 0.7.15disque_auth iron_mq sqs orm mongo mongo_db broker_class bulk poll cache cached scheduler rollbar cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Custom Broker Reference Tasks python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 73 页 | 528.16 KB | 1 年前3
 Django Q Documentation
Release 0.7.16disque_auth iron_mq sqs orm mongo mongo_db broker_class bulk poll cache cached scheduler rollbar cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Custom Broker Reference Tasks python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 73 页 | 516.76 KB | 1 年前3 Django Q Documentation
Release 0.7.16disque_auth iron_mq sqs orm mongo mongo_db broker_class bulk poll cache cached scheduler rollbar cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Custom Broker Reference Tasks python system and process utilities module by Giampaolo Rodola’, is an optional requirement and adds cpu affinity settings to the cluster: $ pip install psutil Hiredis [https://github.com/redis/hiredis] queue size of clusters running under OS X. CPU count through multiprocessing.cpu_count() [https://docs.python.org/3.5/library/multiprocessing.html#multiprocessing.cpu_count] does not work. Installing psutil0 码力 | 73 页 | 516.76 KB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9














