{"title":"Paket contrib","version":"1.9","locale":"id","docname":"ref/contrib/index","url":"/id/1.9/ref/contrib/","canonical":"https://djangodocs.dev/id/1.9/ref/contrib/","summary":"Django aims to follow Python's \"batteries included\" philosophy. It ships with a variety of extra, optional tools that solve common Web-development problems.","html":"<h1>Paket <code class=\"docutils literal notranslate\">contrib</code><a class=\"heading-anchor\" href=\"#contrib-packages\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p>Django aims to follow Python's <a class=\"reference external\" href=\"https://docs.python.org/3/tutorial/stdlib.html#tut-batteries-included\" title=\"(di Python v3.14)\"><span class=\"xref std std-ref\">&quot;batteries included&quot; philosophy</span></a>. It ships with a variety of extra, optional tools\nthat solve common Web-development problems.</p>\n<p>This code lives in <code class=\"docutils literal notranslate\">django/contrib</code> in the Django distribution. This document\ngives a rundown of the packages in <code class=\"docutils literal notranslate\">contrib</code>, along with any dependencies\nthose packages have.</p>\n<aside class=\"admonition-note admonition\" role=\"note\">\n<p class=\"admonition-title\">Catatan</p>\n<p>For most of these add-ons -- specifically, the add-ons that include either\nmodels or template tags -- you'll need to add the package name (e.g.,\n<code class=\"docutils literal notranslate\">'django.contrib.redirects'</code>) to your <a class=\"reference internal\" href=\"/id/1.9/ref/settings/#std-setting-INSTALLED_APPS\"><code class=\"xref std std-setting docutils literal notranslate\">INSTALLED_APPS</code></a> setting\nand re-run <code class=\"docutils literal notranslate\">manage.py migrate</code>.</p>\n</aside>\n<div class=\"toctree-wrapper compound\">\n<ul>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/id/1.9/ref/contrib/admin/\">The Django admin site</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/id/1.9/ref/contrib/auth/\"><code class=\"docutils literal notranslate\">django.contrib.auth</code></a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/id/1.9/ref/contrib/contenttypes/\">Kerangka contenttypes</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/id/1.9/ref/contrib/flatpages/\">Aplikasi flatpage</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/id/1.9/ref/contrib/gis/\">GeoDjango</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/id/1.9/ref/contrib/humanize/\"><code class=\"docutils literal notranslate\">django.contrib.humanize</code></a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/id/1.9/ref/contrib/messages/\">Kerangka pesan</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/id/1.9/ref/contrib/postgres/\"><code class=\"docutils literal notranslate\">django.contrib.postgres</code></a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/id/1.9/ref/contrib/redirects/\">Aplikasi pengalihan</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/id/1.9/ref/contrib/sitemaps/\">Kerangka peta situs</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/id/1.9/ref/contrib/sites/\">The &quot;sites&quot; framework</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/id/1.9/ref/contrib/staticfiles/\">The <code class=\"docutils literal notranslate\">staticfiles</code> app</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/id/1.9/ref/contrib/syndication/\">The syndication feed framework</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/id/1.9/ref/contrib/webdesign/\">django.contrib.webdesign</a></li>\n</ul>\n</div>\n<section id=\"admin\">\n<h2><code class=\"docutils literal notranslate\">admin</code><a class=\"heading-anchor\" href=\"#admin\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>The automatic Django administrative interface. For more information, see\n<a class=\"reference internal\" href=\"/id/1.9/intro/tutorial02/\"><span class=\"doc\">Tutorial 2</span></a> and the\n<a class=\"reference internal\" href=\"/id/1.9/ref/contrib/admin/\"><span class=\"doc\">admin documentation</span></a>.</p>\n<p>Membutuhkan paket <a class=\"reference internal\" href=\"#auth\">auth</a> dan <a class=\"reference internal\" href=\"#contenttypes\">contenttypes</a> untuk dipasang.</p>\n</section>\n<section id=\"auth\">\n<h2><code class=\"docutils literal notranslate\">auth</code><a class=\"heading-anchor\" href=\"#auth\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Kerangka pembuktian keaslian Django.</p>\n<p>Lihat <a class=\"reference internal\" href=\"/id/1.9/topics/auth/\"><span class=\"doc\">Pembuktian keaslian pengguna di Django</span></a>.</p>\n</section>\n<section id=\"contenttypes\">\n<h2><code class=\"docutils literal notranslate\">contenttypes</code><a class=\"heading-anchor\" href=\"#contenttypes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>A light framework for hooking into &quot;types&quot; of content, where each installed\nDjango model is a separate content type.</p>\n<p>Lihat <a class=\"reference internal\" href=\"/id/1.9/ref/contrib/contenttypes/\"><span class=\"doc\">contenttypes documentation</span></a>.</p>\n</section>\n<section id=\"flatpages\">\n<h2><code class=\"docutils literal notranslate\">flatpages</code><a class=\"heading-anchor\" href=\"#flatpages\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>A framework for managing simple &quot;flat&quot; HTML content in a database.</p>\n<p>Lihat dokumentasi <a class=\"reference internal\" href=\"/id/1.9/ref/contrib/flatpages/\"><span class=\"doc\">flatpages</span></a>.</p>\n<p>Requires the <a class=\"reference internal\" href=\"#sites\">sites</a> contrib package to be installed as well.</p>\n</section>\n<section id=\"gis\">\n<h2><code class=\"docutils literal notranslate\">gis</code><a class=\"heading-anchor\" href=\"#gis\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>A world-class geospatial framework built on top of Django, that enables\nstorage, manipulation and display of spatial data.</p>\n<p>Lihat dokumentasi <a class=\"reference internal\" href=\"/id/1.9/ref/contrib/gis/\"><span class=\"doc\">GeoDjango</span></a> untuk lebih.</p>\n</section>\n<section id=\"humanize\">\n<h2><code class=\"docutils literal notranslate\">humanize</code><a class=\"heading-anchor\" href=\"#humanize\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>A set of Django template filters useful for adding a &quot;human touch&quot; to data.</p>\n<p>Lihat dokumentasi <a class=\"reference internal\" href=\"/id/1.9/ref/contrib/humanize/\"><span class=\"doc\">humanize</span></a>.</p>\n</section>\n<section id=\"messages\">\n<h2><code class=\"docutils literal notranslate\">humanize</code><a class=\"heading-anchor\" href=\"#messages\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>A framework for storing and retrieving temporary cookie- or session-based\nmessages</p>\n<p>Lihat <a class=\"reference internal\" href=\"/id/1.9/ref/contrib/messages/\"><span class=\"doc\">dokumentasi pesan</span></a>.</p>\n</section>\n<section id=\"postgres\">\n<h2><code class=\"docutils literal notranslate\">postgres</code><a class=\"heading-anchor\" href=\"#postgres\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Kumpulan fitus khusus PostgreSQL.</p>\n<p>Lihat <a class=\"reference internal\" href=\"/id/1.9/ref/contrib/postgres/\"><span class=\"doc\">dokumentasi contrib.postgres</span></a>.</p>\n</section>\n<section id=\"redirects\">\n<h2><code class=\"docutils literal notranslate\">redirects</code><a class=\"heading-anchor\" href=\"#redirects\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Sebuah kerangka untuk mengelola pengalihan.</p>\n<p>Lihat  <a class=\"reference internal\" href=\"/id/1.9/ref/contrib/redirects/\"><span class=\"doc\">dokumentasi pengalihan</span></a>.</p>\n</section>\n<section id=\"sessions\">\n<h2><code class=\"docutils literal notranslate\">sessions</code><a class=\"heading-anchor\" href=\"#sessions\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>A framework for storing data in anonymous sessions.</p>\n<p>Lihat dokumentasi <a class=\"reference internal\" href=\"/id/1.9/topics/http/sessions/\"><span class=\"doc\">sessions</span></a>.</p>\n</section>\n<section id=\"sites\">\n<h2><code class=\"docutils literal notranslate\">sites</code><a class=\"heading-anchor\" href=\"#sites\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>A light framework that lets you operate multiple websites off of the same\ndatabase and Django installation. It gives you hooks for associating objects to\none or more sites.</p>\n<p>Lihat dokumentasi <a class=\"reference internal\" href=\"/id/1.9/ref/contrib/sites/\"><span class=\"doc\">sites</span></a>.</p>\n</section>\n<section id=\"sitemaps\">\n<h2><code class=\"docutils literal notranslate\">sitemaps</code><a class=\"heading-anchor\" href=\"#sitemaps\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Kerangka untuk membangkitkan berkas XML petasitus Google.</p>\n<p>Lihat dokumentasi <a class=\"reference internal\" href=\"/id/1.9/ref/contrib/sitemaps/\"><span class=\"doc\">sitemaps</span></a>.</p>\n</section>\n<section id=\"syndication\">\n<h2><code class=\"docutils literal notranslate\">syndication</code><a class=\"heading-anchor\" href=\"#syndication\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Kerangka untuk membangkitkan umpan kongsi, dalam RSS dan ATOM, sangat mudah.</p>\n<p>Lihat <a class=\"reference internal\" href=\"/id/1.9/ref/contrib/syndication/\"><span class=\"doc\">dokumentasi perkongsian</span></a>.</p>\n</section>\n<section id=\"webdesign\">\n<h2>perancanganjaringan<a class=\"heading-anchor\" href=\"#webdesign\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Helpers and utilities targeted primarily at Web <em>designers</em> rather than\nWeb <em>developers</em>.</p>\n<p>Lihat <a class=\"reference internal\" href=\"/id/1.9/ref/contrib/webdesign/\"><span class=\"doc\">Dokumentasi pembantu rancang Jaringan</span></a>.</p>\n</section>\n<section id=\"other-add-ons\">\n<h2>Tambahan lain<a class=\"heading-anchor\" href=\"#other-add-ons\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>If you have an idea for functionality to include in <code class=\"docutils literal notranslate\">contrib</code>, let us know!\nCode it up, and post it to the <a class=\"reference internal\" href=\"/id/1.9/internals/mailing-lists/#django-users-mailing-list\"><span class=\"std std-ref\">django-users</span></a> mailing list.</p>\n</section>","rootId":"contrib-packages","toc":[{"title":"admin","anchor":"admin","children":[]},{"title":"auth","anchor":"auth","children":[]},{"title":"contenttypes","anchor":"contenttypes","children":[]},{"title":"flatpages","anchor":"flatpages","children":[]},{"title":"gis","anchor":"gis","children":[]},{"title":"humanize","anchor":"humanize","children":[]},{"title":"humanize","anchor":"messages","children":[]},{"title":"postgres","anchor":"postgres","children":[]},{"title":"redirects","anchor":"redirects","children":[]},{"title":"sessions","anchor":"sessions","children":[]},{"title":"sites","anchor":"sites","children":[]},{"title":"sitemaps","anchor":"sitemaps","children":[]},{"title":"syndication","anchor":"syndication","children":[]},{"title":"perancanganjaringan","anchor":"webdesign","children":[]},{"title":"Tambahan lain","anchor":"other-add-ons","children":[]}],"breadcrumbs":[{"docname":"ref/index","title":"Acuan API","url":"/id/1.9/ref/"}],"prev":{"docname":"ref/clickjacking","title":"Perlindungan clickjacking","url":"/id/1.9/ref/clickjacking/"},"next":{"docname":"ref/contrib/admin/index","title":"The Django admin site","url":"/id/1.9/ref/contrib/admin/"},"formats":{"html":"/id/1.9/ref/contrib/","markdown":"/id/1.9/ref/contrib.md","json":"/id/1.9/ref/contrib.json"},"source":"https://github.com/django/django/blob/stable/1.9.x/docs/ref/contrib/index.txt","official":"https://docs.djangoproject.com/id/1.9/ref/contrib/","inVersions":["6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0","1.11","1.10","1.9"],"inLocales":["en","fr","ja","id","pt-br","es"]}