Automated testing is an extremely useful bug-killing tool for the modern
Web developer. You can use a collection of tes...
AI君
1年前 (2019-03-28) 94℃
0喜欢
This document describes Django’s file access APIs for files such as those
uploaded by a user. The lower level API...
AI君
1年前 (2019-03-28) 79℃
0喜欢
Migrations are Django’s way of propagating changes you make to your models
(adding a field, deleting a model, e...
AI君
1年前 (2019-03-28) 116℃
0喜欢
Caution
This is an advanced topic. A working knowledge of Django’s
class-based views is advised before exploring...
AI君
1年前 (2019-03-28) 109℃
0喜欢
Form processing generally has 3 paths:
Initial GET (blank or prepopulated form)
POST with invalid data (typically redi...
AI君
1年前 (2019-03-28) 103℃
0喜欢
Writing Web applications can be monotonous, because we repeat certain patterns
again and again. Django tries to take aw...
AI君
1年前 (2019-03-28) 108℃
0喜欢
Class-based views provide an alternative way to implement views as Python
objects instead of functions. They do not rep...
AI君
1年前 (2019-03-28) 98℃
0喜欢
A view is a callable which takes a request and returns a
response. This can be more than just a function, and Django pr...
AI君
1年前 (2019-03-28) 88℃
0喜欢
作为一个Web框架,Django需要一种动态生成HTML的便捷方法。最常用的方法依赖于模板。模板包含所需HTML输出的静态部分以及描述动态内容将被插入的一些特殊语法。有关创建带有模板的HTML页面的示例,请参阅:doc:`Tutori...
AI君
1年前 (2019-03-28) 100℃
0喜欢
关于本页文档
本页文档介绍了Web表单的基本内容以及它们在Django中是如何处理的。想更详细的了解表单的API,参见 The Forms API , Form fields ,以及 Form and field validation ...
AI君
1年前 (2019-03-28) 92℃
0喜欢