 Django、Vue 和Element UI 前后端原理论述的扩展,用于快速构建 RESTful API 接口。通过 Rest Framework,可以定义 API 视图和序列化器,实现数据的序列化和反序列化,从而方便地 与前端进行数据交互。 MySQL 是一个关系型数据库,用于存储后端的数据。 前端开发(Vue+Element UI): Vue 是一种现代的 JavaScript 框架,用于构建用户界面。Vue 提供了丰富的组件和模 块,可以帮助开发者构建交互式的单页面应用(SPA)。 com 二、搭建流程 2.1 后端搭建流程 安装相关包->创建工程->后端依赖(pipenv)创建虚拟环境->后端服务配置启动->后 端创建子应用->后端 Rest Framework->数据库配置 简要说明: 安装相关包:在开始之前,首先需要安装 Python 和 pip,然后安装 Django 等相关包, 可以使用 pip 命令来安装。 创建工程:使用 Django 的命令行工具创建 后端 Rest Framework:使用 Django Rest Framework 来构建 RESTful API,方便前端 和其他应用调用后端接口。 数据库配置:配置 Django 项目的数据库连接,通常使用 MySQL 作为后端数据库, 可以在 settings.py 中进行配置。 2.2 前端搭建流程 创建工程(模板)->前端依赖(npm install )->前端服务配置启动 简要说明:0 码力 | 61 页 | 6.84 MB | 1 年前3 Django、Vue 和Element UI 前后端原理论述的扩展,用于快速构建 RESTful API 接口。通过 Rest Framework,可以定义 API 视图和序列化器,实现数据的序列化和反序列化,从而方便地 与前端进行数据交互。 MySQL 是一个关系型数据库,用于存储后端的数据。 前端开发(Vue+Element UI): Vue 是一种现代的 JavaScript 框架,用于构建用户界面。Vue 提供了丰富的组件和模 块,可以帮助开发者构建交互式的单页面应用(SPA)。 com 二、搭建流程 2.1 后端搭建流程 安装相关包->创建工程->后端依赖(pipenv)创建虚拟环境->后端服务配置启动->后 端创建子应用->后端 Rest Framework->数据库配置 简要说明: 安装相关包:在开始之前,首先需要安装 Python 和 pip,然后安装 Django 等相关包, 可以使用 pip 命令来安装。 创建工程:使用 Django 的命令行工具创建 后端 Rest Framework:使用 Django Rest Framework 来构建 RESTful API,方便前端 和其他应用调用后端接口。 数据库配置:配置 Django 项目的数据库连接,通常使用 MySQL 作为后端数据库, 可以在 settings.py 中进行配置。 2.2 前端搭建流程 创建工程(模板)->前端依赖(npm install )->前端服务配置启动 简要说明:0 码力 | 61 页 | 6.84 MB | 1 年前3
 Django 官方教程翻译项目书栈(BookStack.CN) 构建 README Django-intro-zh Django 官方教程翻译项目 目前版本:1.11 官方文档目录 中文版文档 翻译进度 我也想一起翻译 这个项目的目的是将 Django 官方教程的 intro 部分 翻译成中文版。 起因是在看完 Django Book 之后觉得有点过时,随后看了官方文档,还是觉得官方文档写的比较 通俗易懂。为了方便更多想要学习 Django 目前版本:1.11 官方文档目录 README - 3 - 本文档使用 书栈(BookStack.CN) 构建 Writing your first patch for Django 中文版文档请到 github page 查看,下方目录在 github page 点击才有效。 初识 Django 快速安装指南 创建你的第一个 Django 项目, 第一部分 创建你的第一个 Django first patch for Django [==========] 100/100 欢迎一切有时间有能力的小伙伴一起来翻译。 流程: 1. 到任务大厅认领任务。 中文版文档 翻译进度 我也想一起翻译 README - 4 - 本文档使用 书栈(BookStack.CN) 构建 2. 任务申请被接受后,Fork 本项目。 3. 仔细阅读 正在讨论中的画风设定集(我改改改改的累死了啊啊啊啊)。0 码力 | 103 页 | 1.86 MB | 1 年前3 Django 官方教程翻译项目书栈(BookStack.CN) 构建 README Django-intro-zh Django 官方教程翻译项目 目前版本:1.11 官方文档目录 中文版文档 翻译进度 我也想一起翻译 这个项目的目的是将 Django 官方教程的 intro 部分 翻译成中文版。 起因是在看完 Django Book 之后觉得有点过时,随后看了官方文档,还是觉得官方文档写的比较 通俗易懂。为了方便更多想要学习 Django 目前版本:1.11 官方文档目录 README - 3 - 本文档使用 书栈(BookStack.CN) 构建 Writing your first patch for Django 中文版文档请到 github page 查看,下方目录在 github page 点击才有效。 初识 Django 快速安装指南 创建你的第一个 Django 项目, 第一部分 创建你的第一个 Django first patch for Django [==========] 100/100 欢迎一切有时间有能力的小伙伴一起来翻译。 流程: 1. 到任务大厅认领任务。 中文版文档 翻译进度 我也想一起翻译 README - 4 - 本文档使用 书栈(BookStack.CN) 构建 2. 任务申请被接受后,Fork 本项目。 3. 仔细阅读 正在讨论中的画风设定集(我改改改改的累死了啊啊啊啊)。0 码力 | 103 页 | 1.86 MB | 1 年前3
 Django Q Documentation
