Django 1.4 documentation
Home
|
Table of contents
|
Index
|
Modules
«
previous
|
up
|
next
»
Django 文档中文版
¶
这里你需要知道的关于 Django 的一切(或是一些)。
Getting Help
¶
遇到困难?我们可以提供帮助!
试试
FAQ
– 它有非常多的常见问题的解答。
寻找特定问题的信息? 试试
Index
(目录),
Module Index
(Module目录)或者
详细内容目录
。
搜索
django-users 邮件列表存档
以解决问题,或是
提交一个问题
。
在
#django IRC 聊天频道
提问,或者搜索
IRC 聊天日志
看看是否已经有人问过类似的问题。
在我们的
ticket tracker
(问题管理系统),报告关于 Django 的 Bug 。
快速入门
¶
从零开始:
概要
|
安装
新手教程:
第1节
|
第2节
|
第3节
|
第4节
模型 (model) 层
¶
Models(模型):
Model 语法
|
字段类型
|
Meta 选项
QuerySets(查询集):
执行查询
|
QuerySet方法参考
Model instances(模型实例):
Instance 方法
|
访问关联的对象
进阶:
Managers管理器
|
SQL语句查询
|
事务处理
|
数据汇聚
|
自定义字段
|
多种数据库混合使用
其他:
支持的数据库
|
遗产型数据库
|
为数据库提供初始化数据
|
优化数据库
模板 (template) 层
¶
For 设计师:
语法概要
|
内建标签和过滤器
For 程序员:
模板 API
|
自定义标签和过滤器
视图 (view) 层
¶
The basics:
URLconfs
|
View functions
|
Shortcuts
|
Decorators
Reference:
Request/response objects
|
TemplateResponse objects
File uploads:
Overview
|
File objects
|
Storage API
|
Managing files
|
Custom storage
Generic views:
Overview
|
Built-in generic views
Advanced:
Generating CSV
|
Generating PDF
Middleware:
Overview
|
Built-in middleware classes
表单 (Forms)
¶
The basics:
Overview
|
Form API
|
Built-in fields
|
Built-in widgets
Advanced:
Forms for models
|
Integrating media
|
Formsets
|
Customizing validation
Extras:
Form preview
|
Form wizard
The development process
¶
Settings:
Overview/预览
|
Full list of settings
Exceptions:
Overview
django-admin.py and manage.py:
Overview
|
Adding custom commands
Testing:
Overview
Deployment:
Overview
|
WSGI servers
|
FastCGI/SCGI/AJP
|
Apache/mod_python (deprecated)
|
Apache authentication
|
Handling static files
|
Tracking code errors by email
Other batteries included
¶
Admin site
|
Admin actions
|
Admin documentation generator
Authentication
Cache system
Clickjacking protection
Comments
|
Moderation
|
Custom comments
Conditional content processing
Content types and generic relations
Cross Site Request Forgery protection
Cryptographic signing
Databrowse
E-mail (sending) / 发送邮件
Flatpages
GeoDjango
Humanize
Internationalization / 国际化
Jython support
“Local flavor”
Logging
Messages
Pagination
Redirects
Security
Serialization
Sessions
Signals
Sitemaps
Sites
Static Files
Syndication feeds (RSS/Atom)
Unicode in Django
Web design helpers
Validators
Function-based generic views (Deprecated)
Overview
|
Built-in generic views
|
Migration guide
The Django open-source project
¶
Community:
How to get involved
|
The release process
|
Team of committers
|
The Django source code repository
Design philosophies:
Overview
Documentation:
About this documentation
Third-party distributions:
Overview
Django over time:
API stability
|
Release notes and upgrading instructions
|
Deprecation Timeline
«
previous
|
up
|
next
»