contrib
包¶
Django aims to follow Python's "batteries included" philosophy. It ships with a variety of extra, optional tools that solve common web development problems.
这段代码位于 Django 发行版中的 django/contrib
中。本文档给出了 contrib
中的包的概要,以及这些包的依赖关系。
注解
For most of these add-ons -- specifically, the add-ons that include either
models or template tags -- you'll need to add the package name (e.g.,
'django.contrib.redirects'
) to your INSTALLED_APPS
setting
and rerun manage.py migrate
.
其他附加功能¶
如果你有一个关于 contrib
的功能的想法,请告诉我们!把它写成代码,并发布到 django-users 邮件列表。