Django 官方教程翻译项目
API 动态生成的管理页面:并非徒有其表 规划 URL 编写视图 设计模板 这只是冰山一角 Django 最初被设计用于具有快速开发需求的新闻类站点,目的是要实现简单快捷的网站开发。以下 内容简要介绍了如何使用 Django 实现一个数据库驱动的 Web 应用。 为了让您充分理解 Django 的工作原理,这份文档为您详细描述了相关的技术细节,不过这并不是 一份入门教程或者是参考文档 - 8 - 本文档使用 书栈(BookStack.CN) 构建 当你的模型完成定义,Django 就会自动生成一个专业的生产级管理页面 - 一个可以让已认证用户 进行添加、更改和删除对象的 Web 站点。你只需简单的在 admin 站点上注册你的模型即可。 1. # mysite/news/models.py 2. 3. from django.db import models 4 应用的典型流程是:先建立数据模型,然后搭建管理站点,尽可能快的跑起来。那样 你的团队(或者客户)就可以向网站里填充数据了。后面我们会谈到如何展示这些数据。 简洁优雅的 URL 规划对于一个高质量 Web 应用来说至关重要。Django 推崇优美的 URL 设计, 所以不要把诸如 .php 和 .asp 之类的冗余的后缀放到 URL 里。 为了设计你自己的 URL,你需要创建一个叫做 URLconf0 码力 | 103 页 | 1.86 MB | 1 年前3Django、Vue 和Element UI 前后端原理论述
测试天地》七十四 www.51testing.com 这是一篇什么文章? 一篇你对测试开发工作感兴趣,想了解系统工作逻辑的文章。 一篇是你在开始动手搭建环境前需要了解各工具原理的文章。 这是一篇你真正开始前需要查阅的文章。 本文介绍了前后端工作原理,前后端搭建的流程、搭建过程中需要用到的技术以及 开发环境版本。 一、前后端如何工作 Django、Vue 和 Element UI 前后 前后 端原理论述 作者:M&T. 2 《51 测试天地》七十四 www.51testing.com 后端开发(Django+Rest Framework+MySQL): Django 负责处理 HTTP 请求和响应,以及 URL 路由的配置。它接收来自前端的 HTTP 请求,并根据 URL 将请求分发给相应的视图函数进行处理。 Rest Framework 是 Django 的扩展,用于快速构建 视图和序列化器,实现数据的序列化和反序列化,从而方便地 与前端进行数据交互。 MySQL 是一个关系型数据库,用于存储后端的数据。 前端开发(Vue+Element UI): Vue 是一种现代的 JavaScript 框架,用于构建用户界面。Vue 提供了丰富的组件和模 块,可以帮助开发者构建交互式的单页面应用(SPA)。 Element UI 是一个基于 Vue 的 UI 组件库,提供了丰富的预定义组件,用于快速搭建0 码力 | 61 页 | 6.84 MB | 1 年前3Django 1.8.x Documentation
Django provides an abstraction layer (the “models”) for structuring and manipulating the data of your Web application. Learn more about it below: Models: Introduction to models | Field types | Meta options documentation generator Security Security is a topic of paramount importance in the development of Web applications and Django provides multiple protection tools and mechanisms: Security overview Disclosed multiple languages and world regions: Overview | Internationalization | Localization | Localized Web UI formatting and form input “Local flavor” Time zones Performance and optimization There are a0 码力 | 2454 页 | 2.85 MB | 1 年前3Django 1.8.x Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.14 Common Web application tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.15 Django provides an abstraction layer (the “models”) for structuring and manipulating the data of your Web application. Learn more about it below: 1 Django Documentation, Release 1.8.20.dev20180306181007 documentation generator 1.9 Security Security is a topic of paramount importance in the development of Web applications and Django provides multiple protection tools and mechanisms: • Security overview •0 码力 | 1685 页 | 6.01 MB | 1 年前3Django 1.10.x Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.15 Common Web application tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.16 • Tutorials take you by the hand through a series of steps to create a Web application. Start here if you’re new to Django or Web application development. Also look at the “First steps” below. • Topic Django provides an abstraction layer (the “models”) for structuring and manipulating the data of your Web application. Learn more about it below: • Models: Introduction to models | Field types | Meta options0 码力 | 1817 页 | 6.19 MB | 1 年前3Django 1.10.x Documentation
things: Tutorials take you by the hand through a series of steps to create a Web application. Start here if you’re new to Django or Web application development. Also look at the “First steps” below. Topic guides Django provides an abstraction layer (the “models”) for structuring and manipulating the data of your Web application. Learn more about it below: Models: Introduction to models | Field types | Meta options documentation generator Security Security is a topic of paramount importance in the development of Web applications and Django provides multiple protection tools and mechanisms: Security overview Disclosed0 码力 | 2538 页 | 2.59 MB | 1 年前3Django 2.2.x Documentation
things: Tutorials take you by the hand through a series of steps to create a Web application. Start here if you’re new to Django or Web application development. Also look at the “First steps” below. Topic guides Django provides an abstraction layer (the “models”) for structuring and manipulating the data of your Web application. Learn more about it below: Models: Introduction to models | Field types | Indexes | Meta documentation generator Security Security is a topic of paramount importance in the development of Web applications and Django provides multiple protection tools and mechanisms: Security overview Disclosed0 码力 | 2915 页 | 2.83 MB | 1 年前3Django 1.11.x Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.15 Common Web application tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.16 • Tutorials take you by the hand through a series of steps to create a Web application. Start here if you’re new to Django or Web application development. Also look at the “First steps” below. • Topic Django provides an abstraction layer (the “models”) for structuring and manipulating the data of your Web application. Learn more about it below: • Models: Introduction to models | Field types | Indexes |0 码力 | 1878 页 | 6.40 MB | 1 年前3Django 2.1.x Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.14 Common Web application tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.15 • Tutorials take you by the hand through a series of steps to create a Web application. Start here if you’re new to Django or Web application development. Also look at the “First steps” below. • Topic Django provides an abstraction layer (the “models”) for structuring and manipulating the data of your Web application. Learn more about it below: • Models: Introduction to models | Field types | Indexes |0 码力 | 1910 页 | 6.49 MB | 1 年前3Django 1.11.x Documentation
things: Tutorials take you by the hand through a series of steps to create a Web application. Start here if you’re new to Django or Web application development. Also look at the “First steps” below. Topic guides Django provides an abstraction layer (the “models”) for structuring and manipulating the data of your Web application. Learn more about it below: Models: Introduction to models | Field types | Indexes | Meta documentation generator Security Security is a topic of paramount importance in the development of Web applications and Django provides multiple protection tools and mechanisms: Security overview Disclosed0 码力 | 2747 页 | 2.67 MB | 1 年前3
共 91 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10