{"title":"Kerangka pemeriksaan sistem","version":"6.1","locale":"id","docname":"ref/checks","url":"/id/6.1/ref/checks/","canonical":"https://djangodocs.dev/id/6.1/ref/checks/","summary":"Kerangka sistem pemeriksaan adalah kumpulan dari pemeriksaan tetap untuk memeriksa kebenaran proyek Django.","html":"<h1>Kerangka pemeriksaan sistem<a class=\"heading-anchor\" href=\"#system-check-framework\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p>Kerangka sistem pemeriksaan adalah kumpulan dari pemeriksaan tetap untuk memeriksa kebenaran proyek Django. Dia menemukan masalah umum dan menyediakan petunjuk untuk bagaimana memperbaiki mereka. Kerangka ini dapat diperpanjang sehingga anda dapat dengan mudah menambahkan pemeriksaan anda sendiri.</p>\n<p>Untuk rincian bagaimana anda menambahkan pemeriksaan sendiri dan menyatukan mereka ke dalam pemeriksaan sistem Django, lihat <a class=\"reference internal\" href=\"/id/6.1/topics/checks/\"><span class=\"doc\">System check topic guide</span></a>.</p>\n<section id=\"api-reference\">\n<h2>Acuan API<a class=\"heading-anchor\" href=\"#api-reference\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<section id=\"checkmessage\">\n<h3><code class=\"docutils literal notranslate\">CheckMessage</code><a class=\"heading-anchor\" href=\"#checkmessage\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<dl class=\"py class\">\n<dt class=\"sig sig-object py\" id=\"django.core.checks.CheckMessage\">\n<em class=\"property\"><span class=\"k\">class</span> </em><span class=\"sig-name descname\">CheckMessage</span><span class=\"sig-paren\">(</span><em class=\"sig-param\">level</em>, <em class=\"sig-param\">msg</em>, <em class=\"sig-param\">hint<span class=\"o\">=</span><span class=\"default_value\">None</span></em>, <em class=\"sig-param\">obj<span class=\"o\">=</span><span class=\"default_value\">None</span></em>, <em class=\"sig-param\">id<span class=\"o\">=</span><span class=\"default_value\">None</span></em><span class=\"sig-paren\">)</span><a class=\"heading-anchor\" href=\"#django.core.checks.CheckMessage\"><span class=\"visually-hidden\">Link to this definition</span><span aria-hidden=\"true\">#</span></a></dt>\n<dd><p>Peringatan dan kesalahan dimunculkan oleh sistem pemeriksaan harus contoh dari <code class=\"docutils literal notranslate\">CheckMessage</code>. Sebuah instance merangkum kesalahan atau peringatan dapat dilaporkan tunggal. Dia juga menyediakan konteks dan petunjuk yang berlaku pada pesan, dan penciri unik yang digunakan untuk tujuan penyaringan.</p>\n<p>Argumen pembangun adalah:</p>\n<dl class=\"simple\">\n<dt><code class=\"docutils literal notranslate\">level</code></dt><dd><p>The severity of the message. Use one of the predefined values: <code class=\"docutils literal notranslate\">DEBUG</code>\n, <code class=\"docutils literal notranslate\">INFO</code>, <code class=\"docutils literal notranslate\">WARNING</code>, <code class=\"docutils literal notranslate\">ERROR</code>, <code class=\"docutils literal notranslate\">CRITICAL</code>. If the level is\ngreater or equal to <code class=\"docutils literal notranslate\">ERROR</code>, then Django will prevent management\ncommands from executing. Messages with level lower than <code class=\"docutils literal notranslate\">ERROR</code>\n(i.e. warnings) are reported to the console, but can be silenced.</p>\n</dd>\n<dt><code class=\"docutils literal notranslate\">msg</code></dt><dd><p>Deretan kalimat (kurang dari 80 karakter) pendek menggambarkan masalah. Deretan kalimat seharusnya <em>tidak</em> mengandung baris baru.</p>\n</dd>\n<dt><code class=\"docutils literal notranslate\">hint</code></dt><dd><p>Deretan karakter baris-tunggal menyediakan petunjuk untuk memperbaiki masalah. Jika tidak ada petunjuk disediakan, atau petunjuk adalah terbukti-sendiri dari pesan kesalahan, petunjuk dapat diabaikan, atau nilai dari <code class=\"docutils literal notranslate\">None</code> dapat digunakan.</p>\n</dd>\n<dt><code class=\"docutils literal notranslate\">obj</code></dt><dd><p>Pilihan. Sebuah obyek menyediakan konteks untuk pesan (sebagai contoh, model dimana masalah ditemukan). Obyek harus berupa sebuah model, bidang, atau pengelola atau obyek lain yang menentukan sebuah metode <code class=\"docutils literal notranslate\">__str__()</code>. Metode ini digunakan selagi melaporkan semua pesan dan hasilnya mendahului pesan.</p>\n</dd>\n<dt><code class=\"docutils literal notranslate\">id</code></dt><dd><p>Deretan karakter pilihan. Sebuah penciri unik untuk masalah. Penciri harus mengikuti pola <code class=\"docutils literal notranslate\">applabel.X001</code>, dimana <code class=\"docutils literal notranslate\">X</code> adalah satu dari huruf <code class=\"docutils literal notranslate\">CEWID</code>, menunjukkan kesederhanaan pesan (<code class=\"docutils literal notranslate\">C</code> for kritis, <code class=\"docutils literal notranslate\">E</code> untuk kesalahan dan sebagainya). Angka dapat dialokasikan dengan aplikasi, tetapi harus unik dalam aplikasi itu.</p>\n</dd>\n</dl>\n</dd></dl>\n\n<p>Ada subkelas-subkelas untuk membuat pesan dengan tingkatan umum lebih mudah. Ketika menggunakan mereka anda dapat megnabaikan argumen <code class=\"docutils literal notranslate\">level</code> karena dia disisipkan oleh nama kelas.</p>\n<dl class=\"py class\">\n<dt class=\"sig sig-object py\" id=\"django.core.checks.Debug\">\n<em class=\"property\"><span class=\"k\">class</span> </em><span class=\"sig-name descname\">Debug</span><span class=\"sig-paren\">(</span><em class=\"sig-param\">msg</em>, <em class=\"sig-param\">hint<span class=\"o\">=</span><span class=\"default_value\">None</span></em>, <em class=\"sig-param\">obj<span class=\"o\">=</span><span class=\"default_value\">None</span></em>, <em class=\"sig-param\">id<span class=\"o\">=</span><span class=\"default_value\">None</span></em><span class=\"sig-paren\">)</span><a class=\"heading-anchor\" href=\"#django.core.checks.Debug\"><span class=\"visually-hidden\">Link to this definition</span><span aria-hidden=\"true\">#</span></a></dt>\n<dd></dd></dl>\n\n<dl class=\"py class\">\n<dt class=\"sig sig-object py\" id=\"django.core.checks.Info\">\n<em class=\"property\"><span class=\"k\">class</span> </em><span class=\"sig-name descname\">Info</span><span class=\"sig-paren\">(</span><em class=\"sig-param\">msg</em>, <em class=\"sig-param\">hint<span class=\"o\">=</span><span class=\"default_value\">None</span></em>, <em class=\"sig-param\">obj<span class=\"o\">=</span><span class=\"default_value\">None</span></em>, <em class=\"sig-param\">id<span class=\"o\">=</span><span class=\"default_value\">None</span></em><span class=\"sig-paren\">)</span><a class=\"heading-anchor\" href=\"#django.core.checks.Info\"><span class=\"visually-hidden\">Link to this definition</span><span aria-hidden=\"true\">#</span></a></dt>\n<dd></dd></dl>\n\n<dl class=\"py class\">\n<dt class=\"sig sig-object py\" id=\"django.core.checks.Warning\">\n<em class=\"property\"><span class=\"k\">class</span> </em><span class=\"sig-name descname\">Warning</span><span class=\"sig-paren\">(</span><em class=\"sig-param\">msg</em>, <em class=\"sig-param\">hint<span class=\"o\">=</span><span class=\"default_value\">None</span></em>, <em class=\"sig-param\">obj<span class=\"o\">=</span><span class=\"default_value\">None</span></em>, <em class=\"sig-param\">id<span class=\"o\">=</span><span class=\"default_value\">None</span></em><span class=\"sig-paren\">)</span><a class=\"heading-anchor\" href=\"#django.core.checks.Warning\"><span class=\"visually-hidden\">Link to this definition</span><span aria-hidden=\"true\">#</span></a></dt>\n<dd></dd></dl>\n\n<dl class=\"py class\">\n<dt class=\"sig sig-object py\" id=\"django.core.checks.Error\">\n<em class=\"property\"><span class=\"k\">class</span> </em><span class=\"sig-name descname\">Error</span><span class=\"sig-paren\">(</span><em class=\"sig-param\">msg</em>, <em class=\"sig-param\">hint<span class=\"o\">=</span><span class=\"default_value\">None</span></em>, <em class=\"sig-param\">obj<span class=\"o\">=</span><span class=\"default_value\">None</span></em>, <em class=\"sig-param\">id<span class=\"o\">=</span><span class=\"default_value\">None</span></em><span class=\"sig-paren\">)</span><a class=\"heading-anchor\" href=\"#django.core.checks.Error\"><span class=\"visually-hidden\">Link to this definition</span><span aria-hidden=\"true\">#</span></a></dt>\n<dd></dd></dl>\n\n<dl class=\"py class\">\n<dt class=\"sig sig-object py\" id=\"django.core.checks.Critical\">\n<em class=\"property\"><span class=\"k\">class</span> </em><span class=\"sig-name descname\">Critical</span><span class=\"sig-paren\">(</span><em class=\"sig-param\">msg</em>, <em class=\"sig-param\">hint<span class=\"o\">=</span><span class=\"default_value\">None</span></em>, <em class=\"sig-param\">obj<span class=\"o\">=</span><span class=\"default_value\">None</span></em>, <em class=\"sig-param\">id<span class=\"o\">=</span><span class=\"default_value\">None</span></em><span class=\"sig-paren\">)</span><a class=\"heading-anchor\" href=\"#django.core.checks.Critical\"><span class=\"visually-hidden\">Link to this definition</span><span aria-hidden=\"true\">#</span></a></dt>\n<dd></dd></dl>\n\n</section>\n</section>\n<section id=\"builtin-tags\">\n<span id=\"system-check-builtin-tags\"></span><h2>Etiket siap pakai<a class=\"heading-anchor\" href=\"#builtin-tags\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Sistem pemeriksaan Django diorganisasikan menggunakan etiket berikut:</p>\n<ul class=\"simple\">\n<li><p><code class=\"docutils literal notranslate\">admin</code>: Memeriksa pernyataan situs admin apapun.</p></li>\n<li><p><code class=\"docutils literal notranslate\">async_support</code>: Memeriksa konfigurasi terkait-asinkron.</p></li>\n<li><p><code class=\"docutils literal notranslate\">caches</code>: Memeriksa penyimpanan konfigurasi terkait.</p></li>\n<li><p><code class=\"docutils literal notranslate\">compatibility</code>: Masalah potensial tanda dengan versi ditingkatkan.</p></li>\n<li><p><code class=\"docutils literal notranslate\">commands</code>: Checks custom management commands related configuration.</p></li>\n<li><p><code class=\"docutils literal notranslate\">database</code>: Checks database-related configuration issues. Database checks\nare not run by default because they do more than only static code analysis as\nmost regular checks do. They are only run by the <a class=\"reference internal\" href=\"/id/6.1/ref/django-admin/#django-admin-migrate\"><code class=\"xref std std-djadmin docutils literal notranslate\">migrate</code></a> command\nor if you specify configured database aliases using the <code class=\"docutils literal notranslate\">--database</code> option\nwhen calling the <a class=\"reference internal\" href=\"/id/6.1/ref/django-admin/#django-admin-check\"><code class=\"xref std std-djadmin docutils literal notranslate\">check</code></a> command.</p></li>\n<li><p><code class=\"docutils literal notranslate\">files</code>: Memeriksa konfigurasi berkas terkait.</p></li>\n<li><p><code class=\"docutils literal notranslate\">mail</code>: Checks email related configuration.</p></li>\n<li><p><code class=\"docutils literal notranslate\">models</code>: Memeriksa bidang model, bidang, dan pengertian pengelolaan.</p></li>\n<li><p><code class=\"docutils literal notranslate\">security</code>: Memeriksa keamanan konfigurasi terkait.</p></li>\n<li><p><code class=\"docutils literal notranslate\">signals</code>: Memeriksa pada pernyataan sinyal dan penangan pendaftaran.</p></li>\n<li><p><code class=\"docutils literal notranslate\">sites</code>: Memeriksa konfigurasi <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/sites/#module-django.contrib.sites\" title=\"django.contrib.sites: Lets you operate multiple websites from the same database and Django project\"><code class=\"xref py py-mod docutils literal notranslate\">django.contrib.sites</code></a>.</p></li>\n<li><p><code class=\"docutils literal notranslate\">staticfiles</code>: Memeriksa konfigurasi <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/staticfiles/#module-django.contrib.staticfiles\" title=\"django.contrib.staticfiles: An app for handling static files.\"><code class=\"xref py py-mod docutils literal notranslate\">django.contrib.staticfiles</code></a>.</p></li>\n<li><p><code class=\"docutils literal notranslate\">templates</code>: Memeriksa cetakan konfigurasi terkait.</p></li>\n<li><p><code class=\"docutils literal notranslate\">translation</code>: Memeriksa terjemahan terkait konfigurasi.</p></li>\n<li><p><code class=\"docutils literal notranslate\">urls</code>: Memeriksa konfigurasi URL.</p></li>\n</ul>\n<p>Beberapa pemeriksaan mungkin didaftarkan dengan banyak etiket.</p>\n</section>\n<section id=\"core-system-checks\">\n<h2>Memeriksa sistem inti<a class=\"heading-anchor\" href=\"#core-system-checks\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<section id=\"asynchronous-support\">\n<h3>Dukungan asinkronus<a class=\"heading-anchor\" href=\"#asynchronous-support\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Pemeriksanaan berikut mengecek setelan anda untuk <a class=\"reference internal\" href=\"/id/6.1/topics/async/\"><span class=\"doc\">Dukungan asinkronus</span></a>:</p>\n<ul class=\"simple\">\n<li><p><strong>async.E001</strong>: You should not set the <span class=\"target\" id=\"index-0\"></span><a class=\"reference internal\" href=\"/id/6.1/topics/async/#envvar-DJANGO_ALLOW_ASYNC_UNSAFE\"><code class=\"xref std std-envvar docutils literal notranslate\">DJANGO_ALLOW_ASYNC_UNSAFE</code></a>\nenvironment variable in deployment. This disables <a class=\"reference internal\" href=\"/id/6.1/topics/async/#async-safety\"><span class=\"std std-ref\">async safety\nprotection</span></a>.</p></li>\n</ul>\n</section>\n<section id=\"backwards-compatibility\">\n<h3>Kesesuaian kebelakang<a class=\"heading-anchor\" href=\"#backwards-compatibility\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Peringatan pemeriksaan kesesuaian dari kemungkinan masalah-masalah yang akan muncul setelah meningkatkan Django.</p>\n<ul class=\"simple\">\n<li><p><strong>2_0.W001</strong>: pola URL anda <code class=\"docutils literal notranslate\">&lt;pattern&gt;</code> mempunyai sebuah <code class=\"docutils literal notranslate\">route</code> yang mengandung <code class=\"docutils literal notranslate\">(?P&lt;</code>, dimulai dengan <code class=\"docutils literal notranslate\">^</code>, atau berakhir dengan <code class=\"docutils literal notranslate\">$</code>. Ini sepertinya sebuah kelalaian ketika memindahkan dari <code class=\"docutils literal notranslate\">url()</code> ke <a class=\"reference internal\" href=\"/id/6.1/ref/urls/#django.urls.path\" title=\"django.urls.path\"><code class=\"xref py py-func docutils literal notranslate\">path()</code></a>.</p></li>\n<li><p><strong>4_0.E001</strong>: Seperti Django 4.0, nilai dalam pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-CSRF_TRUSTED_ORIGINS\"><code class=\"xref std std-setting docutils literal notranslate\">CSRF_TRUSTED_ORIGINS</code></a> harus dimulai dengan skema (biasanya <code class=\"docutils literal notranslate\">http://</code> atau <code class=\"docutils literal notranslate\">https://</code>) tetapi ditemukan <code class=\"docutils literal notranslate\">&lt;hostname&gt;</code>.</p></li>\n</ul>\n</section>\n<section id=\"caches\">\n<h3>Tembolok<a class=\"heading-anchor\" href=\"#caches\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Pemeriksaan berikut memeriksa bahwa pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-CACHES\"><code class=\"xref std std-setting docutils literal notranslate\">CACHES</code></a> anda dengan benar dikonfigurasi:</p>\n<ul class=\"simple\">\n<li><p><strong>caches.E001</strong>: Anda harus menentukan sebuah penyimpanan <code class=\"docutils literal notranslate\">'default'</code> di pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-CACHES\"><code class=\"xref std std-setting docutils literal notranslate\">CACHES</code></a>.</p></li>\n<li><p><strong>caches.W002</strong>: Konfigurasi <code class=\"docutils literal notranslate\">&lt;cache&gt;</code> anda mungkin membuka cache atau menuju korupsi data anda karena <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-CACHES-LOCATION\"><code class=\"xref std std-setting docutils literal notranslate\">LOCATION</code></a> matches/is inside/contains <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-MEDIA_ROOT\"><code class=\"xref std std-setting docutils literal notranslate\">MEDIA_ROOT</code></a>/<a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-STATIC_ROOT\"><code class=\"xref std std-setting docutils literal notranslate\">STATIC_ROOT</code></a>/<a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-STATICFILES_DIRS\"><code class=\"xref std std-setting docutils literal notranslate\">STATICFILES_DIRS</code></a>.</p></li>\n<li><p><strong>caches.W003</strong>: <code class=\"docutils literal notranslate\">&lt;cache&gt;</code> cache <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-CACHES-LOCATION\"><code class=\"xref std std-setting docutils literal notranslate\">LOCATION</code></a> anda itu relatif. Gunakan jalur mutlak sebagai gantinya.</p></li>\n</ul>\n</section>\n<section id=\"database\">\n<h3>Basisdata<a class=\"heading-anchor\" href=\"#database\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<section id=\"mysql-and-mariadb\">\n<h4>MySQL dan MariaDB<a class=\"heading-anchor\" href=\"#mysql-and-mariadb\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Jika anda menggunakan MySQL atau MariaDB, pemeriksaan berikut akan dilakukan:</p>\n<ul class=\"simple\">\n<li><p><strong>mysql.E001</strong>: MySQL/MariaDB tidak mengizinkan <code class=\"docutils literal notranslate\">CharField</code> unik memiliki <code class=\"docutils literal notranslate\">max_length</code> &gt; 255. <em>Pemeriksaan ini berubah pada</em> <code class=\"docutils literal notranslate\">mysql.W003</code> <em>di Django 3.1 ketika ukuran asli maksimal bergantung pada banyak faktor.</em></p></li>\n<li><p><strong>mysql.W002</strong>: MySQL/MariaDB Strict Mode is not set for database connection <code class=\"docutils literal notranslate\">&lt;alias&gt;</code>. Lihat juga <a class=\"reference internal\" href=\"/id/6.1/ref/databases/#mysql-sql-mode\"><span class=\"std std-ref\">Mengatur sql_mode</span></a>.</p></li>\n<li><p><strong>mysql.W003</strong>: MySQL/MariaDB mungkin tidak mengizinkan <code class=\"docutils literal notranslate\">CharField</code> untuk memiliki <code class=\"docutils literal notranslate\">max_length</code> &gt; 255.</p></li>\n</ul>\n</section>\n</section>\n<section id=\"mail\">\n<h3>Mail<a class=\"heading-anchor\" href=\"#mail\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>The following checks verify that your <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-MAILERS\"><code class=\"xref std std-setting docutils literal notranslate\">MAILERS</code></a> setting is correctly\nconfigured:</p>\n<ul class=\"simple\">\n<li><p><strong>mail.E001</strong>: Your <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-MAILERS\"><code class=\"xref std std-setting docutils literal notranslate\">MAILERS</code></a> setting uses a development-only email\nbackend in the <code class=\"docutils literal notranslate\">'default'</code> entry (<code class=\"docutils literal notranslate\">&lt;backend&gt;</code>). (Only checked when the\n<a class=\"reference internal\" href=\"/id/6.1/ref/django-admin/#cmdoption-check-deploy\"><code class=\"xref std std-option docutils literal notranslate\">check --deploy</code></a> option is used.)</p></li>\n<li><p><strong>mail.W001</strong>: Your <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-MAILERS\"><code class=\"xref std std-setting docutils literal notranslate\">MAILERS</code></a> setting has no <code class=\"docutils literal notranslate\">'default'</code> entry.\nSending email without a valid mailer will fail.</p></li>\n</ul>\n</section>\n<section id=\"managing-files\">\n<h3>Mengelola berkas<a class=\"heading-anchor\" href=\"#managing-files\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Pemeriksaan berikut memeriksa setelan anda untuk for <a class=\"reference internal\" href=\"/id/6.1/topics/files/\"><span class=\"doc\">Mengelola berkas</span></a>:</p>\n<ul class=\"simple\">\n<li><p><strong>files.E001</strong>: Pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-FILE_UPLOAD_TEMP_DIR\"><code class=\"xref std std-setting docutils literal notranslate\">FILE_UPLOAD_TEMP_DIR</code></a> mengacu pada direktori tidak ada <code class=\"docutils literal notranslate\">&lt;path&gt;</code>.</p></li>\n</ul>\n</section>\n<section id=\"model-fields\">\n<h3>Bidang-bidang model<a class=\"heading-anchor\" href=\"#model-fields\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p><strong>fields.E001</strong>: Nama bidang tidak boleh berakhir dengan garis bawah.</p></li>\n<li><p><strong>fields.E002</strong>: Nama bidang tidak harus mengandung <code class=\"docutils literal notranslate\">&quot;__&quot;</code>.</p></li>\n<li><p><strong>fields.E003</strong>: <code class=\"docutils literal notranslate\">pk</code> adalah kata terpesan yang tidak dapat digunakan sebagai nama bidang.</p></li>\n<li><p><strong>fields.E004</strong>: <code class=\"docutils literal notranslate\">choices</code> must be a mapping (e.g. a dictionary) or an\nordered iterable (e.g. a list or tuple, but not a set).</p></li>\n<li><p><strong>fields.E005</strong>: <code class=\"docutils literal notranslate\">choices</code> must be a mapping of actual values to human\nreadable names or an iterable containing <code class=\"docutils literal notranslate\">(actual value, human readable\nname)</code> tuples.</p></li>\n<li><p><strong>fields.E006</strong>: <code class=\"docutils literal notranslate\">db_index</code> harus berupa <code class=\"docutils literal notranslate\">None</code>, <code class=\"docutils literal notranslate\">True</code> atau <code class=\"docutils literal notranslate\">False</code>.</p></li>\n<li><p><strong>fields.E007</strong>: Primary key tidak harus mempunyai <code class=\"docutils literal notranslate\">null=True</code>.</p></li>\n<li><p><strong>fields.E008</strong>: Semua <code class=\"docutils literal notranslate\">validators</code> harus dapat dipanggil.</p></li>\n<li><p><strong>fields.E009</strong>: <code class=\"docutils literal notranslate\">max_length</code> terlalu kecil untuk mengisi nilai terpanjang dalam <code class=\"docutils literal notranslate\">choices</code> (karakter <code class=\"docutils literal notranslate\">&lt;count&gt;</code>).</p></li>\n<li><p><strong>fields.E010</strong>: <code class=\"docutils literal notranslate\">&lt;field&gt;</code> awalan harus dapat dipanggil daripada sebuah instance sehingga dia tidak dibagi diantara semua bidang instance.</p></li>\n<li><p><strong>fields.E011</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> does not support default database values with\nexpressions (<code class=\"docutils literal notranslate\">db_default</code>).</p></li>\n<li><p><strong>fields.E012</strong>: <code class=\"docutils literal notranslate\">&lt;expression&gt;</code> cannot be used in <code class=\"docutils literal notranslate\">db_default</code>.</p></li>\n<li><p><strong>fields.E013</strong>: <code class=\"docutils literal notranslate\">CompositePrimaryKey</code> must be named <code class=\"docutils literal notranslate\">pk</code>.</p></li>\n<li><p><strong>fields.E100</strong>: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>AutoField harus disetel primary_key=True.</p></li>\n<li><p><strong>fields.E110</strong>: <code class=\"docutils literal notranslate\">BooleanField</code> tidak menerima nilai null. <em>Pemeriksaan ini muncul sebelum dukungan untuk nilai null telah ditambahkan pada Django 2.1.</em></p></li>\n<li><p><strong>fields.E120</strong>: <code class=\"docutils literal notranslate\">CharField</code> harus menentukan atribut <code class=\"docutils literal notranslate\">max_length</code>.</p></li>\n<li><p><strong>fields.E121</strong>: <code class=\"docutils literal notranslate\">max_length</code> harus integer positif.</p></li>\n<li><p><strong>fields.W122</strong>: <code class=\"docutils literal notranslate\">max_length</code> diabaikan ketika digunakan dengan <code class=\"docutils literal notranslate\">&lt;integer field type&gt;</code>.</p></li>\n<li><p><strong>fields.E130</strong>: <code class=\"docutils literal notranslate\">DecimalField</code> harus ditentukan atribut <code class=\"docutils literal notranslate\">decimal_places</code>.</p></li>\n<li><p><strong>fields.E131</strong>: <code class=\"docutils literal notranslate\">decimal_places</code> harus berupa integer bukan-negatif.</p></li>\n<li><p><strong>fields.E132</strong>: <code class=\"docutils literal notranslate\">DecimalField</code> harus ditentukan atribut <code class=\"docutils literal notranslate\">max_digits</code>.</p></li>\n<li><p><strong>fields.E133</strong>: <code class=\"docutils literal notranslate\">max_digits</code> harus berupa integer positif.</p></li>\n<li><p><strong>fields.E134</strong>: <code class=\"docutils literal notranslate\">max_digits</code> harus lebih besar atau sama dengan <code class=\"docutils literal notranslate\">decimal_places</code>.</p></li>\n<li><p><strong>fields.E135</strong>: <code class=\"docutils literal notranslate\">DecimalField</code>’s <code class=\"docutils literal notranslate\">max_digits</code> and <code class=\"docutils literal notranslate\">decimal_places</code>\nmust both be defined or both omitted.</p></li>\n<li><p><strong>fields.E140</strong>: <code class=\"docutils literal notranslate\">FilePathField</code> harus mempunyai salah satu <code class=\"docutils literal notranslate\">allow_files</code> atau <code class=\"docutils literal notranslate\">allow_folders</code> disetel ke True.</p></li>\n<li><p><strong>fields.E150</strong>: <code class=\"docutils literal notranslate\">GenericIPAddressField</code> tidak boleh memiliki <code class=\"docutils literal notranslate\">blank=True</code> jika <code class=\"docutils literal notranslate\">null=False</code>, sebagai nilai kosong disimpan sebagai null.</p></li>\n<li><p><strong>fields.E160</strong>: Pilihan <code class=\"docutils literal notranslate\">auto_now</code>, <code class=\"docutils literal notranslate\">auto_now_add</code>, dan <code class=\"docutils literal notranslate\">default</code> saling eksklusif. Hanya satu dari pilihan-pilihan ini mungkin dihadirkan.</p></li>\n<li><p><strong>fields.W161</strong>: Nilai awal tetap disediakan.</p></li>\n<li><p><strong>fields.W162</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> tidak mendukung indeks basisdata di kolom <code class=\"docutils literal notranslate\">&lt;field data type&gt;</code>.</p></li>\n<li><p><strong>fields.W163</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> tidak mendukung komentatar pada kolom (<code class=\"docutils literal notranslate\">db_comment</code>).</p></li>\n<li><p><strong>fields.E170</strong>: <code class=\"docutils literal notranslate\">default</code> <code class=\"docutils literal notranslate\">BinaryField</code>’tidak boleh string. Gunakan isian byte.</p></li>\n<li><p><strong>fields.E180</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> tidak mendukung <code class=\"docutils literal notranslate\">JSONField</code>s.</p></li>\n<li><p><strong>fields.E190</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> tidak mendukung pengumpulan basis data pada <code class=\"docutils literal notranslate\">&lt;field_type&gt;</code>s.</p></li>\n<li><p><strong>fields.E220</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> does not support <code class=\"docutils literal notranslate\">GeneratedField</code>s.</p></li>\n<li><p><strong>fields.E221</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> does not support non-persisted\n<code class=\"docutils literal notranslate\">GeneratedField</code>s.</p></li>\n<li><p><strong>fields.E222</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> does not support persisted\n<code class=\"docutils literal notranslate\">GeneratedField</code>s.</p></li>\n<li><p><strong>fields.E223</strong>: <code class=\"docutils literal notranslate\">GeneratedField.output_field</code> has errors: ...</p></li>\n<li><p><strong>fields.W224</strong>: <code class=\"docutils literal notranslate\">GeneratedField.output_field</code> has warnings: ...</p></li>\n<li><p><strong>fields.W225</strong>: <code class=\"docutils literal notranslate\">null</code> has no effect on <code class=\"docutils literal notranslate\">GeneratedField</code>. <em>This check\nis removed in Django 6.1.2.</em></p></li>\n<li><p><strong>fields.E900</strong>: <code class=\"docutils literal notranslate\">IPAddressField</code> telah dipindahkan kecuali untuk dukungan dalam riwayat perpindahan.</p></li>\n<li><p><em>fields.W900*</em>: <code class=\"docutils literal notranslate\">IPAddressField</code> telah diusangkan. Dukung untuk dia (kecuali dalam riwayat perpindahan) akan dipindahkan di Django 1.9. <em>Pemeriksaan ini muncul di Django 1.7 and 1.8</em>.</p></li>\n<li><p><strong>fields.W901</strong>: <code class=\"docutils literal notranslate\">CommaSeparatedIntegerField</code> telah diusangkan. mendukung untk itu (kecuali dalam riwayat perpindahan) akan dipindahkan di Django 2.0. <em>Pemeriksaan ini muncul dalam Django 1.10 dan 1.11</em>.</p></li>\n<li><p><strong>fields.E901</strong>: <code class=\"docutils literal notranslate\">CommaSeparatedIntegerField</code> dipindahkan untuk dukungan dalam riwayat perpindahan.</p></li>\n<li><p><strong>fields.W902</strong>: <code class=\"docutils literal notranslate\">FloatRangeField</code> diusangkan dan akan dipindahkan di Django 3.1. <em>Pemeriksaan ini muncul di Django 2.2 dan 3.0</em>.</p></li>\n<li><p><strong>fields.W903</strong>: <code class=\"docutils literal notranslate\">NullBooleanField</code> diusangkan. Dukungan untuk itu (kecuali di perpindahan riwayat) akan dipindahkan di Django 4.0. <em>Pemeriksaan ini muncul di Django 3.1 dan 3.2</em>.</p></li>\n<li><p><strong>fields.E903</strong>: <code class=\"docutils literal notranslate\">NullBooleanField</code> dipindahkan kecuali untuk mendukung dalam perpindahan riwayat.</p></li>\n<li><p><strong>fields.W904</strong>: <code class=\"docutils literal notranslate\">django.contrib.postgres.fields.JSONField</code> diusangkan. Dukungan untuk itu (kecuali dalam perpindahan riwayat) akan dipindahkan di Django 4.0. <em>Pemeriksaan ini muncul di Django 3.1 dan 3.2</em>.</p></li>\n<li><p><strong>fields.E904</strong>: <code class=\"docutils literal notranslate\">django.contrib.postgres.fields.JSONField</code> dipindahkan kecuali untuk dukungan dalam perpindahan riwayat.</p></li>\n<li><p><strong>fields.W905</strong>: <code class=\"docutils literal notranslate\">django.contrib.postgres.fields.CICharField</code> is\ndeprecated. Support for it (except in historical migrations) will be removed\nin Django 5.1. <em>This check appeared in Django 4.2 and 5.0</em>.</p></li>\n<li><p><strong>fields.E905</strong>: <code class=\"docutils literal notranslate\">django.contrib.postgres.fields.CICharField</code> is removed\nexcept for support in historical migrations.</p></li>\n<li><p><strong>fields.W906</strong>: <code class=\"docutils literal notranslate\">django.contrib.postgres.fields.CIEmailField</code> is\ndeprecated. Support for it (except in historical migrations) will be removed\nin Django 5.1. <em>This check appeared in Django 4.2 and 5.0</em>.</p></li>\n<li><p><strong>fields.E906</strong>: <code class=\"docutils literal notranslate\">django.contrib.postgres.fields.CIEmailField</code> is removed\nexcept for support in historical migrations.</p></li>\n<li><p><strong>fields.W907</strong>: <code class=\"docutils literal notranslate\">django.contrib.postgres.fields.CITextField</code> is\ndeprecated. Support for it (except in historical migrations) will be removed\nin Django 5.1. <em>This check appeared in Django 4.2 and 5.0</em>.</p></li>\n<li><p><strong>fields.E907</strong>: <code class=\"docutils literal notranslate\">django.contrib.postgres.fields.CITextField</code> is removed\nexcept for support for historical migrations.</p></li>\n</ul>\n<section id=\"file-fields\">\n<h4>Bidang-bidang berkas<a class=\"heading-anchor\" href=\"#file-fields\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<ul class=\"simple\">\n<li><p><strong>fields.E200</strong>: <code class=\"docutils literal notranslate\">unique</code> bukan argumen sah untuk <code class=\"docutils literal notranslate\">FileField</code>. <em>Pemeriksaan ini dipindahkan dalam Django 1.11</em>.</p></li>\n<li><p><strong>fields.E201</strong>: <code class=\"docutils literal notranslate\">primary_key</code> bukan argumen sah untuk <code class=\"docutils literal notranslate\">FileField</code>.</p></li>\n<li><p><strong>fields.E202</strong>: Argumen <code class=\"docutils literal notranslate\">upload_to</code> <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>FileField``harus berupa jalur bergantung, bukan jalur mutlak.</p></li>\n<li><p><strong>fields.E210</strong>: Tidak dapat menggunakan <code class=\"docutils literal notranslate\">ImageField</code> karena Pillow tidak dipasang.</p></li>\n</ul>\n</section>\n<section id=\"related-fields\">\n<h4>Bidang-bidang terhubung<a class=\"heading-anchor\" href=\"#related-fields\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<ul class=\"simple\">\n<li><p><strong>fields.E300</strong>: Bidang menentukan hubungan dengan model <code class=\"docutils literal notranslate\">&lt;model&gt;</code>, yang salah satu tidak dipasang atau abstrak.</p></li>\n<li><p><strong>fields.E301</strong>:Bidang menentukan hubungan dengan model <code class=\"docutils literal notranslate\">&lt;app_label&gt;.&lt;model&gt;</code> yang telah ditukar.</p></li>\n<li><p><strong>fields.E302</strong>: Aksesor terbalik <code class=\"docutils literal notranslate\">&lt;related model&gt;.&lt;accessor name&gt;</code> for <code class=\"docutils literal notranslate\">&lt;app_label&gt;.&lt;model&gt;.&lt;field name&gt;</code> bentrokan dengan nama bidang <code class=\"docutils literal notranslate\">&lt;app_label&gt;.&lt;model&gt;.&lt;field name&gt;</code>.</p></li>\n<li><p><strong>fields.E303</strong>: Membalikkan nama permintaan untuk <code class=\"docutils literal notranslate\">&lt;app_label&gt;.&lt;model&gt;.&lt;field name&gt;</code> bentrokan dengan nama bidang <code class=\"docutils literal notranslate\">&lt;app_label&gt;.&lt;model&gt;.&lt;field name&gt;</code>.</p></li>\n<li><p><strong>fields.E304</strong>: Aksesor terbalik <code class=\"docutils literal notranslate\">&lt;related model&gt;.&lt;accessor name&gt;</code> for <code class=\"docutils literal notranslate\">&lt;app_label&gt;.&lt;model&gt;.&lt;field name&gt;</code> bentrok dengan aksesor terbalik untuk <code class=\"docutils literal notranslate\">&lt;app_label&gt;.&lt;model&gt;.&lt;field name&gt;</code>.</p></li>\n<li><p><strong>fields.E305</strong>: Reverse query name for <code class=\"docutils literal notranslate\">&lt;app_label&gt;.&lt;model&gt;.&lt;field name&gt;</code>\nclashes with reverse query name for <code class=\"docutils literal notranslate\">&lt;app_label&gt;.&lt;model&gt;.&lt;field name&gt;</code>.</p></li>\n<li><p><strong>fields.E306</strong>: The name <code class=\"docutils literal notranslate\">&lt;name&gt;</code> is invalid <code class=\"docutils literal notranslate\">related_name</code> for field\n<code class=\"docutils literal notranslate\">&lt;model&gt;.&lt;field name&gt;</code>.</p></li>\n<li><p><strong>fields.E307</strong>: Bidang <code class=\"docutils literal notranslate\">&lt;app label&gt;.&lt;model&gt;.&lt;field name&gt;</code> telah dinyatakan dengan acuan lazy ke <code class=\"docutils literal notranslate\">&lt;app label&gt;.&lt;model&gt;</code>, tetapi aplikasi <code class=\"docutils literal notranslate\">&lt;app label&gt;</code> tidak terpasang atau tidak menyediakan model <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>fields.E308</strong>: Nama permintaan kebalikan <code class=\"docutils literal notranslate\">1</code> jangan berakhir dengan garis bawah.</p></li>\n<li><p><strong>fields.E309</strong>: Nama permintaan kebalikan <code class=\"docutils literal notranslate\">1</code> jangan mengandung <code class=\"docutils literal notranslate\">'__'</code>.</p></li>\n<li><p><strong>fields.E310</strong>: No subset of the fields <code class=\"docutils literal notranslate\">&lt;field1&gt;</code>, <code class=\"docutils literal notranslate\">&lt;field2&gt;</code>, ... on\nmodel <code class=\"docutils literal notranslate\">&lt;model&gt;</code> is unique.</p></li>\n<li><p><strong>fields.E311</strong>: <code class=\"docutils literal notranslate\">&lt;model&gt;.&lt;field name&gt;</code> must be unique because it is\nreferenced by a <code class=\"docutils literal notranslate\">ForeignKey</code>.</p></li>\n<li><p><strong>fields.E312</strong>: <code class=\"docutils literal notranslate\">to_field</code> <code class=\"docutils literal notranslate\">1</code> tidak ada pada model terkait <code class=\"docutils literal notranslate\">2.3</code>.</p></li>\n<li><p><strong>fields.E320</strong>: Field specifies <code class=\"docutils literal notranslate\">on_delete=&lt;set null option&gt;</code>, but cannot\nbe null.</p></li>\n<li><p><strong>fields.E321</strong>: Field specifies <code class=\"docutils literal notranslate\">on_delete=SET_DEFAULT</code>, but has no\n<code class=\"docutils literal notranslate\">default</code> value.</p></li>\n<li><p><strong>fields.E322</strong>: Field specifies <code class=\"docutils literal notranslate\">on_delete=DB_SET_DEFAULT</code>, but has no\n<code class=\"docutils literal notranslate\">db_default</code> value.</p></li>\n<li><p><strong>fields.E323</strong>: Field specifies database/Python-level on_delete variant, but\nreferenced/auto-created intermediary model uses python/database-level\nvariant.</p></li>\n<li><p><strong>fields.E324</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> does not support\n<code class=\"docutils literal notranslate\">&lt;database delete option&gt;</code>.</p></li>\n<li><p><strong>fields.E330</strong>: <code class=\"docutils literal notranslate\">ManyToManyField</code> tidak dapat unik.</p></li>\n<li><p><strong>fields.E331</strong>: Bidang menentukan hubungan many-to-many melalui model <code class=\"docutils literal notranslate\">&lt;model&gt;</code>, yang belum dipasang.</p></li>\n<li><p><strong>fields.E332</strong>: Many-to-many fields with intermediate tables must not be\nsymmetrical. <em>This check appeared before Django 3.0.</em></p></li>\n<li><p><strong>fields.E333</strong>: Model digunakan sebagai model menengah oleh <code class=\"docutils literal notranslate\">&lt;model&gt;</code>, tetapi itu mempunyai lebih dari dua foreign key pada <code class=\"docutils literal notranslate\">&lt;model&gt;</code>, yang memiliki dua makna. Anda harus menentukan dua foreign key Django yang mana harus digunakan melalui argumen kata kunci <code class=\"docutils literal notranslate\">through_fields</code>.</p></li>\n<li><p><strong>fields.E334</strong>: Model digunakan sebagai model menengah oleh <code class=\"docutils literal notranslate\">&lt;model&gt;</code>, tetapi itu mempunyai lebih dari satu foreign key pada <code class=\"docutils literal notranslate\">&lt;model&gt;</code>, yang memiliki dua makna. Anda harus menentukan foreign key Django mana yang harus digunakan melalui argumen kata kunci <code class=\"docutils literal notranslate\">through_fields</code>.</p></li>\n<li><p><strong>fields.E335</strong>: Model digunakan sebagai model menengah oleh <code class=\"docutils literal notranslate\">&lt;model&gt;</code>, tetapi itu mempunyai lebih dari satu foreign key pada <code class=\"docutils literal notranslate\">&lt;model&gt;</code>, yang memiliki dua makna. Anda harus menentukan foreign key Django mana yang harus digunakan melalui argumen kata kunci <code class=\"docutils literal notranslate\">through_fields</code>.</p></li>\n<li><p><strong>fields.E336</strong>: Model digunakan sebagai model menengah oleh <code class=\"docutils literal notranslate\">&lt;model&gt;</code>, tetapi itu tidak mempunyai foreign key pada <code class=\"docutils literal notranslate\">&lt;model&gt;</code> or <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>fields.E337</strong>: Bidang menentukan <code class=\"docutils literal notranslate\">through_fields</code> tetapi tidak menyediakan nama-nama dari dua bidang kaitan yang harus digunakan untuk hubungan <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>fields.E338</strong>: Model perantara <code class=\"docutils literal notranslate\">&lt;through model&gt;</code> tidak mempunyai bidang <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>.</p></li>\n<li><p><strong>fields.E339</strong>: <code class=\"docutils literal notranslate\">&lt;model&gt;.&lt;field name&gt;</code> bukan foreign key pada <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>fields.E340</strong>: Bidang tabel menengah <code class=\"docutils literal notranslate\">1</code> tabrakan dengan nama tabel dari <code class=\"docutils literal notranslate\">2</code>/<code class=\"docutils literal notranslate\">3.4</code>.</p></li>\n<li><p><strong>fields.W340</strong>: <code class=\"docutils literal notranslate\">null</code> tidak mempunyai efek pada <code class=\"docutils literal notranslate\">ManyToManyField</code>.</p></li>\n<li><p><strong>fields.W341</strong>: <code class=\"docutils literal notranslate\">ManyToManyField</code> tidak mendukung <code class=\"docutils literal notranslate\">validators</code>.</p></li>\n<li><p><strong>fields.W342</strong>: Mengatur <code class=\"docutils literal notranslate\">unique=True</code> pada <code class=\"docutils literal notranslate\">ForeignKey</code> mempunyai efek sama ketika menggunakan <code class=\"docutils literal notranslate\">OneToOneField</code>.</p></li>\n<li><p><strong>fields.W343</strong>: <code class=\"docutils literal notranslate\">limit_choices_to</code> has no effect on <code class=\"docutils literal notranslate\">ManyToManyField</code>\nwith a <code class=\"docutils literal notranslate\">through</code> model. <em>This check appeared before Django 4.0.</em></p></li>\n<li><p><strong>fields.W344</strong>: The field's intermediary table <code class=\"docutils literal notranslate\">&lt;table name&gt;</code> clashes with\nthe table name of <code class=\"docutils literal notranslate\">&lt;model&gt;</code>/<code class=\"docutils literal notranslate\">&lt;model&gt;.&lt;field name&gt;</code>.</p></li>\n<li><p><strong>fields.W345</strong>: <code class=\"docutils literal notranslate\">related_name</code> has no effect on <code class=\"docutils literal notranslate\">ManyToManyField</code> with a\nsymmetrical relationship, e.g. to &quot;self&quot;.</p></li>\n<li><p><strong>fields.W346</strong>: <code class=\"docutils literal notranslate\">db_comment</code> tidak mempunyai pengaruh di <code class=\"docutils literal notranslate\">ManyToManyField</code>.</p></li>\n<li><p><strong>fields.E347</strong>: Field defines a relation involving model <code class=\"docutils literal notranslate\">&lt;model&gt;</code> which\nhas a <code class=\"docutils literal notranslate\">CompositePrimaryKey</code> and such relations are not supported.</p></li>\n<li><p><strong>fields.E348</strong>: Related name <code class=\"docutils literal notranslate\">&lt;related_name&gt;</code> for <code class=\"docutils literal notranslate\">&lt;model&gt;.&lt;field name&gt;</code>\nclashes with the name of a model manager.</p></li>\n</ul>\n</section>\n</section>\n<section id=\"models\">\n<h3>Model<a class=\"heading-anchor\" href=\"#models\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p><strong>models.E001</strong>: <code class=\"docutils literal notranslate\">&lt;swappable&gt;</code> bukan dari formulir <code class=\"docutils literal notranslate\">app_label.app_name</code>.</p></li>\n<li><p><strong>models.E002</strong>: <code class=\"docutils literal notranslate\">&lt;SETTING&gt;</code> acuan <code class=\"docutils literal notranslate\">&lt;model&gt;</code>, yang belum dipasang, atau abstrak.</p></li>\n<li><p><strong>models.E003</strong>: Model emiliki dua kemiripan hubungan many-to-many melalui model menengah <code class=\"docutils literal notranslate\">&lt;app_label&gt;.&lt;model&gt;</code>.</p></li>\n<li><p><strong>models.E004</strong>: <code class=\"docutils literal notranslate\">id</code> dapat hanya digunakan sebagai nama bidang jika bidang juga disetel <code class=\"docutils literal notranslate\">primary_key=True</code>.</p></li>\n<li><p><strong>models.E005</strong>: Bidang  <code class=\"docutils literal notranslate\">&lt;field name&gt;</code> dari model induk <code class=\"docutils literal notranslate\">&lt;model&gt;</code> bentrok dengan bidang  <code class=\"docutils literal notranslate\">&lt;field name&gt;</code> dari model induk <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>models.E006</strong>: Bidang <code class=\"docutils literal notranslate\">&lt;field name&gt;</code> bentrokan dengan bidang <code class=\"docutils literal notranslate\">&lt;field name&gt;</code> dari model <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>models.E007</strong>: Field <code class=\"docutils literal notranslate\">&lt;field name&gt;</code> mempunyai nama kolom <code class=\"docutils literal notranslate\">&lt;column name&gt;</code> yang digunakan oleh bidang lain.</p></li>\n<li><p><strong>models.E008</strong>: <code class=\"docutils literal notranslate\">index_together</code> must be a list or tuple. <em>This check\nappeared before Django 5.1.</em></p></li>\n<li><p><strong>models.E009</strong>: All <code class=\"docutils literal notranslate\">index_together</code> elements must be lists or tuples.\n<em>This check appeared before Django 5.1.</em></p></li>\n<li><p><strong>models.E010</strong>: <code class=\"docutils literal notranslate\">unique_together</code> harus berupa daftar atau tuple.</p></li>\n<li><p><strong>models.E011</strong>: Semua unsur <code class=\"docutils literal notranslate\">unique_together</code> harus berupa daftar atau tuple.</p></li>\n<li><p><strong>models.E012</strong>: <code class=\"docutils literal notranslate\">constraints/indexes/unique_together</code> refers to the\nnonexistent field <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>.</p></li>\n<li><p><strong>models.E013</strong>: <code class=\"docutils literal notranslate\">constraints/indexes/unique_together</code> refers to a\n<code class=\"docutils literal notranslate\">ManyToManyField</code> <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>, but <code class=\"docutils literal notranslate\">ManyToManyField</code>s are not\nsupported for that option.</p></li>\n<li><p><strong>models.E014</strong>: <code class=\"docutils literal notranslate\">ordering</code> harus berupa tuple atau daftar (bahkan jika anda ingin memesan hanya satu bidang).</p></li>\n<li><p><strong>models.E015</strong>: <code class=\"docutils literal notranslate\">ordering</code> mengacu pada bidang tidak ada, bidang terkait, atau pencarian <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>.</p></li>\n<li><p><strong>models.E016</strong>: <code class=\"docutils literal notranslate\">constraints/indexes/unique_together</code> refers to field\n<code class=\"docutils literal notranslate\">&lt;field_name&gt;</code> which is not local to model <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>models.E017</strong>: Model proxy <code class=\"docutils literal notranslate\">&lt;model&gt;</code> mengandung bidang-bidang model.</p></li>\n<li><p><strong>models.E018</strong>: Nama kolom otomatis dibangkitkan terlalu panjang untuk bidang  <code class=\"docutils literal notranslate\">&lt;field&gt;</code>. Panjang maksimum adalah <code class=\"docutils literal notranslate\">&lt;maximum length&gt;</code> untuk basisdata <code class=\"docutils literal notranslate\">&lt;alias&gt;</code>.</p></li>\n<li><p><strong>models.E019</strong>: Nama kolom otomatis dibangkitkan terlalu panjang untuk bidang M2M <code class=\"docutils literal notranslate\">&lt;M2M field&gt;</code>. Panjang maksimum adalah <code class=\"docutils literal notranslate\">&lt;maximum length&gt;</code> untuk basisdata <code class=\"docutils literal notranslate\">&lt;alias&gt;</code>.</p></li>\n<li><p><strong>models.E020</strong>: Cara kelas <code class=\"docutils literal notranslate\">&lt;model&gt;.check()</code> saat ini dikesampingkan.</p></li>\n<li><p><strong>models.E021</strong>: <code class=\"docutils literal notranslate\">ordering</code> dan <code class=\"docutils literal notranslate\">order_with_respect_to</code> tidak dapat digunakan bersama-sama.</p></li>\n<li><p><strong>models.E022</strong>: <code class=\"docutils literal notranslate\">&lt;function&gt;</code> mengandung acuan lazy pada <code class=\"docutils literal notranslate\">&lt;app label&gt;.&lt;model&gt;</code>, tetapi aplikasi <code class=\"docutils literal notranslate\">&lt;app label&gt;</code> tidak dipasang atau tidak menyediakan model <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>models.E023</strong>: Nama model <code class=\"docutils literal notranslate\">1</code> tidak dapat mulai atau berakhir dengan sebuah garis bawah ketika itu bertabrakan dengan sintaksis penacrian permintaan.</p></li>\n<li><p><strong>models.E024</strong>: Nama model <code class=\"docutils literal notranslate\">1</code> tidak dapat mengandung garis bawah ganda ketika itu bertabrakan dengan sintaksis pencarian permintaan.</p></li>\n<li><p><strong>models.E025</strong>: Sifat <code class=\"docutils literal notranslate\">&lt;property name&gt;</code> bertabrakan dengan pengakses bidang terkait.</p></li>\n<li><p><strong>models.E026</strong>: Model tidak boleh memiliki lebih dari satu bidang dengan <code class=\"docutils literal notranslate\">primary_key=True</code>.</p></li>\n<li><p><strong>models.W027</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> tidak mendukung batasan pemeriksaan.</p></li>\n<li><p><strong>models.E028</strong>: <code class=\"docutils literal notranslate\">db_table</code> <code class=\"docutils literal notranslate\">&lt;db_table&gt;</code> digunakan oleh banyak model: <code class=\"docutils literal notranslate\">&lt;model list&gt;</code>.</p></li>\n<li><p><strong>models.E029</strong>: nama indeks <code class=\"docutils literal notranslate\">&lt;index&gt;</code> bukan unik untuk model <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>models.E030</strong>: nama indeks <code class=\"docutils literal notranslate\">&lt;index&gt;</code> tidak unik terhadap model: <code class=\"docutils literal notranslate\">&lt;model list&gt;</code>.</p></li>\n<li><p><strong>models.E031</strong>: batasan nama <code class=\"docutils literal notranslate\">&lt;constraint&gt;</code> bukan unik untuk model <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>models.E032</strong>: constraint name <code class=\"docutils literal notranslate\">&lt;constraint&gt;</code> is not unique among\nmodels: <code class=\"docutils literal notranslate\">&lt;model list&gt;</code>.</p></li>\n<li><p><strong>models.E033</strong>: Nama indeks <code class=\"docutils literal notranslate\">&lt;index&gt;</code> tidak dapat dimulai dengan garis bawah atau angka.</p></li>\n<li><p><strong>models.E034</strong>: Nama indeks <code class=\"docutils literal notranslate\">&lt;index&gt;</code> tidak dapat lebih panjang daripada <code class=\"docutils literal notranslate\">&lt;max_length&gt;</code> karakter.</p></li>\n<li><p><strong>models.W035</strong>: <code class=\"docutils literal notranslate\">db_table</code> <code class=\"docutils literal notranslate\">&lt;db_table&gt;</code> digunakan oleh banyak model: <code class=\"docutils literal notranslate\">&lt;model list&gt;</code>.</p></li>\n<li><p><strong>models.W036</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> does not support unique constraints with\nconditions.</p></li>\n<li><p><strong>models.W037</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> does not support indexes with conditions.</p></li>\n<li><p><strong>models.W038</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> does not support deferrable unique\nconstraints.</p></li>\n<li><p><strong>models.W039</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> does not support unique constraints with\nnon-key columns.</p></li>\n<li><p><strong>models.W040</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> does not support indexes with non-key\ncolumns.</p></li>\n<li><p><strong>models.E041</strong>: <code class=\"docutils literal notranslate\">constraints</code> refers to the joined field <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>.</p></li>\n<li><p><strong>models.E042</strong>: <code class=\"docutils literal notranslate\">&lt;field name&gt;</code> cannot be included in the composite\nprimary key.</p></li>\n<li><p><strong>models.W042</strong>: Auto-created primary key used when not defining a primary\nkey type, by default <code class=\"docutils literal notranslate\">django.db.models.AutoField</code>. <em>This check appeared in\nDjango 3.2 - 5.2</em>.</p></li>\n<li><p><strong>models.W043</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> does not support indexes on expressions.</p></li>\n<li><p><strong>models.W044</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> does not support unique constraints on\nexpressions.</p></li>\n<li><p><strong>models.W045</strong>: Check constraint <code class=\"docutils literal notranslate\">&lt;constraint&gt;</code> contains <code class=\"docutils literal notranslate\">RawSQL()</code>\nexpression and won't be validated during the model <code class=\"docutils literal notranslate\">full_clean()</code>.</p></li>\n<li><p><strong>models.W046</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> does not support comments on tables\n(<code class=\"docutils literal notranslate\">db_table_comment</code>).</p></li>\n<li><p><strong>models.W047</strong>: <code class=\"docutils literal notranslate\">&lt;database&gt;</code> does not support\n<code class=\"docutils literal notranslate\">UniqueConstraint.nulls_distinct</code>.</p></li>\n<li><p><strong>models.E048</strong>: <code class=\"docutils literal notranslate\">constraints/indexes/unique_together</code> refers to a\n<code class=\"docutils literal notranslate\">CompositePrimaryKey</code> <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>, but <code class=\"docutils literal notranslate\">CompositePrimaryKey</code>s are\nnot supported for that option.</p></li>\n<li><p><strong>models.E049</strong>: <code class=\"docutils literal notranslate\">constraints/indexes/unique_together</code> refers to a\n<code class=\"docutils literal notranslate\">ForeignObject</code> <code class=\"docutils literal notranslate\">&lt;field name&gt;</code> with multiple <code class=\"docutils literal notranslate\">from_fields</code>, which is\nnot supported for that option.</p></li>\n<li><p><strong>models.E050</strong>: The model cannot have related fields with both\ndatabase-level and Python-level <code class=\"docutils literal notranslate\">on_delete</code> variants.</p></li>\n</ul>\n</section>\n<section id=\"management-commands\">\n<h3>Pengelolaan perintah<a class=\"heading-anchor\" href=\"#management-commands\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>The following checks verify custom management commands are correctly\nconfigured:</p>\n<ul class=\"simple\">\n<li><p><strong>commands.E001</strong>: The <code class=\"docutils literal notranslate\">migrate</code> and <code class=\"docutils literal notranslate\">makemigrations</code> commands must have\nthe same <code class=\"docutils literal notranslate\">autodetector</code>.</p></li>\n</ul>\n</section>\n<section id=\"security\">\n<h3>Keamanan<a class=\"heading-anchor\" href=\"#security\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>The security checks do not make your site secure. They do not audit code, do\nintrusion detection, or do anything particularly complex. Rather, they help\nperform an automated, low-hanging-fruit checklist, that can help you to improve\nyour site's security.</p>\n<p>Beberapa pemeriksaan ini mungkin tidak sesuai untuk konfigurasi penyebaran tertentu anda. Sebagai contoh, jika anda melakukan pengalihan HTTP ke HTTPS anda dalam sebuah  penyeimbang beban, itu akan menjengkelkan terus-menerus diperingati mengenai tidak memiliki <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECURE_SSL_REDIRECT\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_SSL_REDIRECT</code></a> diadakan. Gunakan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SILENCED_SYSTEM_CHECKS\"><code class=\"xref std std-setting docutils literal notranslate\">SILENCED_SYSTEM_CHECKS</code></a> untuk mendiamkan pemeriksaan yang tidak dibutuhkan</p>\n<p>Pemeriksaan berikut berjalan jika anda menggunakan pilihan <a class=\"reference internal\" href=\"/id/6.1/ref/django-admin/#cmdoption-check-deploy\"><code class=\"xref std std-option docutils literal notranslate\">check --deploy</code></a>:</p>\n<ul class=\"simple\">\n<li><p><strong>security.W001</strong>: You do not have\n<a class=\"reference internal\" href=\"/id/6.1/ref/middleware/#django.middleware.security.SecurityMiddleware\" title=\"django.middleware.security.SecurityMiddleware\"><code class=\"xref py py-class docutils literal notranslate\">django.middleware.security.SecurityMiddleware</code></a> in your\n<a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-MIDDLEWARE\"><code class=\"xref std std-setting docutils literal notranslate\">MIDDLEWARE</code></a> so the <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECURE_HSTS_SECONDS\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_HSTS_SECONDS</code></a>,\n<a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECURE_CONTENT_TYPE_NOSNIFF\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_CONTENT_TYPE_NOSNIFF</code></a>, <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECURE_REFERRER_POLICY\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_REFERRER_POLICY</code></a>,\n<a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECURE_CROSS_ORIGIN_OPENER_POLICY\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_CROSS_ORIGIN_OPENER_POLICY</code></a>, and\n<a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECURE_SSL_REDIRECT\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_SSL_REDIRECT</code></a> settings will have no effect.</p></li>\n<li><p><strong>security.W002</strong>: Anda tidak mempunyai  <a class=\"reference internal\" href=\"/id/6.1/ref/middleware/#django.middleware.clickjacking.XFrameOptionsMiddleware\" title=\"django.middleware.clickjacking.XFrameOptionsMiddleware\"><code class=\"xref py py-class docutils literal notranslate\">django.middleware.clickjacking.XFrameOptionsMiddleware</code></a> dalam <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-MIDDLEWARE\"><code class=\"xref std std-setting docutils literal notranslate\">MIDDLEWARE</code></a>, sehingga halaman anda tidak akan dilayani dalam sebuah kepala <code class=\"docutils literal notranslate\">'x-frame-options'</code>.  Meskipun ada alasan bagus untuk situs anda dilayani di sebuah kerangka, anda harus mempertimbangkan mengadakan kepala ini untuk membantu mencegah serangan clickjacking.</p></li>\n<li><p><strong>security.W003</strong>: Anda sepertinya tidak menggunakan perlindungan siap-pakai cross-site request forgery  Django melalui middleware (<a class=\"reference internal\" href=\"/id/6.1/ref/middleware/#django.middleware.csrf.CsrfViewMiddleware\" title=\"django.middleware.csrf.CsrfViewMiddleware\"><code class=\"xref py py-class docutils literal notranslate\">django.middleware.csrf.CsrfViewMiddleware</code></a> tidak dalam pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-MIDDLEWARE\"><code class=\"xref std std-setting docutils literal notranslate\">MIDDLEWARE</code></a> anda). Mengadakan middleware adalah pendekatan teraman untuk memastikan anda tidak meninggalkan celah apapun.</p></li>\n<li><p><strong>security.W004</strong>: Anda belum menyetel sebuah nilai untuk pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECURE_HSTS_SECONDS\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_HSTS_SECONDS</code></a>. Jika keseluruhan situs anda hanya terhadap SSL, anda mungkin ingin mempertimbangkan pengaturan sebuah nilai dan mengadakan <a class=\"reference internal\" href=\"/id/6.1/ref/middleware/#http-strict-transport-security\"><span class=\"std std-ref\">HTTP Strict Transport Security</span></a>. Pastikan membaca dokumentasi dahulu; mengadakan HSTS tanpa bertanggung jawab dapat menyebabkan serius, masalah tidak dapat diubah.</p></li>\n<li><p><strong>security.W005</strong>: Anda belum menyetel pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECURE_HSTS_INCLUDE_SUBDOMAINS\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_HSTS_INCLUDE_SUBDOMAINS</code></a> menjadi <code class=\"docutils literal notranslate\">True</code>. Tanpa ini, situs anda berpotensi rentan pada serangan melalui hubungan tidak aman ke subranah. Hanya setel ini menjadi <code class=\"docutils literal notranslate\">True</code> jika anda yakin bajwa semua subranah dari ranah anda harus dilayani secara khusus melalui SSL.</p></li>\n<li><p><strong>security.W006</strong>: Pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECURE_CONTENT_TYPE_NOSNIFF\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_CONTENT_TYPE_NOSNIFF</code></a> anda tidak disetel menjadi <code class=\"docutils literal notranslate\">True</code>, sehingga halaman anda tidak akan dilayani dengan sebuah kepala <code class=\"docutils literal notranslate\">'X-Content-Type-Options: nosniff'</code>. Anda harus mempertimbangankan mengadakan kepala ini untuk mencegah peramban dari mencirikan jenis-jenis isi dengan tidak benar.</p></li>\n<li><p><strong>security.W007</strong>: Your <code class=\"docutils literal notranslate\">SECURE_BROWSER_XSS_FILTER</code> setting is not\nset to <code class=\"docutils literal notranslate\">True</code>, so your pages will not be served with an\n<code class=\"docutils literal notranslate\">'X-XSS-Protection: 1; mode=block'</code> header. You should consider enabling\nthis header to activate the browser's XSS filtering and help prevent XSS\nattacks. <em>This check is removed in Django 3.0 as the</em> <code class=\"docutils literal notranslate\">X-XSS-Protection</code>\n<em>header is no longer honored by modern browsers.</em></p></li>\n<li><p><strong>security.W008</strong>: Pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECURE_SSL_REDIRECT\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_SSL_REDIRECT</code></a> anda tidak disetel menjadi <code class=\"docutils literal notranslate\">True</code>. Meskipun situs anda harus tersedia terhadap kedua hubungan SSL dan bukan-SSL, anda mungkin ingin antara menyetel pengaturan ini menjadi <code class=\"docutils literal notranslate\">True</code> atau konfigurasi sebuah penyeimbang muatan atau peladen membalikkan-proxy ke mengalihkan semua hubungan pada HTTPS.</p></li>\n<li><p><strong>security.W009</strong>: Your <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECRET_KEY\"><code class=\"xref std std-setting docutils literal notranslate\">SECRET_KEY</code></a> has less than 50 characters,\nless than 5 unique characters, or it's prefixed with <code class=\"docutils literal notranslate\">'django-insecure-'</code>\nindicating that it was generated automatically by Django. Please generate a\nlong and random value, otherwise many of Django's security-critical features\nwill be vulnerable to attack.</p></li>\n<li><p><strong>security.W010</strong>: Anda memiliki <a class=\"reference internal\" href=\"/id/6.1/topics/http/sessions/#module-django.contrib.sessions\" title=\"django.contrib.sessions: Provides session management for Django projects.\"><code class=\"xref py py-mod docutils literal notranslate\">django.contrib.sessions</code></a> di <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-INSTALLED_APPS\"><code class=\"xref std std-setting docutils literal notranslate\">INSTALLED_APPS</code></a> anda tetapi anda belum menyetel <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SESSION_COOKIE_SECURE\"><code class=\"xref std std-setting docutils literal notranslate\">SESSION_COOKIE_SECURE</code></a> menjadi <code class=\"docutils literal notranslate\">True</code>. Menggunakan kue sesi hanya-aman membuatnya lebih sulit untuk lalu lintas jaringan sapu tangan untuk membajak sesi pengguna.</p></li>\n<li><p><strong>security.W011</strong>: Anda memiliki <a class=\"reference internal\" href=\"/id/6.1/ref/middleware/#django.contrib.sessions.middleware.SessionMiddleware\" title=\"django.contrib.sessions.middleware.SessionMiddleware\"><code class=\"xref py py-class docutils literal notranslate\">django.contrib.sessions.middleware.SessionMiddleware</code></a> dalam <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-MIDDLEWARE\"><code class=\"xref std std-setting docutils literal notranslate\">MIDDLEWARE</code></a> anda, tetapi anda belum menyetel <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SESSION_COOKIE_SECURE\"><code class=\"xref std std-setting docutils literal notranslate\">SESSION_COOKIE_SECURE</code></a> menjadi <code class=\"docutils literal notranslate\">True</code>. Menggunakan sesi kue hanya-aman membuatnya lebih sulit untuk pencium lalu lintas jaringan membajak sesi pengguna.</p></li>\n<li><p><strong>security.W012</strong>: <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SESSION_COOKIE_SECURE\"><code class=\"xref std std-setting docutils literal notranslate\">SESSION_COOKIE_SECURE</code></a> tidak disetel menjadi <code class=\"docutils literal notranslate\">True</code>. Menggunakan kue sesi hanya-aman membuatnya lebih sulit untuk lalu lintas jaringan sapu tangan untuk membajak sesi pengguna.</p></li>\n<li><p><strong>security.W013</strong>: Anda memiliki <a class=\"reference internal\" href=\"/id/6.1/topics/http/sessions/#module-django.contrib.sessions\" title=\"django.contrib.sessions: Provides session management for Django projects.\"><code class=\"xref py py-mod docutils literal notranslate\">django.contrib.sessions</code></a> di <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-INSTALLED_APPS\"><code class=\"xref std std-setting docutils literal notranslate\">INSTALLED_APPS</code></a> anda, tetapi anda belum menyetel <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SESSION_COOKIE_HTTPONLY\"><code class=\"xref std std-setting docutils literal notranslate\">SESSION_COOKIE_HTTPONLY</code></a> menjadi <code class=\"docutils literal notranslate\">True</code>. Menggunakan kue sesi <code class=\"docutils literal notranslate\">HttpOnly</code>  membuatnya lebih sulit untuk serangan penulisan lintas-situs untuk membajak sesi pengguna.</p></li>\n<li><p><strong>security.W014</strong>: Anda memiliki <a class=\"reference internal\" href=\"/id/6.1/ref/middleware/#django.contrib.sessions.middleware.SessionMiddleware\" title=\"django.contrib.sessions.middleware.SessionMiddleware\"><code class=\"xref py py-class docutils literal notranslate\">django.contrib.sessions.middleware.SessionMiddleware</code></a> dalam <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-MIDDLEWARE\"><code class=\"xref std std-setting docutils literal notranslate\">MIDDLEWARE</code></a> anda, tetapi anda belum menyetel <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SESSION_COOKIE_HTTPONLY\"><code class=\"xref std std-setting docutils literal notranslate\">SESSION_COOKIE_HTTPONLY</code></a> menjadi <code class=\"docutils literal notranslate\">True</code>. Menggunakan sebuah sesi kue <code class=\"docutils literal notranslate\">HttpOnly</code> membuatnya itu lebih sulit untuk serangan cross-site scripting untuk membajaksesi pengguna.</p></li>\n<li><p><strong>security.W015</strong>: <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SESSION_COOKIE_HTTPONLY\"><code class=\"xref std std-setting docutils literal notranslate\">SESSION_COOKIE_HTTPONLY</code></a> tidak disetel menjadi <code class=\"docutils literal notranslate\">True</code>. Menggunakan kue sesi <code class=\"docutils literal notranslate\">HttpOnly</code> membuatnya lebih sulit untuk serangan penulisan lintas-situs untuk membajak sesi pengguna.</p></li>\n<li><p><strong>security.W016</strong>: <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-CSRF_COOKIE_SECURE\"><code class=\"xref std std-setting docutils literal notranslate\">CSRF_COOKIE_SECURE</code></a> tidak disetel menjadi <code class=\"docutils literal notranslate\">True</code>. Menggunakan kue CSRF hanya-aman membuatnya lebih sulit untuk lalu lintas jaringan sapu tangan untuk mencuri token CSRF.</p></li>\n<li><p><strong>security.W017</strong>: <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-CSRF_COOKIE_HTTPONLY\"><code class=\"xref std std-setting docutils literal notranslate\">CSRF_COOKIE_HTTPONLY</code></a> is not set to <code class=\"docutils literal notranslate\">True</code>.\nUsing an <code class=\"docutils literal notranslate\">HttpOnly</code> CSRF cookie makes it more difficult for cross-site\nscripting attacks to steal the CSRF token. <em>This check is removed in Django\n1.11 as the</em> <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-CSRF_COOKIE_HTTPONLY\"><code class=\"xref std std-setting docutils literal notranslate\">CSRF_COOKIE_HTTPONLY</code></a> <em>setting offers no practical\nbenefit.</em></p></li>\n<li><p><em>security.W018*</em>: Anda harus mempunyai <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-DEBUG\"><code class=\"xref std std-setting docutils literal notranslate\">DEBUG</code></a> disetel ke <code class=\"docutils literal notranslate\">True</code> dalam menyebarkan.</p></li>\n<li><p><strong>security.W019</strong>: You have\n<a class=\"reference internal\" href=\"/id/6.1/ref/middleware/#django.middleware.clickjacking.XFrameOptionsMiddleware\" title=\"django.middleware.clickjacking.XFrameOptionsMiddleware\"><code class=\"xref py py-class docutils literal notranslate\">django.middleware.clickjacking.XFrameOptionsMiddleware</code></a> in your\n<a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-MIDDLEWARE\"><code class=\"xref std std-setting docutils literal notranslate\">MIDDLEWARE</code></a>, but <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-X_FRAME_OPTIONS\"><code class=\"xref std std-setting docutils literal notranslate\">X_FRAME_OPTIONS</code></a> is not set to\n<code class=\"docutils literal notranslate\">'DENY'</code>. Unless there is a good reason for your site to serve other parts\nof itself in a frame, you should change it to <code class=\"docutils literal notranslate\">'DENY'</code>.</p></li>\n<li><p><strong>security.W020</strong>: <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-ALLOWED_HOSTS\"><code class=\"xref std std-setting docutils literal notranslate\">ALLOWED_HOSTS</code></a> harus tidak kosong dalam menyebarkan.</p></li>\n<li><p><strong>security.W021</strong>: Anda belum menyetel pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECURE_HSTS_PRELOAD\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_HSTS_PRELOAD</code></a> menjadi <code class=\"docutils literal notranslate\">True</code>. Tanpa ini, situs anda tidak dapat diajukan ke daftar pramuat peramban.</p></li>\n<li><p><strong>security.W022</strong>: You have not set the <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECURE_REFERRER_POLICY\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_REFERRER_POLICY</code></a>\nsetting. Without this, your site will not send a Referrer-Policy header. You\nshould consider enabling this header to protect user privacy.</p></li>\n<li><p><strong>security.E023</strong>: Anda telah mensetel pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECURE_REFERRER_POLICY\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_REFERRER_POLICY</code></a> menjadi nilai tidak sah.</p></li>\n<li><p><strong>security.E024</strong>: You have set the\n<a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECURE_CROSS_ORIGIN_OPENER_POLICY\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_CROSS_ORIGIN_OPENER_POLICY</code></a> setting to an invalid value.</p></li>\n<li><p><strong>security.W025</strong>: Your\n<a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SECRET_KEY_FALLBACKS\"><code class=\"xref std std-setting docutils literal notranslate\">SECRET_KEY_FALLBACKS[n]</code></a> has less than 50\ncharacters, less than 5 unique characters, or it's prefixed with\n<code class=\"docutils literal notranslate\">'django-insecure-'</code> indicating that it was generated automatically by\nDjango. Please generate a long and random value, otherwise many of Django's\nsecurity-critical features will be vulnerable to attack.</p></li>\n</ul>\n<p>The following checks verify that your security-related settings are correctly\nconfigured:</p>\n<ul class=\"simple\">\n<li><p><strong>security.E100</strong>: <code class=\"docutils literal notranslate\">DEFAULT_HASHING_ALGORITHM</code> must be <code class=\"docutils literal notranslate\">'sha1'</code> or\n<code class=\"docutils literal notranslate\">'sha256'</code>. <em>This check appeared in Django 3.1 and 3.2</em>.</p></li>\n<li><p><strong>security.E101</strong>: The CSRF failure view <code class=\"docutils literal notranslate\">'path.to.view'</code> does not take the\ncorrect number of arguments.</p></li>\n<li><p><strong>security.E102</strong>: The CSRF failure view <code class=\"docutils literal notranslate\">'path.to.view'</code> could not be\nimported.</p></li>\n<li><p><strong>security.E026</strong>: The CSP setting <code class=\"docutils literal notranslate\">&lt;SETTING_NAME&gt;</code> must be a dictionary\n(got <code class=\"docutils literal notranslate\">&lt;value&gt;</code> instead).</p></li>\n<li><p><strong>security.W027</strong>: Your Content Security Policy includes <code class=\"docutils literal notranslate\">CSP.NONCE</code> and\n<a class=\"reference internal\" href=\"/id/6.1/ref/middleware/#django.middleware.csp.ContentSecurityPolicyMiddleware\" title=\"django.middleware.csp.ContentSecurityPolicyMiddleware\"><code class=\"xref py py-class docutils literal notranslate\">ContentSecurityPolicyMiddleware</code></a> is enabled,\nbut <code class=\"docutils literal notranslate\">django.template.context_processors.csp</code> is not configured.</p></li>\n</ul>\n</section>\n<section id=\"signals\">\n<h3>Sinyal<a class=\"heading-anchor\" href=\"#signals\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p><strong>signals.E001</strong>: <code class=\"docutils literal notranslate\">&lt;handler&gt;</code> telah terhubung ke sinyal <code class=\"docutils literal notranslate\">&lt;signal&gt;</code> dengan acuan lazy ke pengirim <code class=\"docutils literal notranslate\">&lt;app label&gt;.&lt;model&gt;</code>, tetapi aplikasi <code class=\"docutils literal notranslate\">&lt;app label&gt;</code> tidak terpasang atau tidak menyediakan model <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n</ul>\n</section>\n<section id=\"templates\">\n<h3>Templat<a class=\"heading-anchor\" href=\"#templates\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Pemeriksaan berikut memeriksa bahwa pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-TEMPLATES\"><code class=\"xref std std-setting docutils literal notranslate\">TEMPLATES</code></a> anda dengan benar dikonfigurasi:</p>\n<ul class=\"simple\">\n<li><p><strong>templates.E001</strong>: You have <code class=\"docutils literal notranslate\">'APP_DIRS': True</code> in your\n<a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-TEMPLATES\"><code class=\"xref std std-setting docutils literal notranslate\">TEMPLATES</code></a> but also specify <code class=\"docutils literal notranslate\">'loaders'</code> in <code class=\"docutils literal notranslate\">OPTIONS</code>. Either\nremove <code class=\"docutils literal notranslate\">APP_DIRS</code> or remove the <code class=\"docutils literal notranslate\">'loaders'</code> option. <em>This check is\nremoved in Django 5.1 as system checks may now raise</em>\n<code class=\"docutils literal notranslate\">ImproperlyConfigured</code> <em>instead.</em></p></li>\n<li><p><strong>templates.E002</strong>: <code class=\"docutils literal notranslate\">string_if_invalid</code> di setting:TEMPLATES <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-TEMPLATES-OPTIONS\"><code class=\"xref std std-setting docutils literal notranslate\">OPTIONS</code></a> harus berupa string tetapi mendapatkan: <code class=\"docutils literal notranslate\">{value}</code> (<code class=\"docutils literal notranslate\">{type}</code>).</p></li>\n<li><p><strong>templates.E003</strong>:<code class=\"docutils literal notranslate\">&lt;name&gt;</code> is used for multiple template tag modules:\n<code class=\"docutils literal notranslate\">&lt;module list&gt;</code>. <em>This check was changed to</em> <code class=\"docutils literal notranslate\">templates.W003</code> <em>in Django\n4.1.2</em>.</p></li>\n<li><p><strong>templates.W003</strong>:<code class=\"docutils literal notranslate\">&lt;name&gt;</code> is used for multiple template tag modules:\n<code class=\"docutils literal notranslate\">&lt;module list&gt;</code>.</p></li>\n</ul>\n</section>\n<section id=\"translation\">\n<h3>Terjemahan<a class=\"heading-anchor\" href=\"#translation\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Pemeriksaan berikut dilakukan pada konfigurasi terjemahan anda:</p>\n<ul class=\"simple\">\n<li><p><strong>translation.E001</strong>: Anda telah menyediakan nilai tidak sah untuk pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-LANGUAGE_CODE\"><code class=\"xref std std-setting docutils literal notranslate\">LANGUAGE_CODE</code></a>: <code class=\"docutils literal notranslate\">&lt;value&gt;</code>.</p></li>\n<li><p><strong>translation.E002</strong>:  Anda telah menyediakan kode bahasa tidak sah dalam <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-LANGUAGES\"><code class=\"xref std std-setting docutils literal notranslate\">LANGUAGES</code></a> setting: <code class=\"docutils literal notranslate\">&lt;value&gt;</code>.</p></li>\n<li><p><strong>translation.E003</strong>: Anda telah menyediakan kode bahasa tidak sah dalam pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-LANGUAGES_BIDI\"><code class=\"xref std std-setting docutils literal notranslate\">LANGUAGES_BIDI</code></a>: <code class=\"docutils literal notranslate\">&lt;value&gt;</code>.</p></li>\n<li><p><strong>translation.E004</strong>: Anda telah menyediakan sebuah nilai untuk pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-LANGUAGE_CODE\"><code class=\"xref std std-setting docutils literal notranslate\">LANGUAGE_CODE</code></a> yang tidak di dalam pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-LANGUAGES\"><code class=\"xref std std-setting docutils literal notranslate\">LANGUAGES</code></a>.</p></li>\n</ul>\n</section>\n<section id=\"urls\">\n<h3>URL<a class=\"heading-anchor\" href=\"#urls\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Pemeriksaan berikut dilakukan di konfigurasi URL anda:</p>\n<ul class=\"simple\">\n<li><p><strong>urls.W001</strong>: Pola URL anda <code class=\"docutils literal notranslate\">&lt;pattern&gt;</code> menggunakan <a class=\"reference internal\" href=\"/id/6.1/ref/urls/#django.urls.include\" title=\"django.urls.include\"><code class=\"xref py py-func docutils literal notranslate\">include()</code></a> dengan <code class=\"docutils literal notranslate\">route</code> akhiran <code class=\"docutils literal notranslate\">$</code>. Memindahkan dolar dari <code class=\"docutils literal notranslate\">route</code> untuk menghindari masalah termasuk URL.</p></li>\n<li><p><strong>urls.W002</strong>: Pola URL anda <code class=\"docutils literal notranslate\">&lt;pattern&gt;</code> mempunyai <code class=\"docutils literal notranslate\">route</code> dimulai dengan sebuah <code class=\"docutils literal notranslate\">/</code>. Pindahkan garis miring ini ketika itu tidak dibutuhkan. Jika pola ini disasarkan dalam sebuah <a class=\"reference internal\" href=\"/id/6.1/ref/urls/#django.urls.include\" title=\"django.urls.include\"><code class=\"xref py py-func docutils literal notranslate\">include()</code></a>, pastikan pola <a class=\"reference internal\" href=\"/id/6.1/ref/urls/#django.urls.include\" title=\"django.urls.include\"><code class=\"xref py py-func docutils literal notranslate\">include()</code></a> mempunyai buntutan <code class=\"docutils literal notranslate\">/</code>.</p></li>\n<li><p><strong>urls.W003</strong>: Corak <code class=\"docutils literal notranslate\">&lt;pattern&gt;</code> URL mempunyai <code class=\"docutils literal notranslate\">name</code> termasuk sebuah <code class=\"docutils literal notranslate\">:</code>. Pindahkan titik dua, untuk menghindari dua arti acuan namespace.</p></li>\n<li><p><strong>urls.E004</strong>: Pola URL anda <code class=\"docutils literal notranslate\">&lt;pattern&gt;</code> tidak sah. Pastikan bahwa <code class=\"docutils literal notranslate\">urlpatterns</code> adalah daftar dari <a class=\"reference internal\" href=\"/id/6.1/ref/urls/#django.urls.path\" title=\"django.urls.path\"><code class=\"xref py py-func docutils literal notranslate\">path()</code></a> dan/atau contoh <a class=\"reference internal\" href=\"/id/6.1/ref/urls/#django.urls.re_path\" title=\"django.urls.re_path\"><code class=\"xref py py-func docutils literal notranslate\">re_path()</code></a>.</p></li>\n<li><p><strong>urls.W005</strong>: namespace URL <code class=\"docutils literal notranslate\">1</code> tidak unik. Anda mungkin tidak dapat membalikkan semua URL dalam namespace ini.</p></li>\n<li><p><strong>urls.E006</strong>: pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-MEDIA_URL\"><code class=\"xref std std-setting docutils literal notranslate\">MEDIA_URL</code></a>/ <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-STATIC_URL\"><code class=\"xref std std-setting docutils literal notranslate\">STATIC_URL</code></a> harus berakhir dengan sebuah garis miring.</p></li>\n<li><p><strong>urls.E007</strong>: Tampilan <code class=\"docutils literal notranslate\">handlerXXX</code> penyesuaian <code class=\"docutils literal notranslate\">'path.to.view'</code> tidak mengambil angka benar dari argumen (…).</p></li>\n<li><p><strong>urls.E008</strong>: Tampilan penyesuaian``handlerXXX`` <code class=\"docutils literal notranslate\">'path.to.view'</code> tidak dapat diterapkan.</p></li>\n<li><p><strong>urls.E009</strong>: Your URL pattern <code class=\"docutils literal notranslate\">&lt;pattern&gt;</code> has an invalid view, pass\n<code class=\"docutils literal notranslate\">&lt;view&gt;.as_view()</code> instead of <code class=\"docutils literal notranslate\">&lt;view&gt;</code>.</p></li>\n<li><p><strong>urls.W010</strong>: Your URL pattern <code class=\"docutils literal notranslate\">&lt;pattern&gt;</code> has an unmatched\n<code class=\"docutils literal notranslate\">&lt;angle bracket&gt;</code>.</p></li>\n</ul>\n</section>\n</section>\n<section id=\"contrib-app-checks\">\n<h2>Pemeriksaan aplikasi <code class=\"docutils literal notranslate\">contrib</code><a class=\"heading-anchor\" href=\"#contrib-app-checks\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<section id=\"admin\">\n<h3><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></h3>\n<p>Admin memeriksa semua yang dilakukan sebagai bagian dari etiket <code class=\"docutils literal notranslate\">admin</code>.</p>\n<p>Pemeriksaan berikut dilakukan pada setiap <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin\" title=\"django.contrib.admin.ModelAdmin\"><code class=\"xref py py-class docutils literal notranslate\">ModelAdmin</code></a> (atau subkelas) yang terdaftar dengan situs admin:</p>\n<ul class=\"simple\">\n<li><p><strong>admin.E001</strong>: Nilai dari <code class=\"docutils literal notranslate\">raw_id_fields</code> harus berupa daftar atau tuple.</p></li>\n<li><p><strong>admin.E002</strong>: The value of <code class=\"docutils literal notranslate\">raw_id_fields[n]</code> refers to <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>,\nwhich is not a field of <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>admin.E003</strong>: Nilai dari <code class=\"docutils literal notranslate\">raw_id_fields[n]</code> harus foreign key atau bidang many-to-many.</p></li>\n<li><p><strong>admin.E004</strong>: Nilai-nilai dari <code class=\"docutils literal notranslate\">fields</code> harus berupa daftar atau tuple.</p></li>\n<li><p><strong>admin.E005</strong>: kedua <code class=\"docutils literal notranslate\">fieldsets</code> dan <code class=\"docutils literal notranslate\">fields</code> ditentukan.</p></li>\n<li><p><strong>admin.E006</strong>: Nilai dari <code class=\"docutils literal notranslate\">fields</code> mengandung bidang ganda.</p></li>\n<li><p><strong>admin.E007</strong>: Nilai dari <code class=\"docutils literal notranslate\">fieldsets</code> harus berupa daftar atau tuple.</p></li>\n<li><p><strong>admin.E008</strong>: Nilai dari <code class=\"docutils literal notranslate\">fieldsets[n]</code> harus berupa daftar atau tuple.</p></li>\n<li><p><strong>admin.E009</strong>: Nilai dari <code class=\"docutils literal notranslate\">fieldsets[n]</code> harus panjang 2.</p></li>\n<li><p><strong>admin.E010</strong>: Nilai dari <code class=\"docutils literal notranslate\">fieldsets[n][1]</code> harus berupa kamus.</p></li>\n<li><p><strong>admin.E011</strong>: Nilai dari <code class=\"docutils literal notranslate\">fieldsets[n][1]</code> harus mengandung kunci <code class=\"docutils literal notranslate\">fields</code>.</p></li>\n<li><p><strong>admin.E012</strong>: Ada bidang ganda dalam <code class=\"docutils literal notranslate\">fieldsets[n][1]</code>.</p></li>\n<li><p><strong>admin.E013</strong>: The value of\n<code class=\"docutils literal notranslate\">fields[n]/filter_horizontal[n]/filter_vertical[n]/fieldsets[n][m]</code> cannot\ninclude the <code class=\"docutils literal notranslate\">ManyToManyField</code> <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>, because that field manually\nspecifies a relationship model.</p></li>\n<li><p><strong>admin.E014</strong>: Nilai dari <code class=\"docutils literal notranslate\">exclude</code> harus berupa daftar atau tuple.</p></li>\n<li><p><strong>admin.E015</strong>: Nilai dari <code class=\"docutils literal notranslate\">exclude</code> mengandung bidang ganda.</p></li>\n<li><p><strong>admin.E016</strong>: Nilai dari <code class=\"docutils literal notranslate\">form</code> harus warisan dari <code class=\"docutils literal notranslate\">BaseModelForm</code>.</p></li>\n<li><p><strong>admin.E017</strong>: Nilai dari <code class=\"docutils literal notranslate\">filter_vertical</code> harus berupa daftar atau tuple.</p></li>\n<li><p><strong>admin.E018</strong>: Nilai-nilai dari <code class=\"docutils literal notranslate\">filter_horizontal</code> harus berupa daftar atau tuple.</p></li>\n<li><p><strong>admin.E019</strong>: The value of <code class=\"docutils literal notranslate\">filter_vertical[n]/filter_horizontal[n]</code>\nrefers to <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>, which is not a field of <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>admin.E020</strong>: The value of <code class=\"docutils literal notranslate\">filter_vertical[n]/filter_horizontal[n]</code>\nmust be a many-to-many field.</p></li>\n<li><p><strong>admin.E021</strong>: Nilai dari <code class=\"docutils literal notranslate\">radio_fields</code> harus berupa kamus.</p></li>\n<li><p><strong>admin.E022</strong>: The value of <code class=\"docutils literal notranslate\">radio_fields</code> refers to <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>,\nwhich is not a field of <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>admin.E023</strong>: The value of <code class=\"docutils literal notranslate\">radio_fields</code> refers to <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>,\nwhich is not an instance of <code class=\"docutils literal notranslate\">ForeignKey</code>, and does not have a <code class=\"docutils literal notranslate\">choices</code>\ndefinition.</p></li>\n<li><p><strong>admin.E024</strong>: Nilai dari <code class=\"docutils literal notranslate\">radio_fields[&lt;field name&gt;]</code> harus berupa <code class=\"docutils literal notranslate\">admin.HORIZONTAL</code> atau <code class=\"docutils literal notranslate\">admin.VERTICAL</code>.</p></li>\n<li><p><strong>admin.E025</strong>: Nilai dari <code class=\"docutils literal notranslate\">view_on_site</code> harus berupa callable atau nilai boolean.</p></li>\n<li><p><strong>admin.E026</strong>: Nilai dari <code class=\"docutils literal notranslate\">prepopulated_fields</code> harus berupa kamus.</p></li>\n<li><p><strong>admin.E027</strong>: The value of <code class=\"docutils literal notranslate\">prepopulated_fields</code> refers to\n<code class=\"docutils literal notranslate\">&lt;field name&gt;</code>, which is not a field of <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>admin.E028</strong>: Nilai dari <code class=\"docutils literal notranslate\">prepopulated_fields</code> mengacu pada <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>, yang harus tidak berupa sebuah bidang <code class=\"docutils literal notranslate\">DateTimeField</code>, <code class=\"docutils literal notranslate\">ForeignKey</code>, <code class=\"docutils literal notranslate\">OneToOneField</code>, atau <code class=\"docutils literal notranslate\">ManyToManyField</code>.</p></li>\n<li><p><strong>admin.E029</strong>: Nilai dari <code class=\"docutils literal notranslate\">prepopulated_fields[&lt;field name&gt;]</code> harus berupa daftar atau tuple.</p></li>\n<li><p><strong>admin.E030</strong>: The value of <code class=\"docutils literal notranslate\">prepopulated_fields</code> refers to\n<code class=\"docutils literal notranslate\">&lt;field name&gt;</code>, which is not a field of <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>admin.E031</strong>: Nilai dari <code class=\"docutils literal notranslate\">ordering</code> harus berupa daftar atau tuple.</p></li>\n<li><p><strong>admin.E032</strong>: Nilai dari <code class=\"docutils literal notranslate\">ordering</code> mempunyai pembuat urutan acak <code class=\"docutils literal notranslate\">?</code>, tetapi mengandung bidang lain juga.</p></li>\n<li><p><strong>admin.E033</strong>: The value of <code class=\"docutils literal notranslate\">ordering</code> refers to <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>, which\nis not a field of <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>admin.E034</strong>: Nilai dari <code class=\"docutils literal notranslate\">readonly_fields</code> harus berupa sebuah daftar atau tuple.</p></li>\n<li><p><strong>admin.E035</strong>: The value of <code class=\"docutils literal notranslate\">readonly_fields[n]</code> refers to\n<code class=\"docutils literal notranslate\">&lt;field_name&gt;</code>, which is not a callable, an attribute of\n<code class=\"docutils literal notranslate\">&lt;ModelAdmin class&gt;</code>, or an attribute of <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>admin.E036</strong>: Nilai dari <code class=\"docutils literal notranslate\">autocomplete_fields</code> harus berupa list atau tuple.</p></li>\n<li><p><strong>admin.E037</strong>: The value of <code class=\"docutils literal notranslate\">autocomplete_fields[n]</code> refers to\n<code class=\"docutils literal notranslate\">&lt;field name&gt;</code>, which is not a field of <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>admin.E038</strong>: Nilai dari <code class=\"docutils literal notranslate\">autocomplete_fields[n]</code> harus berupa sebuah foreign key atau bidang many-to-many.</p></li>\n<li><p><strong>admin.E039</strong>: Sebuah admin untuk model <code class=\"docutils literal notranslate\">&lt;model&gt;</code> harus didaftarkan untuk diacukan oleh <code class=\"docutils literal notranslate\">&lt;modeladmin&gt;.autocomplete_fields</code>.</p></li>\n<li><p><strong>admin.E040</strong>: <code class=\"docutils literal notranslate\">&lt;modeladmin&gt;</code> harus menentukan <code class=\"docutils literal notranslate\">search_fields</code>, karena itu diacukan oleh``&lt;other_modeladmin&gt;.autocomplete_fields``.</p></li>\n<li><p><strong>admin.E041</strong>: The value of <code class=\"docutils literal notranslate\">delete_confirmation_max_display</code> must be a\nnon-negative integer or <code class=\"docutils literal notranslate\">None</code>.</p></li>\n</ul>\n<section id=\"modeladmin\">\n<h4><code class=\"docutils literal notranslate\">ModelAdmin</code><a class=\"heading-anchor\" href=\"#modeladmin\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Pemeriksaan berikut dilakukan di setiap <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin\" title=\"django.contrib.admin.ModelAdmin\"><code class=\"xref py py-class docutils literal notranslate\">ModelAdmin</code></a> yang terdaftar dengan situs admin:</p>\n<ul class=\"simple\">\n<li><p><strong>admin.E101</strong>: Nilai dari <code class=\"docutils literal notranslate\">save_as</code> harus boolean.</p></li>\n<li><p><strong>admin.E102</strong>: Nilai dari <code class=\"docutils literal notranslate\">save_on_top</code> harus boolean.</p></li>\n<li><p><strong>admin.E103</strong>: Nilai dari <code class=\"docutils literal notranslate\">inlines</code> harus berupa sebuahd daftar atau tuple.</p></li>\n<li><p><strong>admin.E104</strong>: <code class=\"docutils literal notranslate\">&lt;InlineModelAdmin class&gt;</code> harus mewarisi dari <code class=\"docutils literal notranslate\">InlineModelAdmin</code>.</p></li>\n<li><p><strong>admin.E105</strong>: <code class=\"docutils literal notranslate\">&lt;InlineModelAdmin class&gt;</code> harus mempunyai atribut <code class=\"docutils literal notranslate\">model</code>.</p></li>\n<li><p><strong>admin.E106</strong>: Nilai dari <code class=\"docutils literal notranslate\">&lt;InlineModelAdmin class&gt;.model</code> harus berupa <code class=\"docutils literal notranslate\">Model</code>.</p></li>\n<li><p><strong>admin.E107</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_display</code> harus berupa daftar atau tuple.</p></li>\n<li><p><strong>admin.E108</strong>: The value of <code class=\"docutils literal notranslate\">list_display[n]</code> refers to <code class=\"docutils literal notranslate\">&lt;label&gt;</code>, which\nis not a callable or attribute of <code class=\"docutils literal notranslate\">&lt;ModelAdmin class&gt;</code>, or an attribute,\nmethod, or field on <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>admin.E109</strong>: The value of <code class=\"docutils literal notranslate\">list_display[n]</code> must not be a many-to-many\nfield or a reverse foreign key.</p></li>\n<li><p><strong>admin.E110</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_display_links</code> harus berupa daftar, tuple atau <code class=\"docutils literal notranslate\">None</code>.</p></li>\n<li><p><strong>admin.E111</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_display_links[n]</code> mengacu pada <code class=\"docutils literal notranslate\">&lt;label&gt;</code>, yang tidak ditentukan di <code class=\"docutils literal notranslate\">list_display</code>.</p></li>\n<li><p><strong>admin.E112</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_filter</code> harus berupa daftar atau tuple.</p></li>\n<li><p><strong>admin.E113</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_filter[n]</code> harus warisan dari <code class=\"docutils literal notranslate\">ListFilter</code>.</p></li>\n<li><p><strong>admin.E114</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_filter[n]</code> harus bukan warisan dari <code class=\"docutils literal notranslate\">FieldListFilter</code>.</p></li>\n<li><p><strong>admin.E115</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_filter[n][1]</code> harus warisan dari <code class=\"docutils literal notranslate\">FieldListFilter</code>.</p></li>\n<li><p><strong>admin.E116</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_filter[n]</code> mengacu pada <code class=\"docutils literal notranslate\">&lt;label&gt;</code>, yang bukan mengacu pada sebuah Bidang.</p></li>\n<li><p><strong>admin.E117</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_select_related</code> harus berupa boolean, tuple atau daftar.</p></li>\n<li><p><strong>admin.E118</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_per_page</code> harus berupa integer.</p></li>\n<li><p><strong>admin.E119</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_max_show_all</code> harus berupa integer.</p></li>\n<li><p><strong>admin.E120</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_editable</code> harus berupa sebuah daftar atau tuple.</p></li>\n<li><p><strong>admin.E121</strong>: The value of <code class=\"docutils literal notranslate\">list_editable[n]</code> refers to <code class=\"docutils literal notranslate\">&lt;label&gt;</code>,\nwhich is not a field of <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>admin.E122</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_editable[n]</code> mengacu pada <code class=\"docutils literal notranslate\">&lt;label&gt;</code>, yang tidak berisi di <code class=\"docutils literal notranslate\">list_display</code>.</p></li>\n<li><p><strong>admin.E123</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_editable[n]</code> tidak dapat di kedua <code class=\"docutils literal notranslate\">list_editable</code> dan <code class=\"docutils literal notranslate\">list_display_links</code>.</p></li>\n<li><p><strong>admin.E124</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_editable[n]</code> mengacu pada bidang pertama di <code class=\"docutils literal notranslate\">list_display</code> (<code class=\"docutils literal notranslate\">&lt;label&gt;</code>), yang tidak dapat digunakan meskipun <code class=\"docutils literal notranslate\">list_display_links</code> disetel.</p></li>\n<li><p><strong>admin.E125</strong>: Nilai dari <code class=\"docutils literal notranslate\">list_editable[n]</code> mengacu pada <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>, yang tidak dapat disunting melalui admin.</p></li>\n<li><p><strong>admin.E126</strong>: Nilai dari <code class=\"docutils literal notranslate\">search_fields</code> harus berupa sebuah daftar atau tuple.</p></li>\n<li><p><strong>admin.E127</strong>: Nilai dari <code class=\"docutils literal notranslate\">date_hierarchy</code> mengacu pada <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>, yang tidak mengacu ke sebuah Bidang.</p></li>\n<li><p><strong>admin.E128</strong>: Nilai dari <code class=\"docutils literal notranslate\">date_hierarchy</code> harus berupa <code class=\"docutils literal notranslate\">DateField</code> atau <code class=\"docutils literal notranslate\">DateTimeField</code>.</p></li>\n<li><p><strong>admin.E129</strong>: <code class=\"docutils literal notranslate\">&lt;modeladmin&gt;</code> harus menentukan metode <code class=\"docutils literal notranslate\">has_&lt;foo&gt;_permission()</code> untuk tindakan <code class=\"docutils literal notranslate\">&lt;action&gt;</code>.</p></li>\n<li><p><strong>admin.E130</strong>: <code class=\"docutils literal notranslate\">__name__</code> attributes of actions defined in\n<code class=\"docutils literal notranslate\">&lt;modeladmin&gt;</code> must be unique. Name <code class=\"docutils literal notranslate\">&lt;name&gt;</code> is not unique.</p></li>\n</ul>\n</section>\n<section id=\"inlinemodeladmin\">\n<h4><code class=\"docutils literal notranslate\">InlineModelAdmin</code><a class=\"heading-anchor\" href=\"#inlinemodeladmin\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Pemeriksaan berikut dilakukan pada setiap <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/admin/#django.contrib.admin.InlineModelAdmin\" title=\"django.contrib.admin.InlineModelAdmin\"><code class=\"xref py py-class docutils literal notranslate\">InlineModelAdmin</code></a> yang didaftarkan sebagai sebaris pada <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin\" title=\"django.contrib.admin.ModelAdmin\"><code class=\"xref py py-class docutils literal notranslate\">ModelAdmin</code></a>.</p>\n<ul class=\"simple\">\n<li><p><strong>admin.E201</strong>: Tidak dapat mengeluarkan bidang <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>, karena itu adalah foreign key pada model induk <code class=\"docutils literal notranslate\">&lt;app_label&gt;.&lt;model&gt;</code>.</p></li>\n<li><p><strong>admin.E202</strong>: <code class=\"docutils literal notranslate\">&lt;model&gt;</code> has no <code class=\"docutils literal notranslate\">ForeignKey</code> to <code class=\"docutils literal notranslate\">&lt;parent model&gt;</code>./\n<code class=\"docutils literal notranslate\">&lt;model&gt;</code> has more than one <code class=\"docutils literal notranslate\">ForeignKey</code> to <code class=\"docutils literal notranslate\">&lt;parent model&gt;</code>. You must\nspecify a <code class=\"docutils literal notranslate\">fk_name</code> attribute.</p></li>\n<li><p><strong>admin.E203</strong>: Nilai dari <code class=\"docutils literal notranslate\">extra</code> harus berupa integer.</p></li>\n<li><p><strong>admin.E204</strong>: Nilai <code class=\"docutils literal notranslate\">max_num</code> harus berupa integer.</p></li>\n<li><p><strong>admin.E205</strong>: Nilai <code class=\"docutils literal notranslate\">min_num</code> harus berupa integer.</p></li>\n<li><p><strong>admin.E206</strong>: Nilai dari <code class=\"docutils literal notranslate\">formset</code> harus warisan dari <code class=\"docutils literal notranslate\">BaseModelFormSet</code>.</p></li>\n</ul>\n</section>\n<section id=\"genericinlinemodeladmin\">\n<h4><code class=\"docutils literal notranslate\">GenericInlineModelAdmin</code><a class=\"heading-anchor\" href=\"#genericinlinemodeladmin\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Pemeriksaan berikut dilakukan pada setiap <code class=\"xref py py-class docutils literal notranslate\">GenericInlineModelAdmin</code> yang didaftarkan sebagai berderet pada <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin\" title=\"django.contrib.admin.ModelAdmin\"><code class=\"xref py py-class docutils literal notranslate\">ModelAdmin</code></a>.</p>\n<ul class=\"simple\">\n<li><p><strong>admin.E301</strong>: <code class=\"docutils literal notranslate\">&lt;model&gt;</code> has no <code class=\"docutils literal notranslate\">GenericForeignKey</code>.</p></li>\n<li><p><strong>admin.E302</strong>: <code class=\"docutils literal notranslate\">'ct_field'</code> references <code class=\"docutils literal notranslate\">&lt;label&gt;</code>, which is not a field\non <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>admin.E303</strong>: <code class=\"docutils literal notranslate\">'ct_fk_field'</code> references <code class=\"docutils literal notranslate\">&lt;label&gt;</code>, which is not a\nfield on <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>admin.E304</strong>: <code class=\"docutils literal notranslate\">&lt;model&gt;</code> tidak mempunyai <code class=\"docutils literal notranslate\">GenericForeignKey</code> menggunakan <code class=\"docutils literal notranslate\">&lt;field name&gt;</code> bidang jenis isi dan <code class=\"docutils literal notranslate\">&lt;field name&gt;</code> bidang ID obyek.</p></li>\n</ul>\n</section>\n<section id=\"adminsite\">\n<h4><code class=\"docutils literal notranslate\">AdminSite</code><a class=\"heading-anchor\" href=\"#adminsite\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Pemeriksaan berikut dilakukan pada awalan <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/admin/#django.contrib.admin.AdminSite\" title=\"django.contrib.admin.AdminSite\"><code class=\"xref py py-class docutils literal notranslate\">AdminSite</code></a>:</p>\n<ul class=\"simple\">\n<li><p><strong>admin.E401</strong>: <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/contenttypes/#module-django.contrib.contenttypes\" title=\"django.contrib.contenttypes: Provides generic interface to installed models.\"><code class=\"xref py py-mod docutils literal notranslate\">django.contrib.contenttypes</code></a> harus di <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-INSTALLED_APPS\"><code class=\"xref std std-setting docutils literal notranslate\">INSTALLED_APPS</code></a> untuk menggunakan aplikasi admin.</p></li>\n<li><p><strong>admin.E402</strong>: <a class=\"reference internal\" href=\"/id/6.1/ref/templates/api/#django.contrib.auth.context_processors.auth\" title=\"django.contrib.auth.context_processors.auth\"><code class=\"xref py py-mod docutils literal notranslate\">django.contrib.auth.context_processors.auth</code></a> harus diadakan dalam <a class=\"reference internal\" href=\"/id/6.1/topics/templates/#django.template.backends.django.DjangoTemplates\" title=\"django.template.backends.django.DjangoTemplates\"><code class=\"xref py py-class docutils literal notranslate\">DjangoTemplates</code></a> (<a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-TEMPLATES\"><code class=\"xref std std-setting docutils literal notranslate\">TEMPLATES</code></a>) jika menggunakan autentifikasi backend awalan untuk menggunakan aplikasi admin.</p></li>\n<li><p><strong>admin.E403</strong>: Sebuah contoh <a class=\"reference internal\" href=\"/id/6.1/topics/templates/#django.template.backends.django.DjangoTemplates\" title=\"django.template.backends.django.DjangoTemplates\"><code class=\"xref py py-class docutils literal notranslate\">django.template.backends.django.DjangoTemplates</code></a> harus dikonfigurasi dalam <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-TEMPLATES\"><code class=\"xref std std-setting docutils literal notranslate\">TEMPLATES</code></a> untuk menggunakan aplikasi admin.</p></li>\n<li><p><strong>admin.E404</strong>: <code class=\"docutils literal notranslate\">django.contrib.messages.context_processors.messages</code> harus diadakan dalam <a class=\"reference internal\" href=\"/id/6.1/topics/templates/#django.template.backends.django.DjangoTemplates\" title=\"django.template.backends.django.DjangoTemplates\"><code class=\"xref py py-class docutils literal notranslate\">DjangoTemplates</code></a> (<a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-TEMPLATES\"><code class=\"xref std std-setting docutils literal notranslate\">TEMPLATES</code></a>) untuk menggunakan aplikasi admin.</p></li>\n<li><p><strong>admin.E405</strong>: <a class=\"reference internal\" href=\"/id/6.1/topics/auth/#module-django.contrib.auth\" title=\"django.contrib.auth: Django's authentication framework.\"><code class=\"xref py py-mod docutils literal notranslate\">django.contrib.auth</code></a> harus berada dalam <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-INSTALLED_APPS\"><code class=\"xref std std-setting docutils literal notranslate\">INSTALLED_APPS</code></a> untuk menggunakan aplikasi admin.</p></li>\n<li><p><strong>admin.E406</strong>: <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/messages/#module-django.contrib.messages\" title=\"django.contrib.messages: Provides cookie- and session-based temporary message storage.\"><code class=\"xref py py-mod docutils literal notranslate\">django.contrib.messages</code></a> harus berada dalam <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-INSTALLED_APPS\"><code class=\"xref std std-setting docutils literal notranslate\">INSTALLED_APPS</code></a> utnuk menggunakan aplikasi admin.</p></li>\n<li><p><strong>admin.E408</strong>: <a class=\"reference internal\" href=\"/id/6.1/ref/middleware/#django.contrib.auth.middleware.AuthenticationMiddleware\" title=\"django.contrib.auth.middleware.AuthenticationMiddleware\"><code class=\"xref py py-class docutils literal notranslate\">django.contrib.auth.middleware.AuthenticationMiddleware</code></a> harus berada dalam <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-MIDDLEWARE\"><code class=\"xref std std-setting docutils literal notranslate\">MIDDLEWARE</code></a> untuk menggunakan aplikasi admin.</p></li>\n<li><p><strong>admin.E409</strong>: <a class=\"reference internal\" href=\"/id/6.1/ref/middleware/#django.contrib.messages.middleware.MessageMiddleware\" title=\"django.contrib.messages.middleware.MessageMiddleware\"><code class=\"xref py py-class docutils literal notranslate\">django.contrib.messages.middleware.MessageMiddleware</code></a> harus berada dalam <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-MIDDLEWARE\"><code class=\"xref std std-setting docutils literal notranslate\">MIDDLEWARE</code></a> untuk menggunakan aplikasi admin.</p></li>\n<li><p><strong>admin.E410</strong>: <a class=\"reference internal\" href=\"/id/6.1/ref/middleware/#django.contrib.sessions.middleware.SessionMiddleware\" title=\"django.contrib.sessions.middleware.SessionMiddleware\"><code class=\"xref py py-class docutils literal notranslate\">django.contrib.sessions.middleware.SessionMiddleware</code></a> harus berada dalam <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-MIDDLEWARE\"><code class=\"xref std std-setting docutils literal notranslate\">MIDDLEWARE</code></a> untuk menggunakan aplikasi admin.</p></li>\n<li><p><strong>admin.W411</strong>: <code class=\"docutils literal notranslate\">django.template.context_processors.request</code> must be\nenabled in <a class=\"reference internal\" href=\"/id/6.1/topics/templates/#django.template.backends.django.DjangoTemplates\" title=\"django.template.backends.django.DjangoTemplates\"><code class=\"xref py py-class docutils literal notranslate\">DjangoTemplates</code></a>\n(<a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-TEMPLATES\"><code class=\"xref std std-setting docutils literal notranslate\">TEMPLATES</code></a>) in order to use the admin navigation sidebar.</p></li>\n</ul>\n</section>\n</section>\n<section id=\"auth\">\n<h3><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></h3>\n<ul class=\"simple\">\n<li><p><strong>auth.E001</strong>: <code class=\"docutils literal notranslate\">REQUIRED_FIELDS</code> harus berupa daftar atau rekaman.</p></li>\n<li><p><strong>auth.E002</strong>: Bidang bernama sebagai <code class=\"docutils literal notranslate\">USERNAME_FIELD</code> untuk model pengguna penyesuaian harus tidak disertakan di <code class=\"docutils literal notranslate\">REQUIRED_FIELDS</code>.</p></li>\n<li><p><strong>auth.E003</strong>: <code class=\"docutils literal notranslate\">&lt;field&gt;</code> harus unik karena itu dinamai sebagai <code class=\"docutils literal notranslate\">USERNAME_FIELD</code>.</p></li>\n<li><p><strong>auth.W004</strong>: <code class=\"docutils literal notranslate\">&lt;field&gt;</code> dinamai sebagai <code class=\"docutils literal notranslate\">USERNAME_FIELD</code>, tetapi itu tidak unik.</p></li>\n<li><p><strong>auth.E005</strong>: Nama kode perizinan <code class=\"docutils literal notranslate\">&lt;codename&gt;</code> bentrok dengan perizinan siap pakai untuk model <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>auth.E006</strong>: Nama kode perizinan <code class=\"docutils literal notranslate\">&lt;codename&gt;</code> digunakan untuk model <code class=\"docutils literal notranslate\">&lt;model&gt;</code>.</p></li>\n<li><p><strong>auth.E007</strong>: <a class=\"reference internal\" href=\"/id/6.1/ref/models/options/#django.db.models.Options.verbose_name\" title=\"django.db.models.Options.verbose_name\"><code class=\"xref py py-attr docutils literal notranslate\">verbose_name</code></a> dari model <code class=\"docutils literal notranslate\">&lt;model&gt;</code> harus berupa paling banyak 244 karakter untuk nama-nama perizinan siap pakainya menjadi paling banyak 255 karakter.</p></li>\n<li><p><strong>auth.E008</strong>: Perizinan bernama <code class=\"docutils literal notranslate\">&lt;name&gt;</code> dari model <code class=\"docutils literal notranslate\">&lt;model&gt;</code> tidak lebih panjang dari 255 karakter.</p></li>\n<li><p><strong>auth.C009</strong>: <code class=\"docutils literal notranslate\">&lt;User model&gt;.is_anonymous</code> harus berupa sebuah atribut atau sifat daripada sebuah metode. Mengabaikan ini adalah masalah keamanan ketika pengguna anonim akan diperlakukan sebagai terotentifikasi!</p></li>\n<li><p><strong>auth.C010</strong>: <code class=\"docutils literal notranslate\">&lt;User model&gt;.is_authenticated</code> harus berupa sebuah atribut atau sifat daripada sebuah metode. Mengabaikan ini adalah masalah keamanan ketika pengguna anonim akan diperlakukan sebagai terotentifikasi!</p></li>\n<li><p><strong>auth.E011</strong>: The name of model <code class=\"docutils literal notranslate\">&lt;model&gt;</code> must be at most 93 characters\nfor its builtin permission names to be at most 100 characters.</p></li>\n<li><p><strong>auth.E012</strong>: The permission codenamed <code class=\"docutils literal notranslate\">&lt;codename&gt;</code> of model <code class=\"docutils literal notranslate\">&lt;model&gt;</code>\nis longer than 100 characters.</p></li>\n<li><p><strong>auth.E013</strong>: In order to use\n<a class=\"reference internal\" href=\"/id/6.1/ref/middleware/#django.contrib.auth.middleware.LoginRequiredMiddleware\" title=\"django.contrib.auth.middleware.LoginRequiredMiddleware\"><code class=\"xref py py-class docutils literal notranslate\">django.contrib.auth.middleware.LoginRequiredMiddleware</code></a>,\n<a class=\"reference internal\" href=\"/id/6.1/ref/middleware/#django.contrib.auth.middleware.AuthenticationMiddleware\" title=\"django.contrib.auth.middleware.AuthenticationMiddleware\"><code class=\"xref py py-class docutils literal notranslate\">django.contrib.auth.middleware.AuthenticationMiddleware</code></a> must be\ndefined before it in MIDDLEWARE.</p></li>\n</ul>\n</section>\n<section id=\"contenttypes\">\n<h3><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></h3>\n<p>Pemeriksaan berikut dilakukan ketika sebuah model mengandung sebuah <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/contenttypes/#django.contrib.contenttypes.fields.GenericForeignKey\" title=\"django.contrib.contenttypes.fields.GenericForeignKey\"><code class=\"xref py py-class docutils literal notranslate\">GenericForeignKey</code></a> atau <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/contenttypes/#django.contrib.contenttypes.fields.GenericRelation\" title=\"django.contrib.contenttypes.fields.GenericRelation\"><code class=\"xref py py-class docutils literal notranslate\">GenericRelation</code></a>:</p>\n<ul class=\"simple\">\n<li><p><strong>contenttypes.E001</strong>: ID obyek <code class=\"docutils literal notranslate\">GenericForeignKey</code> mengacu bidang tidak ada <code class=\"docutils literal notranslate\">&lt;field&gt;</code>.</p></li>\n<li><p><strong>contenttypes.E002</strong>: Jenis isi <code class=\"docutils literal notranslate\">GenericForeignKey</code> mengacu field <code class=\"docutils literal notranslate\">&lt;field&gt;</code> yang tidak ada.</p></li>\n<li><p><strong>contenttypes.E003</strong>: <code class=\"docutils literal notranslate\">&lt;field&gt;</code> bukan <code class=\"docutils literal notranslate\">ForeignKey</code>.</p></li>\n<li><p><strong>contenttypes.E004</strong>: <code class=\"docutils literal notranslate\">&lt;field&gt;</code> bukan <code class=\"docutils literal notranslate\">ForeignKey</code> pada <code class=\"docutils literal notranslate\">contenttypes.ContentType</code>.</p></li>\n<li><p><strong>contenttypes.E005</strong>: Nama-nama model harus paling banyak 100 karakter.</p></li>\n<li><p><strong>contenttypes.E006</strong>: <code class=\"docutils literal notranslate\">&lt;field&gt;</code> cannot use the database-level\n<code class=\"docutils literal notranslate\">on_delete</code> variant.</p></li>\n</ul>\n</section>\n<section id=\"postgres\">\n<h3><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></h3>\n<p>The following checks are performed on <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/postgres/#module-django.contrib.postgres\" title=\"django.contrib.postgres: PostgreSQL-specific fields and features\"><code class=\"xref py py-mod docutils literal notranslate\">django.contrib.postgres</code></a> model\nfields, indexes, and constraints:</p>\n<ul class=\"simple\">\n<li><p><strong>postgres.E001</strong>: Bidang dasar untuk senarai mempunyai kesalahan: ...</p></li>\n<li><p><strong>postgres.E002</strong>: Bidang dasar untuk senarai tidak dapat berupa bidang terkait.</p></li>\n<li><p><strong>postgres.E003</strong>: <code class=\"docutils literal notranslate\">&lt;field&gt;</code> default should be a callable instead of an\ninstance so that it's not shared between all field instances. <em>This check was\nchanged to</em> <code class=\"docutils literal notranslate\">fields.E010</code> <em>in Django 3.1</em>.</p></li>\n<li><p><strong>postgres.W004</strong>: Base field for array has warnings: ...</p></li>\n<li><p><strong>postgres.E005</strong>: <code class=\"docutils literal notranslate\">'django.contrib.postgres'</code> must be in\n<code class=\"docutils literal notranslate\">INSTALLED_APPS</code> in order to use <code class=\"docutils literal notranslate\">&lt;django.contrib.postgres feature&gt;</code>.</p></li>\n</ul>\n</section>\n<section id=\"sites\">\n<span id=\"sites-system-checks\"></span><h3><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></h3>\n<p>Pemeriksaan berikut dilakukan pada setiap model menggunakan <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/sites/#django.contrib.sites.managers.CurrentSiteManager\" title=\"django.contrib.sites.managers.CurrentSiteManager\"><code class=\"xref py py-class docutils literal notranslate\">CurrentSiteManager</code></a>:</p>\n<ul class=\"simple\">\n<li><p><strong>sites.E001</strong>: <code class=\"docutils literal notranslate\">CurrentSiteManager</code> tidak dapat menemukan sebuah bidang dinamai <code class=\"docutils literal notranslate\">&lt;field name&gt;</code>.</p></li>\n<li><p><strong>sites.E002</strong>: <code class=\"docutils literal notranslate\">CurrentSiteManager</code> tidak dapat menggunakan <code class=\"docutils literal notranslate\">&lt;field&gt;</code> karena itu adalah bukan foreign key atau bidang many-to-many.</p></li>\n</ul>\n<p>The following checks verify that <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/sites/#module-django.contrib.sites\" title=\"django.contrib.sites: Lets you operate multiple websites from the same database and Django project\"><code class=\"xref py py-mod docutils literal notranslate\">django.contrib.sites</code></a> is correctly\nconfigured:</p>\n<ul class=\"simple\">\n<li><p><strong>sites.E101</strong>: The <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SITE_ID\"><code class=\"xref std std-setting docutils literal notranslate\">SITE_ID</code></a> setting must be of type <code class=\"docutils literal notranslate\">&lt;type&gt;</code>.\n<em>or</em> The <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-SITE_ID\"><code class=\"xref std std-setting docutils literal notranslate\">SITE_ID</code></a> setting failed to validate: <code class=\"docutils literal notranslate\">&lt;error&gt;</code>.</p></li>\n</ul>\n</section>\n<section id=\"staticfiles\">\n<h3><code class=\"docutils literal notranslate\">staticfiles</code><a class=\"heading-anchor\" href=\"#staticfiles\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Pemeriksaan berikut mensahkan bahwa <a class=\"reference internal\" href=\"/id/6.1/ref/contrib/staticfiles/#module-django.contrib.staticfiles\" title=\"django.contrib.staticfiles: An app for handling static files.\"><code class=\"xref py py-mod docutils literal notranslate\">django.contrib.staticfiles</code></a> dikonfigurasi dengan benar.</p>\n<ul class=\"simple\">\n<li><p><strong>staticfiles.E001</strong>: Pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-STATICFILES_DIRS\"><code class=\"xref std std-setting docutils literal notranslate\">STATICFILES_DIRS</code></a> bukan tuple atau list.</p></li>\n<li><p><strong>staticfiles.E002</strong>: Pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-STATICFILES_DIRS\"><code class=\"xref std std-setting docutils literal notranslate\">STATICFILES_DIRS</code></a> harus tidak mengandung pengaturan :setting:<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>STATIC_ROOT.</p></li>\n<li><p><strong>staticfiles.E003</strong>: Awalan <code class=\"docutils literal notranslate\">&lt;prefix&gt;</code> dalam pengaturan <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-STATICFILES_DIRS\"><code class=\"xref std std-setting docutils literal notranslate\">STATICFILES_DIRS</code></a> tidak boleh diakhiri dengan sebuah garis miring.</p></li>\n<li><p><strong>staticfiles.W004</strong>: The directory <code class=\"docutils literal notranslate\">&lt;directory&gt;</code> in the\n<a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-STATICFILES_DIRS\"><code class=\"xref std std-setting docutils literal notranslate\">STATICFILES_DIRS</code></a> does not exist.</p></li>\n<li><p><strong>staticfiles.E005</strong>: The <a class=\"reference internal\" href=\"/id/6.1/ref/settings/#std-setting-STORAGES\"><code class=\"xref std std-setting docutils literal notranslate\">STORAGES</code></a> setting must define a\n<code class=\"docutils literal notranslate\">staticfiles</code> storage.</p></li>\n</ul>\n</section>\n</section>","rootId":"system-check-framework","toc":[{"title":"Acuan API","anchor":"api-reference","children":[{"title":"CheckMessage","anchor":"checkmessage","children":[]}]},{"title":"Etiket siap pakai","anchor":"builtin-tags","children":[]},{"title":"Memeriksa sistem inti","anchor":"core-system-checks","children":[{"title":"Dukungan asinkronus","anchor":"asynchronous-support","children":[]},{"title":"Kesesuaian kebelakang","anchor":"backwards-compatibility","children":[]},{"title":"Tembolok","anchor":"caches","children":[]},{"title":"Basisdata","anchor":"database","children":[{"title":"MySQL dan MariaDB","anchor":"mysql-and-mariadb","children":[]}]},{"title":"Mail","anchor":"mail","children":[]},{"title":"Mengelola berkas","anchor":"managing-files","children":[]},{"title":"Bidang-bidang model","anchor":"model-fields","children":[{"title":"Bidang-bidang berkas","anchor":"file-fields","children":[]},{"title":"Bidang-bidang terhubung","anchor":"related-fields","children":[]}]},{"title":"Model","anchor":"models","children":[]},{"title":"Pengelolaan perintah","anchor":"management-commands","children":[]},{"title":"Keamanan","anchor":"security","children":[]},{"title":"Sinyal","anchor":"signals","children":[]},{"title":"Templat","anchor":"templates","children":[]},{"title":"Terjemahan","anchor":"translation","children":[]},{"title":"URL","anchor":"urls","children":[]}]},{"title":"Pemeriksaan aplikasi contrib","anchor":"contrib-app-checks","children":[{"title":"admin","anchor":"admin","children":[{"title":"ModelAdmin","anchor":"modeladmin","children":[]},{"title":"InlineModelAdmin","anchor":"inlinemodeladmin","children":[]},{"title":"GenericInlineModelAdmin","anchor":"genericinlinemodeladmin","children":[]},{"title":"AdminSite","anchor":"adminsite","children":[]}]},{"title":"auth","anchor":"auth","children":[]},{"title":"contenttypes","anchor":"contenttypes","children":[]},{"title":"postgres","anchor":"postgres","children":[]},{"title":"sites","anchor":"sites","children":[]},{"title":"staticfiles","anchor":"staticfiles","children":[]}]}],"breadcrumbs":[{"docname":"ref/index","title":"Acuan API","url":"/id/6.1/ref/"}],"prev":{"docname":"ref/applications","title":"Aplikasi","url":"/id/6.1/ref/applications/"},"next":{"docname":"ref/class-based-views/index","title":"API tampilan berdasarkan-kelas siap-pakai","url":"/id/6.1/ref/class-based-views/"},"formats":{"html":"/id/6.1/ref/checks/","markdown":"/id/6.1/ref/checks.md","json":"/id/6.1/ref/checks.json"},"source":"https://github.com/django/django/blob/stable/6.1.x/docs/ref/checks.txt","official":"https://docs.djangoproject.com/id/6.1/ref/checks/","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","sv","zh-hans","ga","fr","ja","id","it","pt-br","ko","es","el","pl"]}