Release 0.6.4and groups Django Admin integration PaaS compatible with multiple instances Multi cluster monitor Redis, Disque, IronMQ or SQS Python 2 and 3 Django Q is tested with: Python 2.7 & 3.4. Django 1.7.10 & compress save_limit sync queue_limit label catch_up redis django_redis disque_nodes disque_auth iron_mq sqs bulk cache cpu_affinity Brokers Redis Disque IronMQ Amazon SQS Reference Tasks Async Groups the monitor. Optional Redis-py [https://github.com/andymccurdy/redis-py] client by Andy McCurdy is used to interface with both the Redis and Disque brokers: $ pip install redis Psutil [https://github0 码力 | 53 页 | 512.86 KB | 1 年前3 Django Q Documentation
Release 0.6.4and groups Django Admin integration PaaS compatible with multiple instances Multi cluster monitor Redis, Disque, IronMQ or SQS Python 2 and 3 Django Q is tested with: Python 2.7 & 3.4. Django 1.7.10 & compress save_limit sync queue_limit label catch_up redis django_redis disque_nodes disque_auth iron_mq sqs bulk cache cpu_affinity Brokers Redis Disque IronMQ Amazon SQS Reference Tasks Async Groups the monitor. Optional Redis-py [https://github.com/andymccurdy/redis-py] client by Andy McCurdy is used to interface with both the Redis and Disque brokers: $ pip install redis Psutil [https://github0 码力 | 53 页 | 512.86 KB | 1 年前3
 Django Q Documentation
Release 0.5.3and groups Django Admin integration PaaS compatible with multiple instances Multi cluster monitor Redis broker Python 2 and 3 Django Q is tested with: Python 2.7 & 3.4. Django 1.7.10 & 1.8.4 Contents: Configuration name workers recycle timeout compress save_limit sync queue_limit label catch_up redis django_redis cpu_affinity Tasks Async Groups Synchronous testing Connection pooling Reference Schedules migrations to create the database tables: $ python manage.py migrate Make sure you have a Redis [http://redis.io/] server running somewhere and know how to connect to it. Requirements Django Q is tested0 码力 | 46 页 | 474.97 KB | 1 年前3 Django Q Documentation
Release 0.5.3and groups Django Admin integration PaaS compatible with multiple instances Multi cluster monitor Redis broker Python 2 and 3 Django Q is tested with: Python 2.7 & 3.4. Django 1.7.10 & 1.8.4 Contents: Configuration name workers recycle timeout compress save_limit sync queue_limit label catch_up redis django_redis cpu_affinity Tasks Async Groups Synchronous testing Connection pooling Reference Schedules migrations to create the database tables: $ python manage.py migrate Make sure you have a Redis [http://redis.io/] server running somewhere and know how to connect to it. Requirements Django Q is tested0 码力 | 46 页 | 474.97 KB | 1 年前3
 Django Q Documentation
Release 0.4.6and groups Django Admin integration PaaS compatible with multiple instances Multi cluster monitor Redis broker Python 2 and 3 Django Q is tested with: Python 2.7 & 3.4. Django 1.7.9 & 1.8.3 Contents: migrations to create the database tables: $ python manage.py migrate Make sure you have a Redis [http://redis.io/] server running somewhere and know how to connect to it. Configuration Configuration 'label': 'Django Q', 'redis': { 'host': '127.0.0.1', 'port': 6379, 'db': 0, } } name Used to differentiate between projects using the same Redis server. Defaults to 'default'0 码力 | 42 页 | 203.66 KB | 1 年前3 Django Q Documentation
Release 0.4.6and groups Django Admin integration PaaS compatible with multiple instances Multi cluster monitor Redis broker Python 2 and 3 Django Q is tested with: Python 2.7 & 3.4. Django 1.7.9 & 1.8.3 Contents: migrations to create the database tables: $ python manage.py migrate Make sure you have a Redis [http://redis.io/] server running somewhere and know how to connect to it. Configuration Configuration 'label': 'Django Q', 'redis': { 'host': '127.0.0.1', 'port': 6379, 'db': 0, } } name Used to differentiate between projects using the same Redis server. Defaults to 'default'0 码力 | 42 页 | 203.66 KB | 1 年前3
 Django Q Documentation
Release 0.6.4• Django Admin integration • PaaS compatible with multiple instances • Multi cluster monitor • Redis, Disque, IronMQ or SQS • Python 2 and 3 Django Q is tested with: Python 2.7 & 3.4. Django 1.7.10 terminal layout of the monitor. Optional • Redis-py client by Andy McCurdy is used to interface with both the Redis and Disque brokers: $ pip install redis • Psutil python system and process utilities settings to the cluster: $ pip install psutil • Hiredis parser. This C library maintained by the core Redis team is faster than the standard PythonParser during high loads: $ pip install hiredis • Boto3 is0 码力 | 42 页 | 376.79 KB | 1 年前3 Django Q Documentation
Release 0.6.4• Django Admin integration • PaaS compatible with multiple instances • Multi cluster monitor • Redis, Disque, IronMQ or SQS • Python 2 and 3 Django Q is tested with: Python 2.7 & 3.4. Django 1.7.10 terminal layout of the monitor. Optional • Redis-py client by Andy McCurdy is used to interface with both the Redis and Disque brokers: $ pip install redis • Psutil python system and process utilities settings to the cluster: $ pip install psutil • Hiredis parser. This C library maintained by the core Redis team is faster than the standard PythonParser during high loads: $ pip install hiredis • Boto3 is0 码力 | 42 页 | 376.79 KB | 1 年前3
 Django Q Documentation
Release 0.2.2Result hooks Django Admin integration PaaS compatible with multiple instances Multi cluster monitor Redis Python 2 and 3 Django Q is tested with: Python 2.7 & 3.4. Django 1.7.8 & 1.8.2 Contents: Installation migrations to create the database tables: $ python manage.py migrate Make sure you have a Redis [http://redis.io/] server running somewhere Configuration Configuration is handled via the Q_ClUSTER dictionary 'label': 'Django Q', 'redis': { 'host': '127.0.0.1', 'port': 6379, 'db': 0, } } name Used to differentiate between projects using the same Redis server. Defaults to 'default'0 码力 | 25 页 | 188.69 KB | 1 年前3 Django Q Documentation
Release 0.2.2Result hooks Django Admin integration PaaS compatible with multiple instances Multi cluster monitor Redis Python 2 and 3 Django Q is tested with: Python 2.7 & 3.4. Django 1.7.8 & 1.8.2 Contents: Installation migrations to create the database tables: $ python manage.py migrate Make sure you have a Redis [http://redis.io/] server running somewhere Configuration Configuration is handled via the Q_ClUSTER dictionary 'label': 'Django Q', 'redis': { 'host': '127.0.0.1', 'port': 6379, 'db': 0, } } name Used to differentiate between projects using the same Redis server. Defaults to 'default'0 码力 | 25 页 | 188.69 KB | 1 年前3
 Django Q Documentation
Release 0.3.6Result hooks Django Admin integration PaaS compatible with multiple instances Multi cluster monitor Redis Python 2 and 3 Django Q is tested with: Python 2.7 & 3.4. Django 1.7.9 & 1.8.3 Contents: Installation migrations to create the database tables: $ python manage.py migrate Make sure you have a Redis [http://redis.io/] server running somewhere Configuration Configuration is handled via the Q_CLUSTER dictionary 'label': 'Django Q', 'redis': { 'host': '127.0.0.1', 'port': 6379, 'db': 0, } } name Used to differentiate between projects using the same Redis server. Defaults to 'default'0 码力 | 35 页 | 198.62 KB | 1 年前3 Django Q Documentation
Release 0.3.6Result hooks Django Admin integration PaaS compatible with multiple instances Multi cluster monitor Redis Python 2 and 3 Django Q is tested with: Python 2.7 & 3.4. Django 1.7.9 & 1.8.3 Contents: Installation migrations to create the database tables: $ python manage.py migrate Make sure you have a Redis [http://redis.io/] server running somewhere Configuration Configuration is handled via the Q_CLUSTER dictionary 'label': 'Django Q', 'redis': { 'host': '127.0.0.1', 'port': 6379, 'db': 0, } } name Used to differentiate between projects using the same Redis server. Defaults to 'default'0 码力 | 35 页 | 198.62 KB | 1 年前3
 Django Q Documentation
Release 0.4.6• Django Admin integration • PaaS compatible with multiple instances • Multi cluster monitor • Redis broker • Python 2 and 3 Django Q is tested with: Python 2.7 & 3.4. Django 1.7.9 & 1.8.3 Contents: Django migrations to create the database tables: $ python manage.py migrate • Make sure you have a Redis server running somewhere and know how to connect to it. 3 Django Q Documentation, Release 0.4.6 'cpu_affinity': 1, 'label': 'Django Q', 'redis': { 'host': '127.0.0.1', 'port': 6379, 'db': 0, } } name Used to differentiate between projects using the same Redis server. Defaults to ’default’. This can0 码力 | 36 页 | 249.57 KB | 1 年前3 Django Q Documentation
Release 0.4.6• Django Admin integration • PaaS compatible with multiple instances • Multi cluster monitor • Redis broker • Python 2 and 3 Django Q is tested with: Python 2.7 & 3.4. Django 1.7.9 & 1.8.3 Contents: Django migrations to create the database tables: $ python manage.py migrate • Make sure you have a Redis server running somewhere and know how to connect to it. 3 Django Q Documentation, Release 0.4.6 'cpu_affinity': 1, 'label': 'Django Q', 'redis': { 'host': '127.0.0.1', 'port': 6379, 'db': 0, } } name Used to differentiate between projects using the same Redis server. Defaults to ’default’. This can0 码力 | 36 页 | 249.57 KB | 1 年前3
 Django Q Documentation
Release 0.7.9and groups Django Admin integration PaaS compatible with multiple instances Multi cluster monitor Redis, Disque, IronMQ, SQS, MongoDB or ORM Python 2 and 3 Django Q is tested with: Python 2.7 & 3.5. Django save_limit sync queue_limit label catch_up redis django_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 the monitor. Optional Redis-py [https://github.com/andymccurdy/redis-py] client by Andy McCurdy is used to interface with both the Redis and Disque brokers: $ pip install redis Psutil [https://github0 码力 | 62 页 | 514.67 KB | 1 年前3 Django Q Documentation
Release 0.7.9and groups Django Admin integration PaaS compatible with multiple instances Multi cluster monitor Redis, Disque, IronMQ, SQS, MongoDB or ORM Python 2 and 3 Django Q is tested with: Python 2.7 & 3.5. Django save_limit sync queue_limit label catch_up redis django_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 the monitor. Optional Redis-py [https://github.com/andymccurdy/redis-py] client by Andy McCurdy is used to interface with both the Redis and Disque brokers: $ pip install redis Psutil [https://github0 码力 | 62 页 | 514.67 KB | 1 年前3
共 52 条
- 1
- 2
- 3
- 4
- 5
- 6














