没有合适的资源?快使用搜索试试~ 我知道了~
Django documentation(英文版).pdf
需积分: 50 18 下载量 86 浏览量
2014-10-24
10:20:26
上传
评论 1
收藏 7.56MB PDF 举报
温馨提示
试读
1174页
非常不错的Django教程,讲解非常详细,每个知识点都穿插代码实例,非常直观。
资源推荐
资源详情
资源评论
Django Documentation
Release 1.4
Django Software Foundation
May 09, 2012
CONTENTS
1 Django documentation 1
1.1 Getting help ............................................... 1
1.2 First steps ................................................. 1
1.3 The model layer ............................................. 1
1.4 The template layer ............................................ 1
1.5 The view layer .............................................. 2
1.6 Forms ................................................... 2
1.7 The development process ........................................ 2
1.8 Other batteries included ......................................... 2
1.9 The Django open-source project ..................................... 3
2 Getting started 5
2.1 Django at a glance ............................................ 5
2.2 Quick install guide ............................................ 10
2.3 Writing your first Django app, part 1 .................................. 11
2.4 Writing your first Django app, part 2 .................................. 21
2.5 Writing your first Django app, part 3 .................................. 32
2.6 Writing your first Django app, part 4 .................................. 39
2.7 What to read next ............................................. 44
3 Using Django 49
3.1 How to install Django .......................................... 49
3.2 Models and databases .......................................... 53
3.3 Handling HTTP requests ......................................... 129
3.4 Working with forms ........................................... 169
3.5 The Django template language ...................................... 199
3.6 Class-based generic views ........................................ 208
3.7 Migrating function-based generic views ................................. 217
3.8 Managing files .............................................. 219
3.9 Testing Django applications ....................................... 221
3.10 User authentication in Django ...................................... 251
3.11 Django’s cache framework ........................................ 276
3.12 Conditional View Processing ....................................... 292
3.13 Cryptographic signing .......................................... 295
3.14 Sending email .............................................. 297
3.15 Internationalization and localization ................................... 305
3.16 Logging .................................................. 339
3.17 Pagination ................................................ 346
3.18 Security in Django ............................................ 350
i
3.19 Serializing Django objects ........................................ 353
3.20 Django settings .............................................. 358
3.21 Signals .................................................. 362
3.22 Deprecated features ........................................... 365
4 “How-to” guides 375
4.1 Authenticating against Django’s user database from Apache ...................... 375
4.2 Authentication using REMOTE_USER .................................. 376
4.3 Writing custom django-admin commands ................................ 378
4.4 Writing custom model fields ....................................... 382
4.5 Custom template tags and filters ..................................... 392
4.6 Writing a custom storage system ..................................... 408
4.7 Deploying Django ............................................ 409
4.8 Error reporting .............................................. 426
4.9 Providing initial data for models ..................................... 430
4.10 Running Django on Jython ........................................ 432
4.11 Integrating Django with a legacy database ................................ 433
4.12 Outputting CSV with Django ...................................... 434
4.13 Outputting PDFs with Django ...................................... 436
4.14 Managing static files ........................................... 438
5 Django FAQ 447
5.1 FAQ: General ............................................... 447
5.2 FAQ: Installation ............................................. 450
5.3 FAQ: Using Django ........................................... 451
5.4 FAQ: Getting Help ............................................ 452
5.5 FAQ: Databases and models ....................................... 453
5.6 FAQ: The admin ............................................. 455
5.7 FAQ: Contributing code ......................................... 456
6 API Reference 459
6.1 Authentication backends ......................................... 459
6.2 Clickjacking Protection ......................................... 459
6.3 contrib packages ........................................... 461
6.4 Databases ................................................. 692
6.5 django-admin.py and manage.py ..................................... 702
6.6 Running management commands from your code ............................ 722
6.7 Django Exceptions ............................................ 722
6.8 File handling ............................................... 724
6.9 Forms ................................................... 728
6.10 Class-based generic views ........................................ 768
6.11 Middleware ................................................ 786
6.12 Models .................................................. 788
6.13 Request and response objects ...................................... 846
6.14 TemplateResponse and SimpleTemplateResponse ............................ 856
6.15 Settings .................................................. 860
6.16 Signals .................................................. 889
6.17 Templates ................................................. 895
6.18 Unicode data ............................................... 940
6.19 Django Utils ............................................... 945
6.20 Validators ................................................. 954
6.21 Deprecated features ........................................... 956
7 Meta-documentation and miscellany 973
7.1 API stability ............................................... 973
ii
7.2 Design philosophies ........................................... 976
7.3 Third-party distributions of Django ................................... 980
8 Glossary 981
9 Release notes 983
9.1 Final releases ............................................... 983
9.2 Development releases .......................................... 1054
10 Django internals 1119
10.1 Contributing to Django .......................................... 1119
10.2 Django committers ............................................ 1145
10.3 Django’s release process ......................................... 1150
10.4 Django Deprecation Timeline ...................................... 1153
10.5 The Django source code repository ................................... 1156
11 Indices, glossary and tables 1161
12 Deprecated/obsolete documentation 1163
12.1 Deprecated/obsolete documentation ................................... 1163
Python Module Index 1167
iii
剩余1173页未读,继续阅读
资源评论
_宇宙浪子_
- 粉丝: 189
- 资源: 63
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功