Paket contrib
¶
Django bertujuan untuk mengikuti "batteries included" philosophy Python. Itu dikirim dengan beragam tambahan, alat-alat pilihan yang menyelesaikan masalah-masalah pengembangan-Jaringan umum.
This code lives in django/contrib
in the Django distribution. This document
gives a rundown of the packages in contrib
, along with any dependencies
those packages have.
Catatan
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 re-run manage.py migrate
.
admin
¶
The automatic Django administrative interface. For more information, see Tutorial 2 and the admin documentation.
Membutuhkan paket auth dan contenttypes untuk dipasang.
contenttypes
¶
A light framework for hooking into "types" of content, where each installed Django model is a separate content type.
Lihat contenttypes documentation.
flatpages
¶
A framework for managing simple "flat" HTML content in a database.
Lihat dokumentasi flatpages.
Requires the sites contrib package to be installed as well.
gis
¶
A world-class geospatial framework built on top of Django, that enables storage, manipulation and display of spatial data.
Lihat dokumentasi GeoDjango untuk lebih.
humanize
¶
A set of Django template filters useful for adding a "human touch" to data.
Lihat dokumentasi humanize.
humanize
¶
A framework for storing and retrieving temporary cookie- or session-based messages
Lihat dokumentasi pesan.
sites
¶
A light framework that lets you operate multiple websites off of the same database and Django installation. It gives you hooks for associating objects to one or more sites.
Lihat dokumentasi sites.
syndication
¶
Kerangka untuk membangkitkan umpan kongsi, dalam RSS dan ATOM, sangat mudah.
Lihat dokumentasi perkongsian.
Tambahan lain¶
If you have an idea for functionality to include in contrib
, let us know!
Code it up, and post it to the django-users mailing list.