{"title":"Socruithe","version":"5.2","locale":"ga","docname":"ref/settings","url":"/ga/5.2/ref/settings/","canonical":"https://djangodocs.dev/ga/5.2/ref/settings/","summary":"Seo liosta de na socruithe atá ar fáil i gcroí Django agus a luachanna réamhshocraithe.","html":"<h1>Socruithe<a class=\"heading-anchor\" href=\"#settings\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<nav class=\"contents local\" id=\"contents\">\n<ul class=\"simple\">\n<li><p><a class=\"reference internal\" href=\"#core-settings\" id=\"id12\">Socruithe lárnacha</a></p></li>\n<li><p><a class=\"reference internal\" href=\"#auth\" id=\"id13\">Authas</a></p></li>\n<li><p><a class=\"reference internal\" href=\"#messages\" id=\"id14\">Teachtaireachtaí</a></p></li>\n<li><p><a class=\"reference internal\" href=\"#sessions\" id=\"id15\">Seisiúin</a></p></li>\n<li><p><a class=\"reference internal\" href=\"#sites\" id=\"id16\">Suíomhanna</a></p></li>\n<li><p><a class=\"reference internal\" href=\"#static-files\" id=\"id17\">Comhaid Statach</a></p></li>\n<li><p><a class=\"reference internal\" href=\"#core-settings-topical-index\" id=\"id18\">Innéacs Áiritheach na Socruithe</a></p></li>\n</ul>\n</nav>\n<aside class=\"admonition admonition-warning\" role=\"note\">\n<p class=\"admonition-title\">Warning</p>\n<p>Bí cúramach nuair a sháraigh tú socruithe, go háirithe nuair is liosta nó foclóir neamh-folamh é an luach réamhshocraithe, mar shampla:setting: STATICFILES_FINDERS. Déan cinnte go gcoinníonn tú na comhpháirteanna a theastaíonn ó ghnéithe Django is mian leat a úsáid.</p>\n</aside>\n<section id=\"core-settings\">\n<h2><a class=\"toc-backref\" href=\"#id12\" role=\"doc-backlink\">Socruithe lárnacha</a><a class=\"headerlink\" href=\"#core-settings\" title=\"Link to this heading\">¶</a></h2>\n<p>Seo liosta de na socruithe atá ar fáil i gcroí Django agus a luachanna réamhshocraithe. Tá socruithe a sholáthraíonn aipeanna contrib liostaithe thíos, agus innéacs tráthúil de na croí-shocruithe ina dhiaidh sin. Le haghaidh ábhar tosaigh, féach an:doc: treoir ábhair <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>socruithe <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>&lt;/topics/settings&gt;.</p>\n<section id=\"absolute-url-overrides\">\n<span id=\"std-setting-ABSOLUTE_URL_OVERRIDES\"></span><h3><code class=\"docutils literal notranslate\">URL_ABSOLUTE_OVERRIDES</code><a class=\"heading-anchor\" href=\"#absolute-url-overrides\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">{}</code> (Foclóir folamh)</p>\n<p>Tá foclóir ag mapáil <code class=\"docutils literal notranslate\">&quot;app_label.model_name&quot;</code> teaghrán chuig feidhmeanna a thógann réad samhail agus a chuireann a URL ar ais. Is bealach é seo chun modhanna <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>get_absolute_url () <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>a chur isteach nó a shárú ar bhonn in aghaidh an tsuiteála. Sampla:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code>ABSOLUTE_URL_OVERRIDES <span class=\"o\">=</span> <span class=\"p\">{</span>\n    <span class=\"s2\">&quot;blogs.blog&quot;</span><span class=\"p\">:</span> <span class=\"k\">lambda</span> o<span class=\"p\">:</span> <span class=\"s2\">&quot;/blogs/</span><span class=\"si\">%s</span><span class=\"s2\">/&quot;</span> <span class=\"o\">%</span> o<span class=\"o\">.</span>slug<span class=\"p\">,</span>\n    <span class=\"s2\">&quot;news.story&quot;</span><span class=\"p\">:</span> <span class=\"k\">lambda</span> o<span class=\"p\">:</span> <span class=\"s2\">&quot;/stories/</span><span class=\"si\">%s</span><span class=\"s2\">/</span><span class=\"si\">%s</span><span class=\"s2\">/&quot;</span> <span class=\"o\">%</span> <span class=\"p\">(</span>o<span class=\"o\">.</span>pub_year<span class=\"p\">,</span> o<span class=\"o\">.</span>slug<span class=\"p\">),</span>\n<span class=\"p\">}</span>\n</code></pre></div>\n<p>Ba chóir go mbeadh an t-ainm samhail a úsáidtear sa suíomh seo go léir líon beag, beag beann ar chás ainm aicme iarbhír an tsamhail.</p>\n</section>\n<section id=\"admins\">\n<span id=\"std-setting-ADMINS\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>RIARACHÁIN ``<a class=\"heading-anchor\" href=\"#admins\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Liosta de na daoine go léir a fhaigheann fógraí earráide cód. Nuair: Setting: debug = false &lt;DEBUG&gt;`agus:class: `~django.utils.log.adminEmailHandler cumraithe in:setting: LOGGING (déanta de réir réamhshocraithe), ríomhphostálann Django na sonraí eisceachtaí a ardaíodh sa timthriall iarrata/freagartha do na daoine seo.</p>\n<p>Ba chóir go mbeadh gach mír sa liosta ina tuple de (Ainm iomlán, seoladh ríomhphoist). Sampla:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"p\">[(</span><span class=\"s2\">&quot;John&quot;</span><span class=\"p\">,</span> <span class=\"s2\">&quot;john@example.com&quot;</span><span class=\"p\">),</span> <span class=\"p\">(</span><span class=\"s2\">&quot;Mary&quot;</span><span class=\"p\">,</span> <span class=\"s2\">&quot;mary@example.com&quot;</span><span class=\"p\">)]</span>\n</code></pre></div>\n</section>\n<section id=\"allowed-hosts\">\n<span id=\"std-setting-ALLOWED_HOSTS\"></span><h3><code class=\"docutils literal notranslate\">ÓSTÁLACHA CEADAITHEAD</code><a class=\"heading-anchor\" href=\"#allowed-hosts\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Liosta de na teaghráin a léiríonn na hainmneacha óstaí/fearainn ar féidir leis an suíomh Django seo freastal orthu. Is beart slándála é seo chun cosc a choisc:ref: Ionsaithe ceanntásc Óstach HTTP &lt;host-headers-virtual-hosting&gt;, atá indéanta fiú faoi go leor cumraíochtaí freastalaí gréasáin atá cosúil go bhfuil siad sábháilte.</p>\n<p>Is féidir le luachanna sa liosta seo a bheith ina ainmneacha láncháilithe (m.sh. <code class=\"docutils literal notranslate\">`www.example.com'</code>), agus sa chás sin déanfar iad a mheaitseáil i gcoinne ceannteideal <code class=\"docutils literal notranslate\">Óst` an iarratais go díreach (cás-neamh-íogair, gan calafort san áireamh). Is féidir luach a thosaíonn le tréimhse a úsáid mar fho-chárta fiáin: meaitneoidh ``'.example.com'</code> <code class=\"docutils literal notranslate\">example.com</code>, www.example.com`, agus aon fho-fhearann eile de example.com`. Meaitneoidh luach <code class=\"docutils literal notranslate\">*'</code> rud ar bith; sa chás seo tá tú freagrach as do bhailíochtú féin a sholáthar ar an gceannteideal <code class=\"docutils literal notranslate\">Host</code> (b'fhéidir i lár- earraí; más amhlaidh ní mór an middleware seo a liostú ar dtús in:setting: MIDDLEWARE).</p>\n<p>Ceadaíonn Django freisin ainm fearainn láncháilithe (FQDN) `_ d'aon iontrálacha. Cuimsíonn roinnt brabhsálaithe ponc críochnaitheach sa cheanntásc ``Óst a stiallann Django agus bailíochtú óstach á ndéanamh.</p>\n<p>Mura n-oireann an ceannteideal <code class=\"docutils literal notranslate\">Host</code> (nó <code class=\"docutils literal notranslate\">X-Forwarded-Host</code> más:setting: USE_X_FORWARDED_HOST cumasaithe) aon luach ar an liosta seo, ardóidh an modh:meth: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>Django.http.httpRequest.get_host () <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>: exc: <a href=\"#id5\"><span class=\"problematic\" id=\"id6\">`</span></a>~Django.core.exceptions.suspiciousoperation:exc: <a href=\"#id7\"><span class=\"problematic\" id=\"id8\">`</span></a>~Django.core.exceptions.suspicoUsoperations.SuspiciousOperations.”.</p>\n<p>Nuair a bhíonn: Setting: DEBUG <code class=\"docutils literal notranslate\">True</code> agus <code class=\"docutils literal notranslate\">ALLOWED_HOSTS</code> folamh, bailítear an t-óstach i gcoinne <code class=\"docutils literal notranslate\">['.localhost', '127.0.0.1', '[::1]']</code>.</p>\n<p>&lt;topics-testing-advanced-multiple-hosts&gt;Tá <code class=\"docutils literal notranslate\">ALLOWED_HOSTS</code> freis:ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>seiceáilte agus tástálacha á reáchtáil <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p>\n<p>Ní bhaineann an bailíochtú seo ach via: meth: ~django.http.httpRequest.get_host () `; má rochtaíonn do chód ar an gceannteideal ``Host` go díreach ó <code class=\"docutils literal notranslate\">Request.Meta</code> tá tú ag seachaint an chosaint slándála seo.</p>\n</section>\n<section id=\"append-slash\">\n<span id=\"std-setting-APPEND_SLASH\"></span><h3><code class=\"docutils literal notranslate\">APPEND_SLASH</code><a class=\"heading-anchor\" href=\"#append-slash\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Fíor`</p>\n<p>Nuair a bheidh sé socraithe go True`, mura n-oireann URL an iarratais aon cheann de na patrúin san URLConf agus mura gcríochnaíonn sé i slash, eisítear atreorú HTTP chuig an URL céanna le slash curtha leis. Tabhair faoi deara gur féidir leis an atreorú a bheith ina chúis le haon sonraí a chuirtear isteach in iarratas POST a chailleadh</p>\n<p>Ní úsáidtear an socrú: Setting: APPEND_SLASH ach má tá: class: ~django.middleware.common.commonMiddleware suiteáilte (féach: doc: /topics/http/middleware). Féach freis:socrú: PREPEND_WWW.</p>\n</section>\n<section id=\"caches\">\n<span id=\"std-setting-CACHES\"></span><h3><code class=\"docutils literal notranslate\">CÁIS</code><a class=\"heading-anchor\" href=\"#caches\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"p\">{</span>\n    <span class=\"s2\">&quot;default&quot;</span><span class=\"p\">:</span> <span class=\"p\">{</span>\n        <span class=\"s2\">&quot;BACKEND&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;django.core.cache.backends.locmem.LocMemCache&quot;</span><span class=\"p\">,</span>\n    <span class=\"p\">}</span>\n<span class=\"p\">}</span>\n</code></pre></div>\n<p>Foclóir ina bhfuil na socruithe do gach taisce le húsáid le Django. Is foclóir neadaithe é a léarscálann a n-ábhar ainmneacha taisce chuig foclóir ina bhfuil na roghanna le haghaidh taisce aonair.</p>\n<p>Ní mór don socrú: Socrú: CACHES taisce <code class=\"docutils literal notranslate\">réamhshocraithe</code> a chumrú; féadfar aon líon taisce breise a shonrú freisin. Má tá cúltaca taisce á úsáid agat seachas an taisce cuimhne áitiúil, nó má theastaíonn uait iolracha a shainiú, beidh roghanna eile ag teastáil. Tá na roghanna taisce seo a leanas ar fáil.</p>\n<section id=\"backend\">\n<span id=\"std-setting-CACHES-BACKEND\"></span><h4><code class=\"docutils literal notranslate\">`CÚLT</code><a class=\"heading-anchor\" href=\"#backend\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>An cúltaca taisce le húsáid. Is iad na cúltaca taisce ionsuite:</p>\n<ul class=\"simple\">\n<li><p><code class=\"docutils literal notranslate\">`Django.Core.Cache.Backends.db.DatabaseCache'</code></p></li>\n<li><p><code class=\"docutils literal notranslate\">'Django.Core.Cache.Backends.Dummy.DummyCache'</code></p></li>\n<li><p><code class=\"docutils literal notranslate\">`Django.Core.Cache.Backends.FileBased.FileBasedCache'</code></p></li>\n<li><p><code class=\"docutils literal notranslate\">`Django.Core.Cache.Backends.Locmem.LocMemCache'</code></p></li>\n<li><p><code class=\"docutils literal notranslate\">'Django.Core.Cache.Backends.Memcached.PymemCacheCache'</code></p></li>\n<li><p><code class=\"docutils literal notranslate\">'Django.Core.Cache.Backends.memcached.pylibmccache'</code></p></li>\n<li><p><code class=\"docutils literal notranslate\">'Django.Core.Cache.Backends.Redis.RedisCache'</code></p></li>\n</ul>\n<p>Is féidir leat cúltaca taisce nach seolann le Django a úsáid trí shocrú: BACKEND `chuig cosán láncháilithe &lt;CACHES-BACKEND&gt;de rang cúltaca taisce (ie ``MyPackage.Backends.whatever.whateverCache`).</p>\n</section>\n<section id=\"key-function\">\n<span id=\"std-setting-CACHES-KEY_FUNCTION\"></span><h4><code class=\"docutils literal notranslate\">EOCHAIRFHEIDHME</code><a class=\"heading-anchor\" href=\"#key-function\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Sreang ina bhfuil cosán poncanach chuig feidhm (nó aon ghlaoch) a shainmhíníonn conas réimír, leagan agus eochair a chumadh isteach i eochair taisce deiridh. Tá an cur i bhfeidhm réamhshocraithe comhionann leis an bhfeidhm:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"k\">def</span> <span class=\"nf\">make_key</span><span class=\"p\">(</span>key<span class=\"p\">,</span> key_prefix<span class=\"p\">,</span> version<span class=\"p\">):</span>\n    <span class=\"k\">return</span> <span class=\"s2\">&quot;:&quot;</span><span class=\"o\">.</span>join<span class=\"p\">([</span>key_prefix<span class=\"p\">,</span> <span class=\"nb\">str</span><span class=\"p\">(</span>version<span class=\"p\">),</span> key<span class=\"p\">])</span>\n</code></pre></div>\n<p>Féadfaidh tú aon phríomhfheidhm a theastaíonn uait a úsáid, fad is atá an síniú argóint céanna aige.</p>\n<p>Féach na:ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>cáipéisíocht taiscéala &lt;cache_key_transformation&gt;`le haghaidh tuilleadh faisnéise.</p>\n</section>\n<section id=\"key-prefix\">\n<span id=\"std-setting-CACHES-KEY_PREFIX\"></span><h4><code class=\"docutils literal notranslate\">EOCHAIR_RÉAMH</code><a class=\"heading-anchor\" href=\"#key-prefix\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>Sreang a chuirfear san áireamh go huathoibríoch (réamhshocraithe de réir réamhshocraithe) chuig gach eochair taisce a úsáideann an freastalaí Django.</p>\n<p>Féach na:ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>cáipéisíocht taiscéala &lt;cache_key_prefixing&gt;`le haghaidh tuilleadh faisnéise.</p>\n</section>\n<section id=\"location\">\n<span id=\"std-setting-CACHES-LOCATION\"></span><h4><code class=\"docutils literal notranslate\">SUÍOMH</code><a class=\"heading-anchor\" href=\"#location\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>Suíomh an taisce le húsáid. D'fhéadfadh gurb é seo an eolaire do taisce chórais chomhaid, óstach agus calafort do fhreastalaí memcache, nó ainm aitheantais do taisce cuimhne áitiúil. m.sh.:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code>CACHES <span class=\"o\">=</span> <span class=\"p\">{</span>\n    <span class=\"s2\">&quot;default&quot;</span><span class=\"p\">:</span> <span class=\"p\">{</span>\n        <span class=\"s2\">&quot;BACKEND&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;django.core.cache.backends.filebased.FileBasedCache&quot;</span><span class=\"p\">,</span>\n        <span class=\"s2\">&quot;LOCATION&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;/var/tmp/django_cache&quot;</span><span class=\"p\">,</span>\n    <span class=\"p\">}</span>\n<span class=\"p\">}</span>\n</code></pre></div>\n</section>\n<section id=\"options\">\n<span id=\"std-setting-CACHES-OPTIONS\"></span><h4><code class=\"docutils literal notranslate\">ROGHANNAÍ</code><a class=\"heading-anchor\" href=\"#options\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Paraiméadair bhreise le dul chuig an gcúltaca taisce. Athraíonn paraiméadair atá ar fáil ag brath ar do chúltaca taisce.</p>\n<p>&lt;cache_arguments&gt;Is féidir roinnt faisnéise faoi pharaiméadair atá ar fáil a fháil sa doiciméadúiséireacht: ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>cache argóintí <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>. Le haghaidh tuilleadh faisnéise, téigh i gcomhairle le cáipéisíocht do mhodúl cúlt</p>\n</section>\n<section id=\"timeout\">\n<span id=\"std-setting-CACHES-TIMEOUT\"></span><h4><code class=\"docutils literal notranslate\">TIMEOUT</code><a class=\"heading-anchor\" href=\"#timeout\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>300`</p>\n<p>Meastar go bhfuil líon na soicind roimh iontráil taisce seasmhach. Más luach an socraithe seo <code class=\"docutils literal notranslate\">None</code>, ní rachaidh iontrálacha taisce in éag. Fágann luach <code class=\"docutils literal notranslate\">0</code> go rachaidh eochracha in éag láithreach (go héifeachtach “ná taisceáil”).</p>\n</section>\n<section id=\"version\">\n<span id=\"std-setting-CACHES-VERSION\"></span><h4><code class=\"docutils literal notranslate\">LEAGAN</code><a class=\"heading-anchor\" href=\"#version\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">1</code></p>\n<p>An uimhir leagan réamhshocraithe d'eochracha taisce a ghineann an freastalaí Django.</p>\n<p>Féach na:ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>cáipéisíocht taiscéala &lt;cache_versioning&gt;`le haghaidh tuilleadh faisnéise.</p>\n</section>\n</section>\n<section id=\"cache-middleware-alias\">\n<span id=\"std-setting-CACHE_MIDDLEWARE_ALIAS\"></span><h3><code class=\"docutils literal notranslate\">CACHE_MIDDLEWARE_ALIAS</code><a class=\"heading-anchor\" href=\"#cache-middleware-alias\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'default'</code></p>\n<p>&lt;the-per-site-cache&gt;An nasc taisce le húsáid don: ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>cache middleware <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p>\n</section>\n<section id=\"cache-middleware-key-prefix\">\n<span id=\"std-setting-CACHE_MIDDLEWARE_KEY_PREFIX\"></span><h3><code class=\"docutils literal notranslate\">CACHE_MIDDLEWARE_KEY_PREFIX</code><a class=\"heading-anchor\" href=\"#cache-middleware-key-prefix\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>&lt;the-per-site-cache&gt;Sreang a bheidh réamhshocraithe leis na heochracha taisce a ghineann an: ref: cache middleware `. Comhcheanglaítear an réimír seo leis an socrú: setting: `KEY_PREFIX &lt;CACHES-KEY_PREFIX&gt;; ní chuireann sé in ionad é.</p>\n<p>Féach: doc: /topics/cache.</p>\n</section>\n<section id=\"cache-middleware-seconds\">\n<span id=\"std-setting-CACHE_MIDDLEWARE_SECONDS\"></span><h3><code class=\"docutils literal notranslate\">CACHE_MIDDLEWARE_SOICIND</code><a class=\"heading-anchor\" href=\"#cache-middleware-seconds\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>600`</p>\n<p>&lt;the-per-site-cache&gt;An líon iomláir réamhshocraithe soicind chun leathanach a thaisceadh don: ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>cache middleware <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p>\n<p>Féach: doc: /topics/cache.</p>\n</section>\n<section id=\"csrf-cookie-age\">\n<span id=\"std-setting-CSRF_COOKIE_AGE\"></span><span id=\"settings-csrf\"></span><h3><code class=\"docutils literal notranslate\">CSRF_COOKIE_AOS</code><a class=\"heading-anchor\" href=\"#csrf-cookie-age\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">31449600</code> (thart ar 1 bhliain, i soicindí)</p>\n<p>Aois fianáin CSRF, i soicindí.</p>\n<p>Is é an chúis le am éaga fadtréimhse a shocrú fadhbanna a sheachaint i gcás úsáideoir ag dúnadh brabhsálaí nó leathanach a leabharmharcáil agus ansin an leathanach sin a luchtú ó taisce brabhsálaí. Gan fianáin leanúnacha, theipfeadh ar an aighneacht foirme sa chás seo.</p>\n<p>Féadann roinnt brabhsálaithe (go sonrach Internet Explorer) fianáin leanúnacha a úsáid nó féadfaidh siad na hinnéacsanna don phróca fianán a bheith truaillithe ar dhiosca, rud a fhágann go dteipfidh seiceálacha cosanta CSRF (uaireanta go tréimhseach). Athraigh an socrú seo go <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>None <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>chun fianáin CSRF bunaithe ar sheisiún a úsáid, a choinníonn na fianáin i gcuimhne seachas ar stóráil leanúnach.</p>\n</section>\n<section id=\"csrf-cookie-domain\">\n<span id=\"std-setting-CSRF_COOKIE_DOMAIN\"></span><h3><code class=\"docutils literal notranslate\">CSRF_COOKIE_DOMAIN</code><a class=\"heading-anchor\" href=\"#csrf-cookie-domain\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>An fearann atá le húsáid agus an fianán CSRF á shocrú. Is féidir leis seo a bheith úsáideach chun ligean go héasca iarratais thrasfho-fhearann a eisiamh ón ngnáthchosaint bréifneach iarratais thrasláithreáin. Ba chóir é a shocrú ar shreang mar <code class=\"docutils literal notranslate\">” .example.com&quot;</code> chun ligean d'iarratas POST ó fhoirm ar fhoirm ar fhoirm amháin glacadh le dearcadh a sheirbheáiltear ó fho-fhearann eile.</p>\n<p>&lt;csrf-limitations&gt;Tabhair faoi deara le do thoil nach dtugann láithreacht an socrú seo le tuiscint go bhfuil cosaint CSRF Django sábháilte ó ionsaithe tras-fho-fearainn de réir réamhshocraithe - féach an ranna:ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>Teorainneacha CSRF <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p>\n</section>\n<section id=\"csrf-cookie-httponly\">\n<span id=\"std-setting-CSRF_COOKIE_HTTPONLY\"></span><h3><code class=\"docutils literal notranslate\">CSRF_COOKIE_HTTPONLY</code><a class=\"heading-anchor\" href=\"#csrf-cookie-httponly\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Cibé an bhratach HttpOnly a úsáid ar an bhfianán CSRF. Má tá sé seo socraithe ar <code class=\"docutils literal notranslate\">True</code>, ní bheidh JavaScript taobh an chliaint in ann rochtain a fháil ar an bhfianán CSRF.</p>\n<p>Ní thugann an fianán CSRF a ainmniú mar HttpOnly aon chosaint phraiticiúil toisc nach bhfuil CSRF ach chun cosaint a dhéanamh ar ionsaithe tras-fearainn. Más féidir le hionsaitheoir an fianán a léamh trí JavaScript, tá siad ar an bhfearann céanna cheana féin chomh fada agus is eol don bhrabhsálaí, ionas gur féidir leo aon rud is mian leo a dhéanamh ar aon nós. (Is poll i bhfad níos mó é XSS ná CSRF.)</p>\n<p>Cé nach dtugann an suíomh mórán sochair phraiticiúil, uaireanta teastaíonn iniúchóirí slándála é</p>\n<p>&lt;acquiring-csrf-token-from-cookie&gt;Má chumasaíonn tú é seo agus má theastaíonn uait luach an chomhartha CSRF a sheoladh le hiarratas AJAX, ní mór do JavaScript an luach:ref: ó ionchur foirm chomhartha CSRF i bhfolach `in &lt;acquiring-csrf-token-from-html&gt;ionad:ref: `ón bhfianán a tharraingt.</p>\n<p>Féach: SETTING: SESSION_COOKIE_HTTPONLY le haghaidh sonraí ar HTTPONLY`.</p>\n</section>\n<section id=\"csrf-cookie-name\">\n<span id=\"std-setting-CSRF_COOKIE_NAME\"></span><h3><code class=\"docutils literal notranslate\">`AINM_CSRF_COOKIE</code><a class=\"heading-anchor\" href=\"#csrf-cookie-name\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'csrftoken'</code></p>\n<p>Ainm na fianáin le húsáid le haghaidh comhartha fíordheimhnithe CSRF. Is féidir leis seo a bheith cibé rud is mian leat (fad is atá sé difriúil ó na hainmneacha fianán eile i d'iarratas). Féach: doc: /ref/csrf.</p>\n</section>\n<section id=\"csrf-cookie-path\">\n<span id=\"std-setting-CSRF_COOKIE_PATH\"></span><h3><code class=\"docutils literal notranslate\">CSRF_COOKIE_PATH</code><a class=\"heading-anchor\" href=\"#csrf-cookie-path\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'/'</code></p>\n<p>An cosán atá leagtha síos ar an bhfianán CSRF. Ba chóir go mbeadh sé seo comhoiriúnach le cosán URL do shuiteála Django nó a bheith ina thuismitheoir ar an gcosán sin.</p>\n<p>Tá sé seo úsáideach má tá cásanna iolracha Django agat ag rith faoin ainm óstach céanna. Is féidir leo cosáin éagsúla fianán a úsáid, agus ní fheicfidh gach cás ach a fhianán CSRF féin.</p>\n</section>\n<section id=\"csrf-cookie-samesite\">\n<span id=\"std-setting-CSRF_COOKIE_SAMESITE\"></span><h3><code class=\"docutils literal notranslate\">CSRF_COOKIE_SAMESITE</code><a class=\"heading-anchor\" href=\"#csrf-cookie-samesite\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'Lax'</code></p>\n<p>Luach an bhratach <a class=\"reference external\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value\">SameSite</a> ar an bhfianán CSRF. Cuireann an bratach seo cosc ar an bhfianán a sheoladh in iarratais tras-láithreáin.</p>\n<p>Féach:SETTING: SESSION_COOKIE_SAMESITE le haghaidh sonraí faoi Samesite`.</p>\n</section>\n<section id=\"csrf-cookie-secure\">\n<span id=\"std-setting-CSRF_COOKIE_SECURE\"></span><h3><code class=\"docutils literal notranslate\">CSRF_COOKIE_SECURE</code><a class=\"heading-anchor\" href=\"#csrf-cookie-secure\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Cibé acu fianán slán a úsáid don fhianán CSRF. Má tá sé seo socraithe ar <code class=\"docutils literal notranslate\">True</code>, marcálfar an fianán mar “slán”, rud a chiallaíonn go bhféadfadh brabhsálaithe a chinntiú nach seoltar an fianán ach le nasc HTTPS.</p>\n</section>\n<section id=\"csrf-use-sessions\">\n<span id=\"std-setting-CSRF_USE_SESSIONS\"></span><h3><code class=\"docutils literal notranslate\">SEISIÚINT_ÚSÁID_CSRF</code><a class=\"heading-anchor\" href=\"#csrf-use-sessions\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Cibé acu an comhartha CSRF a stóráil i seisiún an úsáideora in ionad i bhfianán. Éilíonn sé úsáid:mod: django.contrib.sesions.</p>\n<p>Tá an comhartha CSRF a stóráil i bhfianán (réamhshocrú Django) sábháilte, ach is cleachtas coitianta é a stóráil sa seisiún i gcreataí gréasáin eile agus dá bhrí sin éilíonn iniúchóirí slándála uaireanta.</p>\n<p>Ós rud é go dteastaíonn comhartha &lt;error-views&gt;CSRF uir:ref: réamhshocraithe earráidí `, :class: `~django.contrib.sessions.middleware.sessionMiddleware le feiceáil in:setting: MIDDLEWARE roimh aon middleware a d'fhéadfadh eisceacht a ardú chun amharc earráide a spreagadh (mar shampla:exc: ~django.core.exceptions.perdenied) má tá tú ag baint úsáide as <code class=\"docutils literal notranslate\">CSRF_USE_SESSIONS</code>. Féach: ref: middleware-ording.</p>\n</section>\n<section id=\"csrf-failure-view\">\n<span id=\"std-setting-CSRF_FAILURE_VIEW\"></span><h3><code class=\"docutils literal notranslate\">CSRF_FAILURE_VIEW</code><a class=\"heading-anchor\" href=\"#csrf-failure-view\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'django.views.csrf.csrf_failure'</code></p>\n<p>Conair poncaí chuig an bhfeidhm amharc atá le húsáid nuair a dhiúltaítear iarratas isteach ag na:doc: Cosaint CSRF &lt;/ref/csrf&gt;. Ba chóir go mbeadh an síniú seo ag an bhfeidhm:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"k\">def</span> <span class=\"nf\">csrf_failure</span><span class=\"p\">(</span>request<span class=\"p\">,</span> reason<span class=\"o\">=</span><span class=\"s2\">&quot;&quot;</span><span class=\"p\">):</span> <span class=\"o\">...</span>\n</code></pre></div>\n<p>i gcás gur teachtaireacht ghearr (atá beartaithe d'fhorbróirí nó logála, ní d'úsáideoirí deiridh) a léiríonn an chúis a dhiúltaíodh don iarratas. Ba chóir dó filleadh an:class: ~django.http.httpResponseForbidden.</p>\n<p>Glacann <code class=\"docutils literal notranslate\">django.views.csrf.csrf_failure () ``le paraiméadar breise ``template_name</code> atá réamhshocraithe go <code class=\"docutils literal notranslate\">403_csrf.html'</code>. Má tá teimpléad leis an ainm sin ann, úsáidfear é chun an leathanach a rinneadh.</p>\n</section>\n<section id=\"csrf-header-name\">\n<span id=\"std-setting-CSRF_HEADER_NAME\"></span><h3><code class=\"docutils literal notranslate\">`CSRF_HEADER_AINM</code><a class=\"heading-anchor\" href=\"#csrf-header-name\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'HTTP_X_CSRFTOKEN'</code></p>\n<p>Ainm an cheanntásc iarratais a úsáidtear le haghaidh fíordheimhniú CSRF.</p>\n<p>Mar is amhlaidh le ceannteidil HTTP eile i Request.meta`, normalaítear an t-ainm ceannteidil a fhaightear ón bhfreastalaí trí gach carachtar a thiontú go uachtarchlóir, aon bhriseanna a chur in ionad béim, agus réimír <code class=\"docutils literal notranslate\">'HTTP_'` a chur leis an ainm. Mar shampla, má sheolann do chliant ceannteideal ``'X-XSRF-TOKEN'</code>, ba chóir go mbeadh an socrú <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>HTTP_X_XSRF_TOKEN'.</p>\n</section>\n<section id=\"csrf-trusted-origins\">\n<span id=\"std-setting-CSRF_TRUSTED_ORIGINS\"></span><h3><code class=\"docutils literal notranslate\">CSRF_TRUSTED_ORIGINS</code><a class=\"heading-anchor\" href=\"#csrf-trusted-origins\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Liosta de bhunús iontaofa le haghaidh iarratais neamhshábháilte (m.sh. POST `).</p>\n<p>Maidir le hiarratais ina n-áirítear an ceannteideal <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Bunaidh <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>, éilíonn cosaint CSRF Django go n-oireann an ceannteideal an tionscnamh atá i láthair sa cheannteideal <a href=\"#id5\"><span class=\"problematic\" id=\"id6\">``</span></a>Óst`.</p>\n<p>Maidir le hiar &lt;django.http.HttpRequest.is_secure&gt;ratas neamhshábháilte a:meth: slán `nach n-áirítear an ceannteideal ``Bunaidh `, ní mór ceannteideal <code class=\"docutils literal notranslate\">Referer</code> a bheith ag an iarraidh a mheaitseálann leis an mbunús atá i láthair sa cheannteideal <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Óst`.</p>\n<p>Cuireann na seiceálacha seo cosc, mar shampla, ar iarratas <code class=\"docutils literal notranslate\">POST ``ó `subdomain.example.com</code> go n-éireoidh leo i gcoinne api.example.com`. Má theastaíonn iarratais neamhshábháilte tras-bhunús uait, ag leanúint leis an sampla, cuir <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a><a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a><a class=\"reference external\" href=\"https://subdomain.example.com\">https://subdomain.example.com</a> '<a href=\"#id5\"><span class=\"problematic\" id=\"id6\">`</span></a>leis an liosta seo (agus/nó <a href=\"#id7\"><span class=\"problematic\" id=\"id8\">``</span></a><a class=\"reference external\" href=\"http://\">http://</a>... <a href=\"#id9\"><span class=\"problematic\" id=\"id10\">``</span></a>má thagann iarratais ó leathanach neamhchinnte).</p>\n<p>Tacaíonn an socrú le fo-fhearann freisin, ionas gur féidir leat <code class=\"docutils literal notranslate\">'https://*.example.com '``a chur leis, mar shampla, chun rochtain a cheadú ó gach fo-fhearann de `example.com</code>.</p>\n</section>\n<section id=\"databases\">\n<span id=\"std-setting-DATABASES\"></span><h3><code class=\"docutils literal notranslate\">BUNACHAIR SONRAÍ</code><a class=\"heading-anchor\" href=\"#databases\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">{}</code> (Foclóir folamh)</p>\n<p>Foclóir ina bhfuil na socruithe do gach bunachar sonraí le húsáid le Django. Is foclóir neadaithe é a léarscáil a n-ábhar ailias bunachar sonraí go foclóir ina bhfuil na roghanna do bhunachar sonraí aonair.</p>\n<p>Ní mór don socrú: “BUNACHAR SONRAÍ” bunachar sonraí “réamhshocraithe” a chumrú; féadfar aon líon bunachar sonraí breise a shonrú freisin.</p>\n<p>Is é an comhad socruithe is simplí is féidir le socrú bunachar sonraí aonair ag baint úsáide as SQLite. Is féidir é seo a chumrú trí na rudaí seo a leanas a úsáid:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code>DATABASES <span class=\"o\">=</span> <span class=\"p\">{</span>\n    <span class=\"s2\">&quot;default&quot;</span><span class=\"p\">:</span> <span class=\"p\">{</span>\n        <span class=\"s2\">&quot;ENGINE&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;django.db.backends.sqlite3&quot;</span><span class=\"p\">,</span>\n        <span class=\"s2\">&quot;NAME&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;mydatabase&quot;</span><span class=\"p\">,</span>\n    <span class=\"p\">}</span>\n<span class=\"p\">}</span>\n</code></pre></div>\n<p>Agus tú ag nascadh le cúltaca bunachar sonraí eile, mar shampla MariaDB, MySQL, Oracle, nó PostgreSQL, beidh paraiméadair nasc breise ag teastáil. Féach an socrú:setting: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>ENGINE &lt;DATABASE-ENGINE&gt;`thíos maidir le conas cineálacha eile bunachar sonraí a shonrú. Tá an sampla seo le haghaidh PostgreSQL:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code>DATABASES <span class=\"o\">=</span> <span class=\"p\">{</span>\n    <span class=\"s2\">&quot;default&quot;</span><span class=\"p\">:</span> <span class=\"p\">{</span>\n        <span class=\"s2\">&quot;ENGINE&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;django.db.backends.postgresql&quot;</span><span class=\"p\">,</span>\n        <span class=\"s2\">&quot;NAME&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;mydatabase&quot;</span><span class=\"p\">,</span>\n        <span class=\"s2\">&quot;USER&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;mydatabaseuser&quot;</span><span class=\"p\">,</span>\n        <span class=\"s2\">&quot;PASSWORD&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;mypassword&quot;</span><span class=\"p\">,</span>\n        <span class=\"s2\">&quot;HOST&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;127.0.0.1&quot;</span><span class=\"p\">,</span>\n        <span class=\"s2\">&quot;PORT&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;5432&quot;</span><span class=\"p\">,</span>\n    <span class=\"p\">}</span>\n<span class=\"p\">}</span>\n</code></pre></div>\n<p>Tá na roghanna istigh seo a leanas a d'fhéadfadh a bheith ag teastáil le haghaidh cumraíochtaí níos casta ar fáil:</p>\n<section id=\"atomic-requests\">\n<span id=\"std-setting-DATABASE-ATOMIC_REQUESTS\"></span><h4><code class=\"docutils literal notranslate\">IARRATAITHE_ATOMIC</code><a class=\"heading-anchor\" href=\"#atomic-requests\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Socraigh é seo go <code class=\"docutils literal notranslate\">True</code> chun gach radharc a fhilleadh in idirbheart ar an mbunachar sonraí seo. Féach:ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>tiing-idirbheartaí-go-http-iarrataireachtaí <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p>\n</section>\n<section id=\"autocommit\">\n<span id=\"std-setting-DATABASE-AUTOCOMMIT\"></span><h4><code class=\"docutils literal notranslate\">AUTOCOMIT</code><a class=\"heading-anchor\" href=\"#autocommit\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Fíor`</p>\n<p>&lt;deactivate-transaction-management&gt;Socraigh é seo go False` más mian leat: ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>bainistíocht idirbheart Django a dhíchumasú <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>agus cuir tú féin i bhfeidhm.</p>\n</section>\n<section id=\"engine\">\n<span id=\"std-setting-DATABASE-ENGINE\"></span><h4><code class=\"docutils literal notranslate\">INNEAL</code><a class=\"heading-anchor\" href=\"#engine\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>An cúltaca bunachar sonraí le húsáid. Is iad na cúltaca bunachar sonraí ionsuite:</p>\n<ul class=\"simple\">\n<li><p><code class=\"docutils literal notranslate\">'django.db.backends.postgresql'</code></p></li>\n<li><p><code class=\"docutils literal notranslate\">'django.db.backends.mysql'</code></p></li>\n<li><p><code class=\"docutils literal notranslate\">'django.db.backends.sqlite3'</code></p></li>\n<li><p><code class=\"docutils literal notranslate\">'django.db.backends.oracle'</code></p></li>\n</ul>\n<p>Is féidir leat cúltaca bunachar sonraí a úsáid nach seolann le Django trí “ENGINE” a shocrú go cosán láncháilithe (ie <code class=\"docutils literal notranslate\">mypackage.backends.whatever</code>).</p>\n</section>\n<section id=\"host\">\n<span id=\"std-setting-HOST\"></span><h4><code class=\"docutils literal notranslate\">ÓSTACH</code><a class=\"heading-anchor\" href=\"#host\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>Cén óstach le húsáid agus tú ag nascadh leis an mbunachar sonraí. Ciallaíonn sreang folamh localhost. Ní úsáidtear le SQLite.</p>\n<p>Má thosaíonn an luach seo le slash ar aghaidh (<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>'/'<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>) agus má tá MySQL á úsáid agat, ceanglóidh MySQL trí soicéad Unix leis an soicéad sonraithe. Mar shampla:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"s2\">&quot;HOST&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;/var/run/mysql&quot;</span>\n</code></pre></div>\n<p>Má tá MySQL á úsáid agat agus nach dtosaíonn an luach seo* le slach ar aghaidh, glactar leis gurb é an luach seo an t-óstach.</p>\n<p>Má tá PostgreSQL á úsáid agat, de réir réamhshocraithe (folam:setting: HOST), déantar an nasc leis an mbunachar sonraí trí soicéid fearainn UNIX (línte 'áitiúla' i pg_hba.conf`). Mura bhfuil do soicéad fearainn UNIX sa suíomh caighdeánach, bain úsáid as an luach céanna de <code class=\"docutils literal notranslate\">unix_socket_directory ``ó `postgresql.conf</code>. Más mian leat nascadh trí soicéid TCP, socraí:setting: HOST go 'localhost' nó '127.0.0.1' (línte 'óstach' i pg_hba.conf`). Ar Windows, ba cheart duit sainmhíniú i gcónaí:setting: HOST, toisc nach bhfuil soicéid fearainn UNIX ar fáil.</p>\n</section>\n<section id=\"name\">\n<span id=\"std-setting-NAME\"></span><h4><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>AINM `<a class=\"heading-anchor\" href=\"#name\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>Ainm an bhunachar sonraí le húsáid. Maidir le SQLite, is é an cosán iomlán chuig an gcomhad bunachar sonraí. Agus an cosán á shonrú agat, bain úsáid as slashes ar aghaidh i gcónaí, fiú ar Windows (m.sh. <code class=\"docutils literal notranslate\">C: /homes/user/mysite/sqlite3.db</code>).</p>\n</section>\n<section id=\"conn-max-age\">\n<span id=\"std-setting-CONN_MAX_AGE\"></span><h4><code class=\"docutils literal notranslate\">CONN_MAX_AOS</code><a class=\"heading-anchor\" href=\"#conn-max-age\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">0</code></p>\n<p>Saolré nasc bunachar sonraí, mar shláimhir soicind. &lt;persistent-database-connections&gt;Úsáid <code class=\"docutils literal notranslate\">0</code> chun naisc bunachar sonraí a dhúnadh ag deireadh gach iarratais - iompar stairiúil Django - agus <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>None <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>le haghaidh neamhtheoranna:ref: <a href=\"#id5\"><span class=\"problematic\" id=\"id6\">`</span></a>naisc bunachar sonraí leanúnacha <a href=\"#id7\"><span class=\"problematic\" id=\"id8\">`</span></a>.</p>\n</section>\n<section id=\"conn-health-checks\">\n<span id=\"std-setting-CONN_HEALTH_CHECKS\"></span><h4><code class=\"docutils literal notranslate\">SEICEÁLACHA SLÁINTE CONN</code><a class=\"heading-anchor\" href=\"#conn-health-checks\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Má tá sé socraithe go <code class=\"docutils literal notranslate\">True</code>, déan &lt;persistent-database-connections&gt;far seiceáil sláinte atá ann: ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>naisc bunachar sonraí leanúnacha 'sula n-athúsáidtear iad i ngach iarratas a dhéanann rochtain ar bhunachar sonraí. Má theipeann ar an seiceáil sláinte, athbhunófar an nasc gan teip ar an iarratas nuair nach bhfuil an nasc inúsáidte a thuilleadh ach tá an freastalaí bunachar sonraí réidh chun naisc nua a ghlacadh agus a sheirbheáil (m.sh. tar éis freastalaí bunachar sonraí a atosú a dhúnadh</p>\n</section>\n<section id=\"std-setting-OPTIONS\">\n<span id=\"id1\"></span><h4><code class=\"docutils literal notranslate\">ROGHANNAÍ</code><a class=\"heading-anchor\" href=\"#std-setting-OPTIONS\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">{}</code> (Foclóir folamh)</p>\n<p>Paraiméadair bhreise le húsáid agus tú ag nascadh leis an mbunachar Athraíonn na paraiméadair atá ar fáil ag brath ar do chúltaca bunachar</p>\n<p>Is féidir roinnt faisnéise faoi pharaiméadair atá ar fáil a fháil sa dhoiciméadúiséireacht: Doc: &lt;/ref/databases&gt; Bunachar Sonraí Backends. Le haghaidh tuilleadh faisnéise, téigh i gcomhairle le cáipéisíocht do mhodúl cúlt</p>\n</section>\n<section id=\"password\">\n<span id=\"std-setting-PASSWORD\"></span><h4><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>PASFHOCAL ``<a class=\"heading-anchor\" href=\"#password\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>An pasfhocal le húsáid agus tú ag nascadh leis an mbunachar sonraí. Ní úsáidtear le SQLite.</p>\n</section>\n<section id=\"port\">\n<span id=\"std-setting-PORT\"></span><h4><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>CALAFOIRT'<a class=\"heading-anchor\" href=\"#port\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>An calafort le húsáid agus tú ag nascadh leis an mbunachar sonraí. Ciallaíonn sreang folamh an calafort réamhshocraithe. Ní úsáidtear le SQLite.</p>\n</section>\n<section id=\"time-zone\">\n<span id=\"std-setting-DATABASE-TIME_ZONE\"></span><h4><code class=\"docutils literal notranslate\">CRIOS_AMA</code><a class=\"heading-anchor\" href=\"#time-zone\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Sreang a léiríonn an crios ama don nasc bunachar sonraí seo nó <code class=\"docutils literal notranslate\">None</code>. Glacann an rogha istigh seo den socrú: setting: DATABASES leis na luachanna céanna leis an socrú ginearált:setting: TIME_ZONE.</p>\n<p>Nuair: Setting: <code class=\"docutils literal notranslate\">`True</code> USE_TZ, filleann dáta léitheoireachta ón mbunachar sonraí dáta ar an eolas uaireanta agus an crios ama atá socraithe ar luach an rogha seo mura bhfuil <code class=\"docutils literal notranslate\">None</code>, nó go UTC ar shlí eile.</p>\n<p>Nuair: SETTING: USE_TZ <code class=\"docutils literal notranslate\">False</code>, is earráid é an rogha seo a shocrú.</p>\n<ul>\n<li><p>Mura dtacaíonn cúltaca an bhunachar sonraí le criosanna ama (m.sh. SQLite, MySQL, Oracle), léann agus scríobhann Django dáta-amanna in am áitiúil de réir an rogha seo má tá sé socraithe agus i UTC mura bhfuil sé.</p>\n<p>Athraíonn athrú an chrios ama nasc an chaoi a léitear dáta-amanna ón mbunachar sonraí agus a scríobh chuig.</p>\n<ul class=\"simple\">\n<li><p>Má bhainistíonn Django an bunachar sonraí agus nach bhfuil cúis láidir agat a mhalairt a dhéanamh, ba cheart duit an rogha seo a fhágáil gan socrú. Is fearr amanna dáta a stóráil in UTC toisc go seachnaíonn sé amanna dáta débhríoch nó nach bhfuil ann le linn athruithe ama sábhála solais an lae. Chomh maith leis sin, coinníonn uimhríocht dáta-ama simplí a fháil in UTC - ní gá athruithe fritháireamh féideartha a mheas thar aistriú DST.</p></li>\n<li><p>Má tá tú ag nascadh le bunachar sonraí tríú páirtí a stórálann dáta in am áitiúil seachas UTC, ansin ní mór duit an rogha seo a shocrú go dtí an crios ama cuí. Mar an gcéanna, má bhainistíonn Django an bunachar sonraí ach má nascann córais tríú páirtí leis an mbunachar sonraí céanna agus má tá súil leo dáta a fháil in am áitiúil, ansin ní mór duit an rogha seo a shocrú.</p></li>\n</ul>\n</li>\n<li><p>Má thacaíonn cúltaca an bhunachar sonraí le criosanna ama (m.sh., PostgreSQL), ansin socraítear crios ama an nasc bunachar sonraí go dtí an luach seo.</p>\n<p>Cé go bhfuil gá go han-annamh ag teastáil an rogha <code class=\"docutils literal notranslate\">TIME_ZONE</code> a shocrú, tá cásanna ann ina bhfuil sé riachtanach. Go sonrach, moltar an socrú ginearált:setting: TIME_ZONE a mheaitseáil agus tú ag déileáil le ceisteanna amh a bhaineann le feidhmeanna dáta/ama cosúil le date_trunc () `PostgreSQL nó `generate_series () `, go háirithe agus sraitheanna bunaithe ama á ghiniúint a aistríonn coigilteas solais.</p>\n<p>Is féidir an luach seo a athrú ag am ar bith, láimhseálfaidh an bunachar sonraí tiontú dáta-amanna go dtí an crios ama cumraithe.</p>\n<p>Mar sin féin, tá míbhuntáiste aige seo: bíonn uimhríocht dáta níos deacra uimhríocht dáta-ama go léir a fháil in am áitiúil - ní mór duit cuntas a thabhairt ar athruithe féideartha fritháireamh ar aistrithe</p>\n<p>Smaoinigh ar thiontú go am áitiúil go sainráite le <code class=\"docutils literal notranslate\">AT TIME ZONE</code> i gceisteanna amh SQL in ionad an rogha <code class=\"docutils literal notranslate\">TIME_ZONE</code> a shocrú.</p>\n</li>\n</ul>\n</section>\n<section id=\"disable-server-side-cursors\">\n<span id=\"std-setting-DATABASE-DISABLE_SERVER_SIDE_CURSORS\"></span><h4><code class=\"docutils literal notranslate\">CÚRSAÍ TAOBH FREASTALAÍ_DÍCHUMASACHA</code><a class=\"heading-anchor\" href=\"#disable-server-side-cursors\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Socraigh é seo go <code class=\"docutils literal notranslate\">True</code> más mian leat úsáid cúrsaí taobh an fhreastalaí a dhíchumasú le: meth: .queryset.iterator. :ref: transaction-pooling-server-side-cursors cur síos ar an gcás úsáide.</p>\n<p>Is suíomh atá sonrach le PostgreSQL é seo.</p>\n</section>\n<section id=\"user\">\n<span id=\"std-setting-USER\"></span><h4><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>ÚSÁIDEOIR ``<a class=\"heading-anchor\" href=\"#user\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>An t-ainm úsáideora le húsáid agus tú ag ceangal leis an mbunachar sonraí Ní úsáidtear le SQLite.</p>\n</section>\n<section id=\"test\">\n<span id=\"std-setting-DATABASE-TEST\"></span><h4><code class=\"docutils literal notranslate\">TÁSTÁLA</code><a class=\"heading-anchor\" href=\"#test\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">{}</code> (Foclóir folamh)</p>\n<p>Foclóir socruithe do bhunachar sonraí tástála; le haghaidh tuilleadh sonraí faoi chruthú agus úsáid bunachair sonraí tástála, féach:ref: the-test-database.</p>\n<p>Seo sampla le cumraíocht bunachar sonraí tástála:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code>DATABASES <span class=\"o\">=</span> <span class=\"p\">{</span>\n    <span class=\"s2\">&quot;default&quot;</span><span class=\"p\">:</span> <span class=\"p\">{</span>\n        <span class=\"s2\">&quot;ENGINE&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;django.db.backends.postgresql&quot;</span><span class=\"p\">,</span>\n        <span class=\"s2\">&quot;USER&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;mydatabaseuser&quot;</span><span class=\"p\">,</span>\n        <span class=\"s2\">&quot;NAME&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;mydatabase&quot;</span><span class=\"p\">,</span>\n        <span class=\"s2\">&quot;TEST&quot;</span><span class=\"p\">:</span> <span class=\"p\">{</span>\n            <span class=\"s2\">&quot;NAME&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;mytestdatabase&quot;</span><span class=\"p\">,</span>\n        <span class=\"p\">},</span>\n    <span class=\"p\">},</span>\n<span class=\"p\">}</span>\n</code></pre></div>\n<p>Tá na heochracha seo a leanas sa fhoclóir <code class=\"docutils literal notranslate\">TEST</code> ar fáil:</p>\n<section id=\"charset\">\n<span id=\"std-setting-TEST_CHARSET\"></span><h5><code class=\"docutils literal notranslate\">CHARSET</code><a class=\"heading-anchor\" href=\"#charset\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>An t-ionchódú tacar carachtair a úsáidtear chun an bunachar sonraí tástála a Cuirtear luach an teaghráin seo go díreach chuig an mbunachar sonraí, mar sin tá a fhormáid go sonrach le cúltaca.</p>\n<p>Le tacaíocht ó na cúltaca PostgreSQL (postgresql`) agus <a class=\"reference external\" href=\"https://dev.mysql.com/doc/refman/en/charset-charsets.html\">MySQL</a> (<code class=\"docutils literal notranslate\">mysql</code>).</p>\n</section>\n<section id=\"collation\">\n<span id=\"std-setting-TEST_COLLATION\"></span><h5><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>COMHLÁNÚ ``<a class=\"heading-anchor\" href=\"#collation\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>An t-ordú comhlánaithe le húsáid agus an bunachar sonraí tástála á chruthú. Cuirtear an luach seo ar aghaidh go díreach chuig an gcúltaca, mar sin tá a fhormáid go sonrach le cúltaca.</p>\n<p>Ní thacaítear ach leis an gcúltaca <code class=\"docutils literal notranslate\">mysql</code> (féach an <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>lámhleabhar MySQL <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>_ le haghaidh sonraí).</p>\n</section>\n<section id=\"dependencies\">\n<span id=\"std-setting-TEST_DEPENDENCIES\"></span><h5><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>SPLEÁCHAIS ``<a class=\"heading-anchor\" href=\"#dependencies\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">['réamhshocraithe']</code>, do gach bunachar sonraí seachas <code class=\"docutils literal notranslate\">default</code>, nach bhfuil aon spleáchais aige.</p>\n<p>Sspleáchais ordú cruthaithe an bhunachar sonraí. Féach an doiciméadú ar:ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>ord cruthaithe bunachar sonraí tástála a rialú &lt;topics-testing-creation-dependencies&gt;`le haghaidh sonraí.</p>\n</section>\n<section id=\"migrate\">\n<span id=\"std-setting-TEST_MIGRATE\"></span><h5><code class=\"docutils literal notranslate\">`IMIRCE</code><a class=\"heading-anchor\" href=\"#migrate\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Fíor`</p>\n<p>Nuair a bheidh sé socraithe ar False, ní rithfidh imirce agus an bunachar sonraí tástála á gcruthú. Tá sé seo cosúil le <code class=\"docutils literal notranslate\">None</code> a shocrú mar luach in:setting: MIGRATION_MODULES, ach do gach aip.</p>\n</section>\n<section id=\"mirror\">\n<span id=\"std-setting-TEST_MIRROR\"></span><h5><code class=\"docutils literal notranslate\">SCÁTHÁN</code><a class=\"heading-anchor\" href=\"#mirror\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>An t-ainm den bhunachar sonraí ba chóir go mbeadh an bunachar sonraí seo a scáthú le linn Braitheann sé ar idirbhearta agus dá bhrí sin caithfear é a úsáid laistigh de: class: ~django.test.transactionTestCase in ionad:class: ~django.test.testcase.</p>\n<p>Tá an suíomh seo ann chun cumraíochtaí bunscoil/macasamhail (dá ngairtear máistir/sclábhaí ag roinnt bunachair sonraí) a thástáil ar bhunachar sonraí iolracha. &lt;topics-testing-primaryreplica&gt;Féach an doiciméadú ar:ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>cumraíochtaí bunscoile/macasamhail a thástáil <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>le haghaidh sonraí.</p>\n</section>\n<section id=\"std-setting-TEST_NAME\">\n<span id=\"id2\"></span><h5><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>AINM `<a class=\"heading-anchor\" href=\"#std-setting-TEST_NAME\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Ainm an bhunachar sonraí le húsáid agus an tsraith tástála á reáchtáil.</p>\n<p>Má úsáidtear an luach réamhshocraithe (<code class=\"docutils literal notranslate\">None ``) le hinneall bunachar sonraí SQLite, úsáidfidh na tástálacha bunachar sonraí cónaitheoirí cuimhne. Maidir le gach inneall bunachar sonraí eile úsáidfidh an bunachar sonraí tástála an t-ainm ```test_'+DATABASE_NAME</code>.</p>\n<p>Féach:ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>bunachar sonraí tástála'.</p>\n</section>\n<section id=\"template\">\n<span id=\"std-setting-TEST_TEMPLATE\"></span><h5><code class=\"docutils literal notranslate\">TEIMPLÉAD</code><a class=\"heading-anchor\" href=\"#template\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Is suíomh atá sonrach le PostgreSQL é seo.</p>\n<p>Ainm <a class=\"reference internal\" href=\"#template\">teimpléad</a> (m.sh. <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>teimpléad0') as a chruthófar bunachar sonraí tástála.</p>\n</section>\n<section id=\"create-db\">\n<span id=\"std-setting-TEST_CREATE\"></span><h5><code class=\"docutils literal notranslate\">CRUTHAITHE_DB</code><a class=\"heading-anchor\" href=\"#create-db\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Fíor`</p>\n<p>Is suíomh atá sonrach le Oracle é seo.</p>\n<p>Má tá sé socraithe ar False`, ní chruthófar na spásanna tástála go huathoibríoch ag tús na dtástálacha nó ní chruthófar na spásanna tástála ag an deireadh.</p>\n</section>\n<section id=\"create-user\">\n<span id=\"std-setting-TEST_USER_CREATE\"></span><h5><code class=\"docutils literal notranslate\">CHRUTHAITHE_ÚSÁIDEOIR</code><a class=\"heading-anchor\" href=\"#create-user\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Fíor`</p>\n<p>Is suíomh atá sonrach le Oracle é seo.</p>\n<p>Má tá sé socraithe ar False`, ní chruthófar an t-úsáideoir tástála go huathoibríoch ag tús na dtástálacha agus titeoidh sé ag an deireadh.</p>\n</section>\n<section id=\"std-setting-TEST_USER\">\n<span id=\"id4\"></span><h5><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>ÚSÁIDEOIR ``<a class=\"heading-anchor\" href=\"#std-setting-TEST_USER\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Is suíomh atá sonrach le Oracle é seo.</p>\n<p>An t-ainm úsáideora le húsáid agus tú ag ceangal le bunachar sonraí Oracle a úsáidfear agus tástálacha á reáchtáil Mura gcuirtear ar fáil, úsáidfidh Django <code class=\"docutils literal notranslate\">`'test_'+USER</code>.</p>\n</section>\n<section id=\"std-setting-TEST_PASSWD\">\n<span id=\"id5\"></span><h5><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>PASFHOCAL ``<a class=\"heading-anchor\" href=\"#std-setting-TEST_PASSWD\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Is suíomh atá sonrach le Oracle é seo.</p>\n<p>An focal faire le húsáid agus tú ag nascadh le bunachar sonraí Oracle a úsáidfear agus tástálacha á reáchtáil. Mura gcuirtear ar fáil, ginfidh Django pasfhocal randamach.</p>\n</section>\n<section id=\"oracle-managed-files\">\n<span id=\"std-setting-TEST_ORACLE_MANAGED_FILES\"></span><h5><code class=\"docutils literal notranslate\">COMHAD BAINISTITHE ORACLE</code><a class=\"heading-anchor\" href=\"#oracle-managed-files\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Is suíomh atá sonrach le Oracle é seo.</p>\n<p>Má tá sé socraithe ar <code class=\"docutils literal notranslate\">True</code>, úsáidfear spásanna tábla Comhaid Bainistithe Oracle (OMF). :setting: DATAFILE agus:setting: DATAFILE_TMP déanfar neamhaird.</p>\n</section>\n<section id=\"tblspace\">\n<span id=\"std-setting-TEST_TBLSPACE\"></span><h5><code class=\"docutils literal notranslate\">TBLSPACE</code><a class=\"heading-anchor\" href=\"#tblspace\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Is suíomh atá sonrach le Oracle é seo.</p>\n<p>Ainm an spás tábla a úsáidfear agus tástálacha á reáchtáil. Mura gcuirtear ar fáil, úsáidfidh Django <code class=\"docutils literal notranslate\">`'test_'+USER</code>.</p>\n</section>\n<section id=\"tblspace-tmp\">\n<span id=\"std-setting-TEST_TBLSPACE_TMP\"></span><h5><code class=\"docutils literal notranslate\">TBLSPACE_TMP</code><a class=\"heading-anchor\" href=\"#tblspace-tmp\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Is suíomh atá sonrach le Oracle é seo.</p>\n<p>Ainm an spás tábla sealadach a úsáidfear agus tástálacha á reáchtáil. Mura gcuirtear ar fáil, úsáidfidh Django <code class=\"docutils literal notranslate\">`'test_'+ USER + '_temp'</code>.</p>\n</section>\n<section id=\"datafile\">\n<span id=\"std-setting-DATAFILE\"></span><h5><code class=\"docutils literal notranslate\">DATAFILE</code><a class=\"heading-anchor\" href=\"#datafile\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Is suíomh atá sonrach le Oracle é seo.</p>\n<p>Ainm na fille sonraí le húsáid don TBLSPACE. Mura gcuirtear ar fáil, úsáidfidh Django <code class=\"docutils literal notranslate\">TBLSPACE + '.dbf'</code>.</p>\n</section>\n<section id=\"datafile-tmp\">\n<span id=\"std-setting-DATAFILE_TMP\"></span><h5><code class=\"docutils literal notranslate\">DATAFILE_TMP</code><a class=\"heading-anchor\" href=\"#datafile-tmp\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Is suíomh atá sonrach le Oracle é seo.</p>\n<p>Ainm na sonraí le húsáid don TBLSPACE_TMP. Mura gcuirtear ar fáil, úsáidfidh Django <code class=\"docutils literal notranslate\">TBLSPACE_TMP + '.dbf'</code>.</p>\n</section>\n<section id=\"datafile-maxsize\">\n<span id=\"std-setting-DATAFILE_MAXSIZE\"></span><h5><code class=\"docutils literal notranslate\">DATAFILE_MAXSIZE</code><a class=\"heading-anchor\" href=\"#datafile-maxsize\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>500M `</p>\n<p>Is suíomh atá sonrach le Oracle é seo.</p>\n<p>An méid uasta a cheadaítear don DATAFILE fás air.</p>\n</section>\n<section id=\"datafile-tmp-maxsize\">\n<span id=\"std-setting-DATAFILE_TMP_MAXSIZE\"></span><h5><code class=\"docutils literal notranslate\">DATAFILE_TMP_MAXSIZE</code><a class=\"heading-anchor\" href=\"#datafile-tmp-maxsize\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>500M `</p>\n<p>Is suíomh atá sonrach le Oracle é seo.</p>\n<p>An méid uasta a cheadaítear don DATAFILE_TMP fás.</p>\n</section>\n<section id=\"datafile-size\">\n<span id=\"std-setting-DATAFILE_SIZE\"></span><h5><code class=\"docutils literal notranslate\">MÉID_DATAFILE</code><a class=\"heading-anchor\" href=\"#datafile-size\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'50M'</code></p>\n<p>Is suíomh atá sonrach le Oracle é seo.</p>\n<p>Méid tosaigh an DATAFILE.</p>\n</section>\n<section id=\"datafile-tmp-size\">\n<span id=\"std-setting-DATAFILE_TMP_SIZE\"></span><h5><code class=\"docutils literal notranslate\">DATAFILE_TMP_SIZE</code><a class=\"heading-anchor\" href=\"#datafile-tmp-size\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'50M'</code></p>\n<p>Is suíomh atá sonrach le Oracle é seo.</p>\n<p>Méid tosaigh an DATAFILE_TMP.</p>\n</section>\n<section id=\"datafile-extsize\">\n<span id=\"std-setting-DATAFILE_EXTSIZE\"></span><h5><code class=\"docutils literal notranslate\">DATAFILE_EXTSIZE</code><a class=\"heading-anchor\" href=\"#datafile-extsize\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'25M'</code></p>\n<p>Is suíomh atá sonrach le Oracle é seo.</p>\n<p>An méid a leathnaítear an DATAFILE nuair a bhíonn níos mó spáis ag teastáil.</p>\n</section>\n<section id=\"datafile-tmp-extsize\">\n<span id=\"std-setting-DATAFILE_TMP_EXTSIZE\"></span><h5><code class=\"docutils literal notranslate\">DATAFILE_TMP_EXTSIZE</code><a class=\"heading-anchor\" href=\"#datafile-tmp-extsize\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h5>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'25M'</code></p>\n<p>Is suíomh atá sonrach le Oracle é seo.</p>\n<p>An méid a leathnaítear an DATAFILE_TMP nuair a bhíonn níos mó spáis ag teastáil.</p>\n</section>\n</section>\n</section>\n<section id=\"data-upload-max-memory-size\">\n<span id=\"std-setting-DATA_UPLOAD_MAX_MEMORY_SIZE\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>SONRA_UASLÓDÁIL_MÉID_CUIMHNEACHÁIN UASTA ``<a class=\"heading-anchor\" href=\"#data-upload-max-memory-size\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: 2621440` (ie 2.5 MB).</p>\n<p>Ardaítear an méid uasta i mbeátaí a d'fhéadfadh comhlacht iarratais a bheith roimh a:exc: ~Django.Core.Exceptions.SuspiciousOperation (<code class=\"docutils literal notranslate\">RequestDataToObig</code>). Déantar an seiceáil nuair a bhíonn rochtain agat ar <code class=\"docutils literal notranslate\">request.body</code> nó <code class=\"docutils literal notranslate\">request.post</code> agus ríomhtar é i gcoinne méid iomlán an iarratais gan aon sonraí uaslódála comhad a áireamh. Is féidir leat é seo a shocrú go <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>None <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>chun an seic a dhíchumasú. Ba chóir d'iarratais a bhfuiltear ag súil go bhfaighidh poist foirme neamhghnách mór an suíomh</p>\n<p>Tá an méid sonraí iarratais comhghaolmhar leis an méid cuimhne atá ag teastáil chun an t-iarratas a phróiseáil agus na foclóirí GET agus POST a líonadh. D'fhéadfaí iarratais mhóra a úsáid mar veicteoir ionsaí diúltaithe seirbhíse má fhágtar gan seiceáil. Ós rud é nach ndéanann freastalaithe gréasáin iniúchadh domhain iarratais de ghnáth, ní féidir seiceáil den chineál céanna a dhéanamh ag an leibhéal sin.</p>\n<p>Féach freis:socrú: FILE_UPLOAD_MAX_MEMORY_SIZE.</p>\n</section>\n<section id=\"data-upload-max-number-fields\">\n<span id=\"std-setting-DATA_UPLOAD_MAX_NUMBER_FIELDS\"></span><h3><code class=\"docutils literal notranslate\">SONRA_UASLÓDÁIL_UIMHREACH_RÉIMSÍ UASGHAIR</code><a class=\"heading-anchor\" href=\"#data-upload-max-number-fields\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">1000</code></p>\n<p>Ardaítear an líon uasta na bparaiméadair a d'fhéadfaí a fháil trí GET nó POST roimh a:exc: ~Django.Core.Exceptions.SuspiciousOperation (<code class=\"docutils literal notranslate\">ToomanyFields</code>). Is féidir leat é seo a shocrú go <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>None <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>chun an seic a dhíchumasú. Ba chóir d'iarratais a bhfuiltear ag súil go bhfaighidh líon neamhghnách mór réimsí foirme an socrú seo a</p>\n<p>Tá líon na bparaiméadair iarratais comhghaolmhar leis an méid ama a theastaíonn chun an t-iarratas a phróiseáil agus na foclóirí GET agus POST a líonadh. D'fhéadfaí iarratais mhóra a úsáid mar veicteoir ionsaí diúltaithe seirbhíse má fhágtar gan seiceáil. Ós rud é nach ndéanann freastalaithe gréasáin iniúchadh domhain iarratais de ghnáth, ní féidir seiceáil den chineál céanna a dhéanamh ag an leibhéal sin.</p>\n</section>\n<section id=\"data-upload-max-number-files\">\n<span id=\"std-setting-DATA_UPLOAD_MAX_NUMBER_FILES\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>SONRAÍ_UASLÓDÁIL_UIMHREACH_COMHAID ``<a class=\"heading-anchor\" href=\"#data-upload-max-number-files\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">100</code></p>\n<p>Ardaítear an líon uasta comhaid a d'fhéadfaí a fháil trí POST in iarratas ionchódaithe <code class=\"docutils literal notranslate\">multipart/form-data ``roimh a:exc: `~Django.Core.Exceptions.SuspiciousOperation` (`ToomanyFiles</code>). Is féidir leat é seo a shocrú go <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>None <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>chun an seic a dhíchumasú. Ba chóir d'iarratais a bhfuiltear ag súil go bhfaighidh líon neamhghnách mór réimsí comhad an suíomh seo a dhí</p>\n<p>Tá comhghaol ag líon na gcomhad a nglactar leis an méid ama agus cuimhne a theastaíonn chun an iarratas a phróiseáil. D'fhéadfaí iarratais mhóra a úsáid mar veicteoir ionsaí diúltaithe seirbhíse má fhágtar gan seiceáil. Ós rud é nach ndéanann freastalaithe gréasáin iniúchadh domhain iarratais de ghnáth, ní féidir seiceáil den chineál céanna a dhéanamh ag an leibhéal sin.</p>\n</section>\n<section id=\"database-routers\">\n<span id=\"std-setting-DATABASE_ROUTERS\"></span><h3><code class=\"docutils literal notranslate\">RÓDAIRÍ_BUNACHAR SONRAÍ</code><a class=\"heading-anchor\" href=\"#database-routers\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Liosta na ródairí a úsáidfear chun a chinneadh cén bunachar sonraí atá le húsáid agus ceist bunachar sonraí á ndéanamh agat.</p>\n<p>&lt;topics-db-multi-db-routing&gt;Féach an doiciméadú ar:ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>ródú uathoibríoch bunachar sonraí i cumraíochtaí ilbhunachar sonraí <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p>\n</section>\n<section id=\"date-format\">\n<span id=\"std-setting-DATE_FORMAT\"></span><h3><code class=\"docutils literal notranslate\">FORMÁID_DÁTA</code><a class=\"heading-anchor\" href=\"#date-format\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'N j, Y'</code> (m.sh. <code class=\"docutils literal notranslate\">4 Feabhra, 2003</code>)</p>\n<p>An formáidiú réamhshocraithe le húsáid chun réimsí dáta a thaispeáint in aon chuid den chóras. Tabhair faoi deara go bhfuil tosaíocht níos airde ag an bhformáid áitiúil agus go gcuirfear i bhfeidhm ina ionad sin. &lt;date&gt;Féach: TFilter: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>teaghráin formáid dáta ceadaithe <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p>\n<p>Féach freis:setting: DATETIME_FORMAT, :setting: TIME_FORMAT agus:setting: SHORT_DATE_FORMAT.</p>\n</section>\n<section id=\"date-input-formats\">\n<span id=\"std-setting-DATE_INPUT_FORMATS\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>FORMÁIDÍ DÁTA_IONCHUIRIÚCHÁIN ``<a class=\"heading-anchor\" href=\"#date-input-formats\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"p\">[</span>\n    <span class=\"s2\">&quot;%Y-%m-</span><span class=\"si\">%d</span><span class=\"s2\">&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;2006-10-25&#39;</span>\n    <span class=\"s2\">&quot;%m/</span><span class=\"si\">%d</span><span class=\"s2\">/%Y&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;10/25/2006&#39;</span>\n    <span class=\"s2\">&quot;%m/</span><span class=\"si\">%d</span><span class=\"s2\">/%y&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;10/25/06&#39;</span>\n    <span class=\"s2\">&quot;%b </span><span class=\"si\">%d</span><span class=\"s2\"> %Y&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;Oct 25 2006&#39;</span>\n    <span class=\"s2\">&quot;%b </span><span class=\"si\">%d</span><span class=\"s2\">, %Y&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;Oct 25, 2006&#39;</span>\n    <span class=\"s2\">&quot;</span><span class=\"si\">%d</span><span class=\"s2\"> %b %Y&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;25 Oct 2006&#39;</span>\n    <span class=\"s2\">&quot;</span><span class=\"si\">%d</span><span class=\"s2\"> %b, %Y&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;25 Oct, 2006&#39;</span>\n    <span class=\"s2\">&quot;%B </span><span class=\"si\">%d</span><span class=\"s2\"> %Y&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;October 25 2006&#39;</span>\n    <span class=\"s2\">&quot;%B </span><span class=\"si\">%d</span><span class=\"s2\">, %Y&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;October 25, 2006&#39;</span>\n    <span class=\"s2\">&quot;</span><span class=\"si\">%d</span><span class=\"s2\"> %B %Y&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;25 October 2006&#39;</span>\n    <span class=\"s2\">&quot;</span><span class=\"si\">%d</span><span class=\"s2\"> %B, %Y&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;25 October, 2006&#39;</span>\n<span class=\"p\">]</span>\n</code></pre></div>\n<p>Liosta de na formáidí a nglacfar leo agus sonraí á ionchur isteach i réimse dáta. Déanfar triail a bhaint as formáidí in ord, ag baint úsáide as an gcéad cheann bailí. Tabhair faoi deara go n-úsáideann na teaghráin formáide seo comhréir modúl Python: ref: datetime '&lt;strftime-strptime-behavior&gt;, ní na teaghráin formáide ón scagaire teimpléad:tfilter: `dáta.</p>\n<p>Tá tosaíocht níos airde ag an bhformáid áitiúil agus cuirfear i bhfeidhm ina ionad sin.</p>\n<p>Féach freis:socrú: DATETIME_INPUT_FORMATS agus:SETTING: TIME_INPUT_FORMATS.</p>\n</section>\n<section id=\"datetime-format\">\n<span id=\"std-setting-DATETIME_FORMAT\"></span><h3><code class=\"docutils literal notranslate\">FORMÁID_DÁTAIME</code><a class=\"heading-anchor\" href=\"#datetime-format\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'N j, Y, P'</code> (m.sh. <code class=\"docutils literal notranslate\">4 Feabhra, 2003, 4 p.m.</code>)</p>\n<p>An formáidiú réamhshocraithe le húsáid chun réimsí dáta-ama a thaispeáint in aon chuid den chóras. Tabhair faoi deara go bhfuil tosaíocht níos airde ag an bhformáid áitiúil agus go gcuirfear i bhfeidhm ina ionad sin. &lt;date&gt;Féach: TFilter: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>teaghráin formáid dáta ceadaithe <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p>\n<p>Féach freis:socrú: DATE_FORMAT, :setting: TIME_FORMAT agus:setting: SHORT_DATETIME_FORMAT.</p>\n</section>\n<section id=\"datetime-input-formats\">\n<span id=\"std-setting-DATETIME_INPUT_FORMATS\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>FORMÁIDÍ DÁTAIME_IONCHUIRIÚCHÁIN ``<a class=\"heading-anchor\" href=\"#datetime-input-formats\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"p\">[</span>\n    <span class=\"s2\">&quot;%Y-%m-</span><span class=\"si\">%d</span><span class=\"s2\"> %H:%M:%S&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;2006-10-25 14:30:59&#39;</span>\n    <span class=\"s2\">&quot;%Y-%m-</span><span class=\"si\">%d</span><span class=\"s2\"> %H:%M:%S.</span><span class=\"si\">%f</span><span class=\"s2\">&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;2006-10-25 14:30:59.000200&#39;</span>\n    <span class=\"s2\">&quot;%Y-%m-</span><span class=\"si\">%d</span><span class=\"s2\"> %H:%M&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;2006-10-25 14:30&#39;</span>\n    <span class=\"s2\">&quot;%m/</span><span class=\"si\">%d</span><span class=\"s2\">/%Y %H:%M:%S&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;10/25/2006 14:30:59&#39;</span>\n    <span class=\"s2\">&quot;%m/</span><span class=\"si\">%d</span><span class=\"s2\">/%Y %H:%M:%S.</span><span class=\"si\">%f</span><span class=\"s2\">&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;10/25/2006 14:30:59.000200&#39;</span>\n    <span class=\"s2\">&quot;%m/</span><span class=\"si\">%d</span><span class=\"s2\">/%Y %H:%M&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;10/25/2006 14:30&#39;</span>\n    <span class=\"s2\">&quot;%m/</span><span class=\"si\">%d</span><span class=\"s2\">/%y %H:%M:%S&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;10/25/06 14:30:59&#39;</span>\n    <span class=\"s2\">&quot;%m/</span><span class=\"si\">%d</span><span class=\"s2\">/%y %H:%M:%S.</span><span class=\"si\">%f</span><span class=\"s2\">&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;10/25/06 14:30:59.000200&#39;</span>\n    <span class=\"s2\">&quot;%m/</span><span class=\"si\">%d</span><span class=\"s2\">/%y %H:%M&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;10/25/06 14:30&#39;</span>\n<span class=\"p\">]</span>\n</code></pre></div>\n<p>Liosta formáidí a nglacfar leo agus sonraí á ionchur isteach ar réimse dáta-ama. Déanfar triail a bhaint as formáidí in ord, ag baint úsáide as an gcéad cheann bailí. Tabhair faoi deara go n-úsáideann na teaghráin formáide seo comhréir modúl Python: ref: datetime '&lt;strftime-strptime-behavior&gt;, ní na teaghráin formáide ón scagaire teimpléad:tfilter: `dáta. Ní chuirtear formáidí dáta amháin san áireamh mar go ndéanfaidh réimsí dáta-ama iarracht go huathoibríoch: setting: DATE_INPUT_FORMATS sa rogha deireanach.</p>\n<p>Tá tosaíocht níos airde ag an bhformáid áitiúil agus cuirfear i bhfeidhm ina ionad sin.</p>\n<p>Féach freis:socrú: DATE_INPUT_FORMATS agus:socrú: TIME_INPUT_FORMATS.</p>\n</section>\n<section id=\"debug\">\n<span id=\"std-setting-DEBUG\"></span><h3><code class=\"docutils literal notranslate\">DEBUG</code><a class=\"heading-anchor\" href=\"#debug\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Boolean a chasann ar/as modh dífhabhtaithe.</p>\n<p>Ná imscaradh suíomh riamh i dtáirgeadh le: socrú: DEBUG a chasadh air.</p>\n<p>Ceann de phríomhghnéithe an mhodh dífhabhtaithe ná leathanaigh earráide mionsonraithe a thaispeáint. Má ardaíonn d'aip eisceacht nuair a bhíonn: socrú: DEBUG <code class=\"docutils literal notranslate\">True</code>, taispeánfaidh Django rianú mionsonraithe, lena n-áirítear go leor meiteashonraí faoi do thimpeallacht, mar shampla na socruithe Django atá sainmhínithe faoi láthair (ó settings.py`).</p>\n<p>Mar bheart slándála, * ní chuimseoidh Django socruithe a d'fhéadfadh a bheith íogair, mar shampla:setting: SECRET_KEY. Go sonrach, eisifaidh sé aon socrú a chuimsíonn a n-ainm aon cheann de na nithe seo a leanas:</p>\n<ul class=\"simple\">\n<li><p><code class=\"docutils literal notranslate\">`'API'</code></p></li>\n<li><p><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>'EOCHAIR'</p></li>\n<li><p><code class=\"docutils literal notranslate\">`'PASS'</code></p></li>\n<li><p><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>'RÚNAÍ'</p></li>\n<li><p><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>'SÍNIÚ'</p></li>\n<li><p><code class=\"docutils literal notranslate\">`'TOKEN'</code></p></li>\n</ul>\n<p>Tabhair faoi deara gur cluichí páirtitheach* iad seo. Meaitneoidh <code class=\"docutils literal notranslate\">'PASS'</code> PASSWORD freisin, díreach mar a mheaitseálfaidh <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>'TOKEN'` TOKENIZED agus mar sin de freisin.</p>\n<p>Mar sin féin, tabhair faoi deara go mbeidh codanna de d'aschur dífhabhtaithe ann i gcónaí atá míchuí le haghaidh tomhaltas poiblí. Tugann cosáin comhad, roghanna cumraíochta agus a leithéid go léir faisnéis bhreise d'ionsaitheoirí faoi do fhre</p>\n<p>Tá sé tábhachtach cuimhneamh freisin go gcuimhneoidh Django ar gach ceist SQL a fhorghníomhaíonn sé nuair a bheidh ag rith le:setting: DEBUG air. Tá sé seo úsáideach nuair a bhíonn tú ag dífhabhtú, ach ídífidh sé cuimhne go tapa ar fhreastalaí táirgeachta.</p>\n<p>Faoi dheireadh, más é: setting: DEBUG <code class=\"docutils literal notranslate\">False</code>, ní mór duit an socrú: setting: ALLOWED_HOSTS a shocrú i gceart freisin. Mura ndéantar é sin, beidh gach iarratas ar ais mar “Droch-iarratas (400)”.</p>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">Note</p>\n<p>&lt;startproject&gt;Leagann an comhad réamhshocraithe:file: settings.py a chruthaí:djadmin: django-admin startproject ```DEBUG = True` le haghaidh áisiúlachta.</p>\n</aside>\n</section>\n<section id=\"debug-propagate-exceptions\">\n<span id=\"std-setting-DEBUG_PROPAGATE_EXCEPTIONS\"></span><h3><code class=\"docutils literal notranslate\">`EISCEACHTAIS_IOMADAITHE_DEBUG</code><a class=\"heading-anchor\" href=\"#debug-propagate-exceptions\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Má tá sé socraithe go True`, déantar láimhseáil eisceachta Django ar fheidhmeanna amharc (:data: ~django.conf.urls.handler500, nó an dearcadh dífhabhtaithe ife:setting: DEBUG True`) agus logáil 500 freagra (:ref: django-request-logger) agus iomadú eisceachtaí aníos.</p>\n<p>Is féidir leis seo a bheith úsáideach do roinnt socruithe tástála. Níor chóir é a úsáid ar shuíomh beo mura dteastaíonn uait do fhreastalaí gréasáin (in ionad Django) freagraí “Earráid Freastalaí Inmheánach” a ghiniúint. Sa chás sin, déan cinnte nach dtaispeánann do fhreastalaí an rian cruach nó faisnéis íogair eile sa fhreagra.</p>\n</section>\n<section id=\"decimal-separator\">\n<span id=\"std-setting-DECIMAL_SEPARATOR\"></span><h3><code class=\"docutils literal notranslate\">DEIGHILTEOIR DEACHIMAL</code><a class=\"heading-anchor\" href=\"#decimal-separator\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>'.'` (Ponc)</p>\n<p>Déileálóir deachúil réamhshocraithe a úsáidtear agus uimhreacha</p>\n<p>Tabhair faoi deara go bhfuil tosaíocht níos airde ag an bhformáid áitiúil agus go gcuirfear i bhfeidhm ina ionad sin.</p>\n<p>Féach freis:socrú: NUMBER_GROUPING, :setting: THOUSAND_SEPARATOR agus:setting: USE_THOUSAND_SEPARATOR.</p>\n</section>\n<section id=\"default-auto-field\">\n<span id=\"std-setting-DEFAULT_AUTO_FIELD\"></span><h3><code class=\"docutils literal notranslate\">RÉAMHSHOCRAITHE_AUTO_FIELD</code><a class=\"heading-anchor\" href=\"#default-auto-field\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">`</code>:class: Django.db.Models.AutoField<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a><a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a></p>\n<p>&lt;django.db.models.Field.primary_key&gt;Cineál réimse eochair phríomhúil réamhshocraithe le húsáid le haghaidh samhlacha nach bhfuil réimse acu le:attr: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>primary_key=True <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p>\n<aside class=\"admonition-migrating-auto-created-through-tables admonition\" role=\"note\">\n<p class=\"admonition-title\">Aimirce uathoibríoch a cruthaíodh</p>\n<p>Meas a thabhairt ar luach DEFAULT_AUTO_FIELD` nuair a chruthaítear uathoibríoch nua trí tháblaí le haghaidh caidrimh go leor.</p>\n<p>Ar an drochuair, ní féidir leis an gcreat imirce príomh-eochracha atá ann cheana a cruthaíodh trí tháblaí a nuashonrú faoi láthair.</p>\n<p>Ciallaíonn sé seo má athraíonn tú luach <code class=\"docutils literal notranslate\">DEFAULT_AUTO_FIELD</code> agus ansin imirce a ghineann tú, nuashonrófar eochracha príomhúil na samhlacha gaolmhara, mar aon leis na heochracha eachtracha ón tábla trí thráid, ach ní imirfear príomh-eochair an tábla uathoibríoch.</p>\n<p>D'fhonn aghaidh a thabhairt air seo, ba chóir duit oibríocht a:class: ~django.db.migrations.operations.runsql a chur le d'imirce chun an chéim <code class=\"docutils literal notranslate\">ALTER TABLE</code> riachtanach a dhéanamh. Is féidir leat an t-ainm tábla atá ann cheana a sheiceáil trí sqlmigrate`, dbshell`, nó le remote_field.through an réimse. Maoin _meta.db_table `.</p>\n<p>Déanann an córas imirce láimhseáil cheana féin a shainmhínítear go sainráite trí</p>\n<p>&lt;32674&gt;Imirce uathoibríoch a cheadú don phríomh-eochair an uathoibríoch atá ann cheana a chruthaítear trí tháblaí: ticéad: féadfar 'a chur i bhfeidhm</p>\n</aside>\n</section>\n<section id=\"default-charset\">\n<span id=\"std-setting-DEFAULT_CHARSET\"></span><h3><code class=\"docutils literal notranslate\">DEFAULT_CHARSET</code><a class=\"heading-anchor\" href=\"#default-charset\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'utf-8'</code></p>\n<p>Charset réamhshocraithe le húsáid do gach rud <code class=\"docutils literal notranslate\">HttpResponse`, mura ndéantar cineál MIME a shonrú de láimh. Úsáidtear agus an ceannteideal ``Content-Type</code> á thógáil.</p>\n</section>\n<section id=\"default-exception-reporter\">\n<span id=\"std-setting-DEFAULT_EXCEPTION_REPORTER\"></span><h3><code class=\"docutils literal notranslate\">TUAIRISEOIRÍ_EISCEACHTÁIL_RÉAMHSHOCRAITHE</code><a class=\"heading-anchor\" href=\"#default-exception-reporter\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">`</code>:class: Django.Views.debug.ExceptionReporter<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a><a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a></p>\n<p>Aicme tuairisceoir eisceachta réamhshocraithe le húsáid mura bhfuil aon duine sannta don shampla:class: ~django.http.httpRequest fós. Féach: tagairt: tuarascálacha saincheaptha earráid.</p>\n</section>\n<section id=\"default-exception-reporter-filter\">\n<span id=\"std-setting-DEFAULT_EXCEPTION_REPORTER_FILTER\"></span><h3><code class=\"docutils literal notranslate\">SCAGAIR_TUAIRISCITHEOIRÍ_EISCEACHTÁIL_RÉAMHSHOCRAITHE</code><a class=\"heading-anchor\" href=\"#default-exception-reporter-filter\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">`</code>:class: django.views.debug.safeExceptionReporterFilter<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a><a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a></p>\n<p>Aicme scagaire tuairisceachta eisceachta réamhshocraithe le húsáid mura sannadh aon rud don shampla:class: ~django.http.httpRequest fós. &lt;filtering-error-reports&gt;Féach: tagairt: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>Tuarascálacha earráide scagtha <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p>\n</section>\n<section id=\"default-from-email\">\n<span id=\"std-setting-DEFAULT_FROM_EMAIL\"></span><h3><code class=\"docutils literal notranslate\">DEFAULT_FROM_RÍOMHPHOST</code><a class=\"heading-anchor\" href=\"#default-from-email\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'stiúrthóir gréasáin &#64;localhost '</code></p>\n<p>Seoladh ríomhphoist réamhshocraithe le haghaidh comhfhreagras uathoibrithe ó bhainisteoir an láithreáin Úsáidtear an seoladh seo sa cheanntásc <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>From: <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>de ríomhphoist amach agus féadann sé aon fhormáid a ghlacadh bailí sa phrótacal seolta ríomhphoist roghnaithe.</p>\n<p>Ní dhéanann sé seo difear do theachtaireachtaí earráide a sheoltar chuig:setting: ADMINS agus:setting: MANAGERS. Féach: SETTING: SERVER_EMAIL chuige sin.</p>\n</section>\n<section id=\"default-index-tablespace\">\n<span id=\"std-setting-DEFAULT_INDEX_TABLESPACE\"></span><h3><code class=\"docutils literal notranslate\">RÉAMHSHOCRAITHE_INDEX_TABLESPACE</code><a class=\"heading-anchor\" href=\"#default-index-tablespace\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>Spás tábla réamhshocraithe le húsáid le haghaidh innéacsanna ar réimsí nach sonraíonn ceann amháin, má thacaíonn an cúltaca leis (féach: doc: /topics/db/tablespaces).</p>\n</section>\n<section id=\"default-tablespace\">\n<span id=\"std-setting-DEFAULT_TABLESPACE\"></span><h3><code class=\"docutils literal notranslate\">DEFAULT_TABLESPACE</code><a class=\"heading-anchor\" href=\"#default-tablespace\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>Spás tábla réamhshocraithe le húsáid le haghaidh samhlacha nach sonraíonn ceann amháin, má thacaíonn an cúltaca leis (féach: doc: /topics/db/tablespaces).</p>\n</section>\n<section id=\"disallowed-user-agents\">\n<span id=\"std-setting-DISALLOWED_USER_AGENTS\"></span><h3><code class=\"docutils literal notranslate\">GNÍOMHAIRÍ_ÚSÁIDEOIR_NEAMHCHEADAITHE</code><a class=\"heading-anchor\" href=\"#disallowed-user-agents\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Liosta de na rudaí léirithe rialta tiomsaithe a léiríonn teaghráin Gníomhaire Úsáideora nach bhfuil cead acu cuairt a thabhairt ar aon leathanach, Úsáid é seo le haghaidh bots/crawlers. Ní úsáidtear é seo ach amháin má tá <code class=\"docutils literal notranslate\">CommonMiddleware</code> suiteáilte (féach: doc: /topics/http/middleware).</p>\n</section>\n<section id=\"email-backend\">\n<span id=\"std-setting-EMAIL_BACKEND\"></span><h3><code class=\"docutils literal notranslate\">RÍOMHPHOST_BACKEND</code><a class=\"heading-anchor\" href=\"#email-backend\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">`</code>:class: django.core.mail.backends.smtp.emailBackend<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a><a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a></p>\n<p>An cúltaca le húsáid chun ríomhphoist a sheoladh. Le haghaidh liosta na gcúltaca atá ar fáil féach:ref: topic-email-backends.</p>\n</section>\n<section id=\"email-file-path\">\n<span id=\"std-setting-EMAIL_FILE_PATH\"></span><h3><code class=\"docutils literal notranslate\">RÍOMHPHOST_FILE_PATH</code><a class=\"heading-anchor\" href=\"#email-file-path\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocrú: Gan sainmhíniú</p>\n<p>An eolaire a úsáideann an: ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>backend ríomhphoist comhad &lt;topic-email-file-backend&gt;`chun comhaid aschuir a stóráil.</p>\n</section>\n<section id=\"email-host\">\n<span id=\"std-setting-EMAIL_HOST\"></span><h3><code class=\"docutils literal notranslate\">RÍOMHPHOST_ÓST</code><a class=\"heading-anchor\" href=\"#email-host\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'localhost'</code></p>\n<p>An t-óstach le húsáid chun ríomhphost a sheoladh.</p>\n<p>Féach freisin: socrú: EMAIL_PORT.</p>\n</section>\n<section id=\"email-host-password\">\n<span id=\"std-setting-EMAIL_HOST_PASSWORD\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>RÍOMHPHOST_HOST_PASFHOCAL ``<a class=\"heading-anchor\" href=\"#email-host-password\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>Pasfhocal le húsáid don fhreastalaí SMTP atá sainmhínithe in:setting: EMAIL_HOST. Úsáidtear an socrú seo i gcomhar le:setting: EMAIL_HOST_USER agus tú ag fíordheimhniú chuig an bhfreastalaí SMTP. Má tá ceachtar de na socruithe seo folamh, ní dhéanfaidh Django iarracht fíordheimhniú.</p>\n<p>Féach freisin: socrú: EMAIL_HOST_USER.</p>\n</section>\n<section id=\"email-host-user\">\n<span id=\"std-setting-EMAIL_HOST_USER\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>RÍOMHPHOST_HOST_ÚSÁIDEOIR ``<a class=\"heading-anchor\" href=\"#email-host-user\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>Ainm úsáideora le húsáid don fhreastalaí SMTP atá sainmhínithe in:setting: EMAIL_HOST. Má tá sé folamh, ní dhéanfaidh Django iarracht fíordheimhniú.</p>\n<p>Féach freis:socrú: EMAIL_HOST_PASSWORD.</p>\n</section>\n<section id=\"email-port\">\n<span id=\"std-setting-EMAIL_PORT\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>RÍOMHPHOST_PORT `<a class=\"heading-anchor\" href=\"#email-port\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">25</code></p>\n<p>Port le húsáid don fhreastalaí SMTP atá sainmhínithe in:setting: EMAIL_HOST.</p>\n</section>\n<section id=\"email-subject-prefix\">\n<span id=\"std-setting-EMAIL_SUBJECT_PREFIX\"></span><h3><code class=\"docutils literal notranslate\">RÍOMHPHOST_ÁBHAIR_RÉAMH</code><a class=\"heading-anchor\" href=\"#email-subject-prefix\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'[Django] '</code></p>\n<p>Réimír líne ábhair do theachtaireachtaí ríomhphoist a sheoltar le <code class=\"docutils literal notranslate\">django.core.mail.mail_admins</code> nó <code class=\"docutils literal notranslate\">django.core.mail.mail_managers</code>. Is dócha go mbeidh tú ag iarraidh an spás siar a áireamh.</p>\n</section>\n<section id=\"email-use-localtime\">\n<span id=\"std-setting-EMAIL_USE_LOCALTIME\"></span><h3><code class=\"docutils literal notranslate\">RÍOMHPHOST_ÚSÁID_ÁITIÚIL TIM</code><a class=\"heading-anchor\" href=\"#email-use-localtime\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Cibé acu an ceannteideal SMTP <code class=\"docutils literal notranslate\">Dáta ``de theachtaireachtaí ríomhphoist a sheoladh sa chrios ama áitiúil (``True</code>) nó i UTC (<code class=\"docutils literal notranslate\">False</code>).</p>\n</section>\n<section id=\"email-use-tls\">\n<span id=\"std-setting-EMAIL_USE_TLS\"></span><h3><code class=\"docutils literal notranslate\">`RÍOMHPHOST_ÚSÁID_TLS</code><a class=\"heading-anchor\" href=\"#email-use-tls\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Cibé acu nasc TLS (slán) a úsáid agus tú ag caint leis an bhfreastalaí SMTP. Úsáidtear é seo le haghaidh naisc shoiléire TLS, go ginearálta ar chalafort 587. Má tá naisc crochta agat, féach an socrú intuigthe TLS: setting: EMAIL_USE_SSL.</p>\n</section>\n<section id=\"email-use-ssl\">\n<span id=\"std-setting-EMAIL_USE_SSL\"></span><h3><code class=\"docutils literal notranslate\">RÍOMHPHOST_ÚSÁID_SSL</code><a class=\"heading-anchor\" href=\"#email-use-ssl\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Cibé acu nasc intuigthe TLS (slán) a úsáid agus tú ag caint leis an bhfreastalaí SMTP. I bhformhór na ndoiciméadaithe ríomhphoist tugtar SSL ar an gcineál seo nasc TLS. Úsáidtear é go ginearálta ar chalafort 465. Má tá fadhbanna agat, féach an socrú sainráite TLS: setting: EMAIL_USE_TLS.</p>\n<p>Tabhair faoi deara go bhfuil: setting: EMAIL_USE_TLS/:SETTING: EMAIL_USE_SSL frithpháirteach, mar sin ní shocraigh ach ceann de na socruithe sin go <code class=\"docutils literal notranslate\">True</code>.</p>\n</section>\n<section id=\"email-ssl-certfile\">\n<span id=\"std-setting-EMAIL_SSL_CERTFILE\"></span><h3><code class=\"docutils literal notranslate\">RÍOMHPHOST_SSL_CERTFILE</code><a class=\"heading-anchor\" href=\"#email-ssl-certfile\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>If <a class=\"reference internal\" href=\"#std-setting-EMAIL_USE_SSL\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_USE_SSL</code></a> or <a class=\"reference internal\" href=\"#std-setting-EMAIL_USE_TLS\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_USE_TLS</code></a> is <code class=\"docutils literal notranslate\">True</code> and the\nsecure connection to the SMTP server requires client authentication, use this\nsetting to specify the path to a PEM-formatted certificate chain file, which\nmust be used in conjunction with <a class=\"reference internal\" href=\"#std-setting-EMAIL_SSL_KEYFILE\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_SSL_KEYFILE</code></a>.</p>\n<p><code class=\"docutils literal notranslate\">EMAIL_SSL_CERTFILE</code> should not be used with a self-signed server certificate\nor a certificate from a private certificate authority (CA). In such cases, the\nserver's certificate (or the root certificate of the private CA) should be\ninstalled into the system's CA bundle. This can be done by following\nplatform-specific instructions for installing a root CA certificate,\nor by using OpenSSL's <code class=\"docutils literal notranslate\">SSL_CERT_FILE</code> or <code class=\"docutils literal notranslate\">SSL_CERT_DIR</code> environment\nvariables to specify a custom certificate bundle (if modifying the system\nbundle is not possible or desired).</p>\n<p>For more complex scenarios, the SMTP\n<a class=\"reference internal\" href=\"/ga/5.2/topics/email/#django.core.mail.backends.smtp.EmailBackend\" title=\"django.core.mail.backends.smtp.EmailBackend\"><code class=\"xref py py-class docutils literal notranslate\">EmailBackend</code></a> can be subclassed to add\nroot certificates to its <code class=\"docutils literal notranslate\">ssl_context</code> using\n<a class=\"reference external\" href=\"https://docs.python.org/3/library/ssl.html#ssl.SSLContext.load_verify_locations\" title=\"(in Python v3.14)\"><code class=\"docutils literal notranslate\">ssl.SSLContext.load_verify_locations()</code></a>.</p>\n</section>\n<section id=\"email-ssl-keyfile\">\n<span id=\"std-setting-EMAIL_SSL_KEYFILE\"></span><h3><code class=\"docutils literal notranslate\">RÍOMHPHOST_SSL_KEYFILE</code><a class=\"heading-anchor\" href=\"#email-ssl-keyfile\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>If <a class=\"reference internal\" href=\"#std-setting-EMAIL_USE_SSL\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_USE_SSL</code></a> or <a class=\"reference internal\" href=\"#std-setting-EMAIL_USE_TLS\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_USE_TLS</code></a> is <code class=\"docutils literal notranslate\">True</code>, you can\noptionally specify the path to a PEM-formatted private key file for client\nauthentication of the SSL connection along with <a class=\"reference internal\" href=\"#std-setting-EMAIL_SSL_CERTFILE\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_SSL_CERTFILE</code></a>.</p>\n<p>Tabhair faoi deara nach mbíonn aon seiceáil deimhnithe mar thoradh ar shocting:setting: EMAIL_SSL_CERTFILE agus:setting: EMAIL_SSL_KEYFILE. Cuirtear iad ar aghaidh chuig an nasc SSL bunúsach. Féach do thoil do dhoiciméadú feidhm Python: Meth: Python: ssl.sslContext.wrap_socket le haghaidh sonraí maidir le conas a láimhseálfar an comhad slabhra deimhnithe agus comhad eochair phríobháideach.</p>\n</section>\n<section id=\"email-timeout\">\n<span id=\"std-setting-EMAIL_TIMEOUT\"></span><h3><code class=\"docutils literal notranslate\">RÍOMHPHOST_TIMEOUT</code><a class=\"heading-anchor\" href=\"#email-timeout\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Sonraíonn sé ama i soicindí chun oibríochtaí a bhlocáil cosúil leis an iarracht nasc.</p>\n</section>\n<section id=\"file-upload-handlers\">\n<span id=\"std-setting-FILE_UPLOAD_HANDLERS\"></span><h3><code class=\"docutils literal notranslate\">LÁIMHSEÁLAITHE COMHAI_UASLÓDÁLAÍ</code><a class=\"heading-anchor\" href=\"#file-upload-handlers\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"p\">[</span>\n    <span class=\"s2\">&quot;django.core.files.uploadhandler.MemoryFileUploadHandler&quot;</span><span class=\"p\">,</span>\n    <span class=\"s2\">&quot;django.core.files.uploadhandler.TemporaryFileUploadHandler&quot;</span><span class=\"p\">,</span>\n<span class=\"p\">]</span>\n</code></pre></div>\n<p>Liosta de láimhseálaithe le húsáid le haghaidh uaslódála. Ligeann an socrú seo a athrú saincheaptha iomlán - fiú athsholáthar - próiseas uaslódála Django.</p>\n<p>Féach: doc: /topics/files le haghaidh sonraí.</p>\n</section>\n<section id=\"file-upload-max-memory-size\">\n<span id=\"std-setting-FILE_UPLOAD_MAX_MEMORY_SIZE\"></span><h3><code class=\"docutils literal notranslate\">FILE_UPLOAD_MAX_MÉIDE_CUIMHNEACH</code><a class=\"heading-anchor\" href=\"#file-upload-max-memory-size\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: 2621440` (ie 2.5 MB).</p>\n<p>An méid uasta (i mbeátaí) a bheidh uaslódáil sula ndéantar é a shruthú chuig an gcóras comhaid. Féach: doc: /topics/files le haghaidh sonraí.</p>\n<p>Féach freis:socrú: DATA_UPLOAD_MAX_MEMORY_SIZE.</p>\n</section>\n<section id=\"file-upload-directory-permissions\">\n<span id=\"std-setting-FILE_UPLOAD_DIRECTORY_PERMISSIONS\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>CEADÚNA_STIÚRTHÓIREACH_UASLÓDÁIL_COMHAD ``<a class=\"heading-anchor\" href=\"#file-upload-directory-permissions\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>An modh uimhriúil le cur i bhfeidhm ar eolairí a cruthaíodh sa phróiseas comhaid a uaslódáil.</p>\n<p>Cinneann an socrú seo na ceadanna réamhshocraithe d'eolairí statacha bailithe agus an t-ordú bainistíochta: djadmin: collectstatic á n-úsáid agat. Féach: Djadmin: collectstatic le haghaidh sonraí maidir leis a shárú.</p>\n<p>Léiríonn an luach seo feidhmiúlacht agus rabhadh an shocraithe:setting: FILE_UPLOAD_PERMISSIONS.</p>\n</section>\n<section id=\"file-upload-permissions\">\n<span id=\"std-setting-FILE_UPLOAD_PERMISSIONS\"></span><h3><code class=\"docutils literal notranslate\">CEADÚNA_UASLÓDÁIL_FILE</code><a class=\"heading-anchor\" href=\"#file-upload-permissions\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">0o644</code></p>\n<p>An modh uimhriúil (ie <code class=\"docutils literal notranslate\">0o644</code>) chun comhaid nua-uaslódáilte a shocrú chuige. Le haghaidh tuilleadh faisnéise faoin méid a chiallaíonn na modhanna seo, féach an doiciméadú le haghaidh: func: os.chmod.</p>\n<p>Má tá <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>, gheobhaidh tú iompar spleách ar an gcóras oibriúcháin. Ar fhormhór na n-ardán, beidh modh 0o600 ag comhaid shealadacha, agus sábhálfar comhaid a shábháiltear ó chuimhne ag baint úsáide as umask caighdeánach an chórais.</p>\n<p>Ar chúiseanna slándála, ní chuirtear na ceadanna seo i bhfeidhm ar na comhaid shealadacha atá stóráilte in:setting: FILE_UPLOAD_TEMP_DIR.</p>\n<p>Cinneann an socrú seo na ceadanna réamhshocraithe do chomhaid statacha bailithe agus an t-ordú bainistíochta: djadmin: collectstatic á n-úsáid agat. Féach: Djadmin: collectstatic le haghaidh sonraí maidir leis a shárú.</p>\n<aside class=\"admonition admonition-warning\" role=\"note\">\n<p class=\"admonition-title\">Warning</p>\n<p>** Réamhítear an modh i gcónaí le** <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>0o' ** . **</p>\n<p>Mura bhfuil tú eolach ar mhodhanna comhaid, tabhair faoi deara go bhfuil an réimír <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>0` an-tábhachtach: léiríonn sé uimhir ochtúil, arb é sin an bealach a chaithfear modhanna a shonrú. Má dhéanann tú iarracht <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>644` a úsáid, gheobhaidh tú iompar go hiomlán mícheart.</p>\n</aside>\n</section>\n<section id=\"file-upload-temp-dir\">\n<span id=\"std-setting-FILE_UPLOAD_TEMP_DIR\"></span><h3><code class=\"docutils literal notranslate\">FILE_UPLOAD_TEMP_DIR</code><a class=\"heading-anchor\" href=\"#file-upload-temp-dir\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>An eolaire chun sonraí a stóráil chuig (de ghnáth comhaid níos mó ná: setting: FILE_UPLOAD_MAX_MEMORY_SIZE) go sealadach agus comhaid á uaslódáil. Má tá <code class=\"docutils literal notranslate\">None ``, úsáidfidh Django an eolaire sealadach caighdeánach don chóras oibriúcháin. Mar shampla, réamhshocróidh sé seo go ``/tmp</code> ar chórais oibriúcháin<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">*</span></a>nix-style.</p>\n<p>Féach: doc: /topics/files le haghaidh sonraí.</p>\n</section>\n<section id=\"first-day-of-week\">\n<span id=\"std-setting-FIRST_DAY_OF_WEEK\"></span><h3><code class=\"docutils literal notranslate\">`CHÉAD_LAETH_DEN TSEACHTAINE</code><a class=\"heading-anchor\" href=\"#first-day-of-week\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">0</code> (Dé Domhnaigh)</p>\n<p>Uimhir a léiríonn an chéad lá den tseachtain. Tá sé seo úsáideach go háirithe agus féilire á thaispeáint. Ní úsáidtear an luach seo ach nuair nach n-úsáidtear idirnáisiúnú formáid, nó nuair nach féidir formáid a fháil don áitiúil reatha.</p>\n<p>Caithfidh an luach a bheith ina shláimhir ó 0 go 6, áit a chiallaíonn 0 Dé Domhnaigh, ciallaíonn 1 Luain agus mar sin de.</p>\n</section>\n<section id=\"fixture-dirs\">\n<span id=\"std-setting-FIXTURE_DIRS\"></span><h3><code class=\"docutils literal notranslate\">FIXTURE_DIRS</code><a class=\"heading-anchor\" href=\"#fixture-dirs\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Liosta na n-eolair &lt;fixtures-explanation&gt;í a chuardaíodh ar chomhaid: ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>fixture <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>, i dteannta leis an eolaire <a href=\"#id5\"><span class=\"problematic\" id=\"id6\">``</span></a>daingneáin <a href=\"#id7\"><span class=\"problematic\" id=\"id8\">``</span></a>de gach feidhmchlár, in ord cuardaigh.</p>\n<p>Tabhair faoi deara gur chóir go n-úsáidfeadh na cosáin seo slashes ar aghaidh i stíl Unix, fiú ar Windows.</p>\n<p>Féach: tagairt: topics-tástála-daingneáin tosaitheach agus:ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>topics-tástála-daingneáin <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p>\n</section>\n<section id=\"force-script-name\">\n<span id=\"std-setting-FORCE_SCRIPT_NAME\"></span><h3><code class=\"docutils literal notranslate\">`AINM_SCRIPT_FORCE</code><a class=\"heading-anchor\" href=\"#force-script-name\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Mura bhfuil <code class=\"docutils literal notranslate\">None ``, úsáidfear é seo mar luach an athróg comhshaoil ``SCRIPT_NAME</code> in aon iarratas HTTP. Is féidir an socrú seo a úsáid chun an luach “SCRIPT_NAME” a sholáthraíonn an freastalaí a shárú, ar d'fhéadfadh a bheith ina leagan athscríofa den luach is fearr nó nach soláthraítear ar chor ar bith. Úsáidtear é freisin ó:func: django.setup () `chun réimír script réiteach URL a shocrú lasmuigh den timthriall iarrata/freagartha (m.sh. in orduithe bainistíochta agus scripteanna neamhspleácha) chun URLanna cearta a ghiniúint nuair a chuirtear `FORCE_SCRIPT_NAME` ar fáil.</p>\n</section>\n<section id=\"form-renderer\">\n<span id=\"std-setting-FORM_RENDERER\"></span><h3><code class=\"docutils literal notranslate\">FOIRM_RENDERER</code><a class=\"heading-anchor\" href=\"#form-renderer\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">`</code>:class: django.forms.renderers.djangoTemplates<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a><a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a></p>\n<p>An rang a léiríonn foirmeacha agus a fhoirmíonn giuirléidí. &lt;low-level-widget-render-api&gt;Caithfidh sé: ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>an API rindreála ísealleibhéil <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>a chur i bhfeidhm. Is iad na láithreoirí foirmeacha san áireamh:</p>\n<ul class=\"simple\">\n<li><p><code class=\"docutils literal notranslate\">``</code>:class: Django.Forms.renderers.djangoTemplates<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a><a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a></p></li>\n<li><p><code class=\"docutils literal notranslate\">'`</code>:class: Django.Forms.renderers.jinja2<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a><a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a></p></li>\n<li><p><code class=\"docutils literal notranslate\">``</code>:class: Django.Forms.Renderers.TemplateSetting<code class=\"docutils literal notranslate\">`</code></p></li>\n</ul>\n</section>\n<section id=\"forms-urlfield-assume-https\">\n<span id=\"std-setting-FORMS_URLFIELD_ASSUME_HTTPS\"></span><h3><code class=\"docutils literal notranslate\">FOIRMS_URLFIELD_ASSUME_HTTPS</code><a class=\"heading-anchor\" href=\"#forms-urlfield-assume-https\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<aside class=\"version-note version-deprecated\" data-version=\"5.0\" role=\"note\">\n<p class=\"version-note-title\">Deprecated since Django 5.0</p><p><span class=\"versionmodified deprecated\">Deprecated since version 5.0.</span></p>\n</aside>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>&lt;django.forms.URLField.assume_scheme&gt;Socraigh an suíomh idirthréimhseach seo go True` chun roghnú <code class=\"docutils literal notranslate\">&quot;https&quot;</code> a úsáid mar an luach réamhshocraithe nua de:attr: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>URLFIELD.ASSUME_SCHEME <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>le linn timthriall scaoilte Django 5.x.</p>\n</section>\n<section id=\"format-module-path\">\n<span id=\"std-setting-FORMAT_MODULE_PATH\"></span><h3><code class=\"docutils literal notranslate\">MODÚL_BHEALACH_FORMÁID</code><a class=\"heading-anchor\" href=\"#format-module-path\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Conair iomlán Python chuig pacáiste Python ina bhfuil sainmhínithe formáid saincheaptha le haghaidh áitiúla tionscadail. Mura bhfuil <code class=\"docutils literal notranslate\">None</code>, seiceálfaidh Django le haghaidh comhad <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>formats.py`, faoin eolaire a ainmnítear mar an áitiúil reatha, agus úsáideoidh sé na formáidí atá sainmhínithe sa chomhad seo.</p>\n<p>Táthar ag súil go n-ainmníofar ainm an eolaire ina bhfuil na sainmhínithe formáide ag baint úsáid:term: notáil ainm áitiúil, mar shampla ``de`, pt_br`, <code class=\"docutils literal notranslate\">en_us</code>, srl.</p>\n<p>Mar shampla, má tá: setting: FORMAT_MODULE_PATH socraithe go <code class=\"docutils literal notranslate\">mysite.formats</code>, agus is é <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>en <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Béarla) an teanga reatha, beidh Django ag súil le crann eolaire mar:</p>\n<div class=\"code-block\" data-language=\"text\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Text</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Text code\"><code>mysite/\n    formats/\n        __init__.py\n        en/\n            __init__.py\n            formats.py\n</code></pre></div>\n<p>Is féidir leat an socrú seo a shocrú freisin ar liosta de chosáin Python, mar shampla:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code>FORMAT_MODULE_PATH <span class=\"o\">=</span> <span class=\"p\">[</span>\n    <span class=\"s2\">&quot;mysite.formats&quot;</span><span class=\"p\">,</span>\n    <span class=\"s2\">&quot;some_app.formats&quot;</span><span class=\"p\">,</span>\n<span class=\"p\">]</span>\n</code></pre></div>\n<p>Nuair a chuardaíonn Django ar fhormáid áirithe, rachaidh sé trí gach cosán Python a thugtar go dtí go bhfaighidh sé modúl a shainmhíníonn an fhormáid a thugtar Ciallaíonn sé seo go mbeidh tosaíocht ag formáidí a shainmhínítear i bpacáistí níos faide ar an liosta thar na formáidí céanna i bpacáistí níos faide síos.</p>\n<p>Is iad na formáidí atá ar fáil ná:</p>\n<ul class=\"simple\">\n<li><p><a class=\"reference internal\" href=\"#std-setting-DATE_FORMAT\"><code class=\"xref std std-setting docutils literal notranslate\">DATE_FORMAT</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DATE_INPUT_FORMATS\"><code class=\"xref std std-setting docutils literal notranslate\">DATE_INPUT_FORMATS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DATETIME_FORMAT\"><code class=\"xref std std-setting docutils literal notranslate\">DATETIME_FORMAT</code></a>,</p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DATETIME_INPUT_FORMATS\"><code class=\"xref std std-setting docutils literal notranslate\">DATETIME_INPUT_FORMATS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DECIMAL_SEPARATOR\"><code class=\"xref std std-setting docutils literal notranslate\">DECIMAL_SEPARATOR</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-FIRST_DAY_OF_WEEK\"><code class=\"xref std std-setting docutils literal notranslate\">FIRST_DAY_OF_WEEK</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-MONTH_DAY_FORMAT\"><code class=\"xref std std-setting docutils literal notranslate\">MONTH_DAY_FORMAT</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-NUMBER_GROUPING\"><code class=\"xref std std-setting docutils literal notranslate\">NUMBER_GROUPING</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SHORT_DATE_FORMAT\"><code class=\"xref std std-setting docutils literal notranslate\">SHORT_DATE_FORMAT</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SHORT_DATETIME_FORMAT\"><code class=\"xref std std-setting docutils literal notranslate\">SHORT_DATETIME_FORMAT</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-THOUSAND_SEPARATOR\"><code class=\"xref std std-setting docutils literal notranslate\">THOUSAND_SEPARATOR</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-TIME_FORMAT\"><code class=\"xref std std-setting docutils literal notranslate\">TIME_FORMAT</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-TIME_INPUT_FORMATS\"><code class=\"xref std std-setting docutils literal notranslate\">TIME_INPUT_FORMATS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-YEAR_MONTH_FORMAT\"><code class=\"xref std std-setting docutils literal notranslate\">YEAR_MONTH_FORMAT</code></a></p></li>\n</ul>\n</section>\n<section id=\"ignorable-404-urls\">\n<span id=\"std-setting-IGNORABLE_404_URLS\"></span><h3><code class=\"docutils literal notranslate\">URLACHA NEAMHCHOITIANTA 404_</code><a class=\"heading-anchor\" href=\"#ignorable-404-urls\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Liosta de na rudaí léirithe rialta tiomsaithe ag cur síos ar URLanna ar chóir neamhaird a dhéanamh agus earráidí HTTP 404 á thuairisciú trí ríomhphost (féach: doc: /howto/error-reporting). Déantar nathanna rialta a mheaitseáil in aghaidh: meth: bealaí iomlána iarrata &lt;django.http.HttpRequest.get_full_path&gt;`(lena n-áirítear sreang ceisteanna, más ann). Úsáid é seo mura soláthraíonn do shuíomh comhad a iarrtar go coitianta mar ``favicon.ico' nó ``robots.txt`.</p>\n<p>Ní úsáidtear é seo ach má tá: class: ~django.middleware.common.BrokenLinkemailsMiddleware cumasaithe (féach: doc: /topics/http/middleware).</p>\n</section>\n<section id=\"installed-apps\">\n<span id=\"std-setting-INSTALLED_APPS\"></span><h3><code class=\"docutils literal notranslate\">APPS_SHUITEÁIL</code><a class=\"heading-anchor\" href=\"#installed-apps\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Liosta de na teaghráin a ainmníonn gach feidhmchlár atá cumasaithe sa suiteáil Django seo. Ba chóir go mbeadh gach sreang ina chonair Python poncaithe chuig:</p>\n<ul class=\"simple\">\n<li><p>aicme cumraíochta feidhmchláir (is fearr), nó</p></li>\n<li><p>pacáiste ina bhfuil iarratas.</p></li>\n</ul>\n<p><a class=\"reference internal\" href=\"/ga/5.2/ref/applications/\"><span class=\"doc\">Learn more about application configurations</span></a>.</p>\n<aside class=\"admonition-use-the-application-registry-for-introspection admonition\" role=\"note\">\n<p class=\"admonition-title\">Úsáid clárlann an fheidhmchláir le haghaidh ionfhios</p>\n<p>Níor cheart rochtain a fháil ar do chód riamh: setting: INSTALLED_APPS go díreach. Úsáid: attr: django.apps.apps ina ionad.</p>\n</aside>\n<aside class=\"admonition-application-names-and-labels-must-be-unique-in-setting-installed-apps admonition\" role=\"note\">\n<p class=\"admonition-title\">Caithfidh ainmneacha agus lipéid iarratais a bheith uathúil in:setting: INSTALLED_APPS</p>\n<p>Iarratas: Attr: ainmneacha &lt;django.apps.AppConfig.name&gt;- an cosán Python poncanach chuig an bpacáiste iarratais - caithfidh a bheith uathúil. Níl aon bhealach ann an feidhmchlár céanna a áireamh faoi dhó, gan a chód a dhúbailt faoi ainm eile.</p>\n<p>Iarratas: ATTR: lipéid &lt;django.apps.AppConfig.label&gt;- de réir réamhshocraithe caithfidh an chuid deiridh den ainm - a bheith uathúil freisin. Mar shampla, ní féidir leat <code class=\"docutils literal notranslate\">django.contrib.auth</code> agus <code class=\"docutils literal notranslate\">myproject.auth</code> araon a chur san áireamh. Mar sin féin, is féidir leat feidhmchlár a athlipéadú le cumraíocht saincheaptha a shainmhíníonn difríocht: attr: ~django.apps.appconfig.label.</p>\n<p>Tá feidhm ag na rialacha seo beag beann ar: tagraíonn setting: INSTALLED_APPS aicmí cumraíochta feidhmchláir nó pacáistí feidhmchláir.</p>\n</aside>\n<p>Nuair a sholáthraíonn roinnt feidhmchlár leaganacha éagsúla den acmhainn chéanna (teimpléad, comhad statach, ordú bainistíochta, aistriúchán), tá tosaíocht ag an bhfeidhmchlár atá liostaithe ar dtús in:setting: INSTALLED_APPS.</p>\n</section>\n<section id=\"internal-ips\">\n<span id=\"std-setting-INTERNAL_IPS\"></span><h3><code class=\"docutils literal notranslate\">IPS_INMHEÁN</code><a class=\"heading-anchor\" href=\"#internal-ips\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Liosta de sheoltaí IP, mar teaghráin, go bhfuil:</p>\n<ul class=\"simple\">\n<li><p>Lig don phróiseálaí comhthéacs: func: ~django.template.context_processors.debug roinnt athróg a chur le comhthéacs an teimpléid.</p></li>\n<li><p>Is féidir leis an leabharmharcanna:ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>admindocs bookmarklets &lt;admindocs-bookmarklets&gt;`a úsáid fiú mura bhfuil sé logáilte isteach mar úsáideoir foirne.</p></li>\n<li><p>Tá siad marcáilte mar “inmheánach” (seachas “EXTERNAL”) in:class: ~django.utils.log.adminEmailHandler ríomhphoist.</p></li>\n</ul>\n</section>\n<section id=\"language-code\">\n<span id=\"std-setting-LANGUAGE_CODE\"></span><h3><code class=\"docutils literal notranslate\">CÓD_TEANGA</code><a class=\"heading-anchor\" href=\"#language-code\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'en-us'</code></p>\n<p>Sreang a léiríonn an cód teanga don tsuiteáil seo. &lt;language code&gt;Ba chóir go mbeadh sé seo i gcaighdeán:term: formáid ID teanga `. Mar shampla, is é Béarla na SA `&quot;en-us&quot;<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>. Féach freisin an <a class=\"reference external\" href=\"http://www.i18nguy.com/unicode/language-identifiers.html\">liosta na n-aitheantóirí teanga</a> agus:doc: /topics/i18n/index.</p>\n<p>Freastalaíonn sé trí chuspóir:</p>\n<ul class=\"simple\">\n<li><p>Mura bhfuil an meán-earraí áitiúla in úsáid, cinneann sé cén t-aistriúchán a sheirbheálfar do gach úsáideoir.</p></li>\n<li><p>Má tá an láithreán gréasáin gníomhach, soláthraíonn sé teanga aisghabhála i gcás nach féidir an teanga is fearr leis an úsáideoir a chinneadh nó nach dtacaíonn an suíomh Gréasáin leis. Soláthraíonn sé an t-aistriúchán ar ais freisin nuair nach bhfuil aistriúchán do litriúil ar leith ann don teanga is fearr leis an úsáideoir.</p></li>\n<li><p>Má dhéantar logánú a dhíchumasú go sainráite tríd an scagair:tfilter: unlocalize nó an chlibe:ttag: {% localize off%}&lt;localize&gt;, soláthraíonn sé formáidí logánaithe fillte a chuirfear i bhfeidhm ina ionad sin. Féach:ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>logánú a rialú i dteimpléid &lt;topic-l10n-templates&gt;`le haghaidh sonraí.</p></li>\n</ul>\n<p>Féach:ref: how django-discovers-language-preference le haghaidh tuilleadh sonraí.</p>\n</section>\n<section id=\"language-cookie-age\">\n<span id=\"std-setting-LANGUAGE_COOKIE_AGE\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>TEANGA_FIANÁIN AOIS ``<a class=\"heading-anchor\" href=\"#language-cookie-age\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">None</code> (in éag nuair a dhún an bhrabhsálaí)</p>\n<p>Aois na fianán teanga, i soicindí.</p>\n</section>\n<section id=\"language-cookie-domain\">\n<span id=\"std-setting-LANGUAGE_COOKIE_DOMAIN\"></span><h3><code class=\"docutils literal notranslate\">TEANGA_FIANÁINE_FEARAIN</code><a class=\"heading-anchor\" href=\"#language-cookie-domain\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>An fearann le húsáid don fhianán teanga. Socraigh é seo go sreang mar <code class=\"docutils literal notranslate\">&quot;example.com&quot;</code> le haghaidh fianáin tras-fearainn, nó bain úsáid as <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>None <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>le haghaidh fianán fearainn caighdeánach.</p>\n<p>Bí cúramach agus an suíomh seo á nuashonrú agat ar shuíomh táirgeachta. Má nuashonraíonn tú an socrú seo chun fianáin tras-fhearann a chumasú ar shuíomh a d'úsáid fianáin fearainn caighdeánacha roimhe seo, ní nuashonrófar fianáin úsáideora atá ann cheana a bhfuil an sean-fearainn Mar thoradh air seo ní bheidh úsáideoirí an láithreáin in ann an teanga a athrú chomh fada agus a leanfaidh na fianáin seo. Is é an t-aon rogha sábháilte agus iontaofa chun an lasc a dhéanamh ná ainm na fianán teanga a athrú go buan (tríd an socrú: LANGUAGE_COOKIE_NAME) agus meán-earraí a chur leis a chóipeálann an luach ón sean-fhianán go ceann nua agus ansin scriosann sé an seancheann.</p>\n</section>\n<section id=\"language-cookie-httponly\">\n<span id=\"std-setting-LANGUAGE_COOKIE_HTTPONLY\"></span><h3><code class=\"docutils literal notranslate\">TEANGA_FIANÁIN_HTTPONLY</code><a class=\"heading-anchor\" href=\"#language-cookie-httponly\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Cibé acu an bhratach HttpOnly` a úsáid ar an bhfianán teanga. Má tá sé seo socraithe ar <code class=\"docutils literal notranslate\">True</code>, ní bheidh JavaScript taobh an chliaint in ann rochtain a fháil ar an bhfianán teanga.</p>\n<p>Féach: SETTING: SESSION_COOKIE_HTTPONLY le haghaidh sonraí ar HTTPONLY`.</p>\n</section>\n<section id=\"language-cookie-name\">\n<span id=\"std-setting-LANGUAGE_COOKIE_NAME\"></span><h3><code class=\"docutils literal notranslate\">AINM_FIANÁIN TEANGA</code><a class=\"heading-anchor\" href=\"#language-cookie-name\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'django_langue'</code></p>\n<p>Ainm na fianán atá le húsáid don fhianán teanga. Is féidir leis seo a bheith cibé rud is mian leat (fad is atá sé difriúil ó na hainmneacha fianán eile i d'iarratas). Féach: doc: /topics/i18n/index.</p>\n</section>\n<section id=\"language-cookie-path\">\n<span id=\"std-setting-LANGUAGE_COOKIE_PATH\"></span><h3><code class=\"docutils literal notranslate\">TEANGA_FIANÁIN BHEALAIGH</code><a class=\"heading-anchor\" href=\"#language-cookie-path\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'/'</code></p>\n<p>An cosán atá leagtha síos ar an bhfianán teanga. Ba chóir go mbeadh sé seo comhoiriúnach le cosán URL do shuiteála Django nó a bheith ina thuismitheoir ar an gcosán sin.</p>\n<p>Tá sé seo úsáideach má tá cásanna iolracha Django agat ag rith faoin ainm óstach céanna. Is féidir leo cosáin éagsúla fianán a úsáid agus ní fheicfidh gach cás ach a fianán teanga féin.</p>\n<p>Bí cúramach agus an suíomh seo á nuashonrú agat ar shuíomh táirgeachta. Má nuashonraíonn tú an socrú seo chun cosán níos doimhne a úsáid ná mar a úsáideadh sé roimhe seo, ní nuashonrófar fianáin úsáideora atá ann cheana a bhfuil an sean-chosán Mar thoradh air seo ní bheidh úsáideoirí an láithreáin in ann an teanga a athrú chomh fada agus a leanann na fianáin seo. Is é an t-aon rogha sábháilte agus iontaofa chun an lasc a dhéanamh ná ainm na fianán teanga a athrú go buan (tríd an socrú: LANGUAGE_COOKIE_NAME), agus meán-earraí a chur leis a chóipeálann an luach ón sean-fhianán go ceann nua agus ansin scriosann sé an ceann.</p>\n</section>\n<section id=\"language-cookie-samesite\">\n<span id=\"std-setting-LANGUAGE_COOKIE_SAMESITE\"></span><h3><code class=\"docutils literal notranslate\">TEANGA_FIANÁN_COMHCHOSAITHE</code><a class=\"heading-anchor\" href=\"#language-cookie-samesite\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Luach an bhratach <a class=\"reference external\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value\">SameSite</a> ar an bhfianán teanga. Cuireann an bratach seo cosc ar an bhfianán a sheoladh in iarratais tras-láithreáin.</p>\n<p>Féach:SETTING: SESSION_COOKIE_SAMESITE le haghaidh sonraí faoi Samesite`.</p>\n</section>\n<section id=\"language-cookie-secure\">\n<span id=\"std-setting-LANGUAGE_COOKIE_SECURE\"></span><h3><code class=\"docutils literal notranslate\">TEANGA_FIANÁINE_SLÁNDÁLA</code><a class=\"heading-anchor\" href=\"#language-cookie-secure\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Cibé acu fianán slán a úsáid don fhianán teanga. Má tá sé seo socraithe ar <code class=\"docutils literal notranslate\">True</code>, marcálfar an fianán mar “slán”, rud a chiallaíonn go bhféadfaidh brabhsálaithe a chinntiú nach seoltar an fianán ach faoi nasc HTTPS.</p>\n</section>\n<section id=\"languages\">\n<span id=\"std-setting-LANGUAGES\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>TEANGACHA ``<a class=\"heading-anchor\" href=\"#languages\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: Liosta de na teangacha go léir atá ar fáil. Tá an liosta seo ag fás i gcónaí agus is cinnte go mbeadh cóip a áireamh anseo as dáta go tapa. Is féidir leat an liosta reatha de na dteangacha aistrithe a fheiceáil trí:source: django/conf/global_settings.py.</p>\n<p>Is é an liosta de dhá thuples san fhormáid (:term: cód teanga &lt;language code&gt;, <code class=\"docutils literal notranslate\">ainm teanga ``) -- mar shampla,</code> ('ja', 'Seapáinis') <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>. Sonraíonn sé seo cé na teangacha atá ar fáil le haghaidh roghnú teanga. Féach: doc: /topics/i18n/index.</p>\n<p>Go ginearálta, ba chóir go leor an luach réamhshocraithe. Socraigh an socrú seo ach más mian leat roghnú teanga a theorannú go fo-thacar de na teangacha a sholáthraítear Django.</p>\n<p>Má shainmhíníonn tú socrú saincheap:setting: LANGUAGES, is féidir leat na hainmneacha teanga a mharcáil mar teaghráin aistriúcháin ag baint úsáide as an bhfeidhm:func: ~django.utils.translation.gettext_lazy.</p>\n<p>Seo comhad socruithe samplach:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"kn\">from</span> <span class=\"nn\">django.utils.translation</span> <span class=\"kn\">import</span> gettext_lazy <span class=\"k\">as</span> _\n\nLANGUAGES <span class=\"o\">=</span> <span class=\"p\">[</span>\n    <span class=\"p\">(</span><span class=\"s2\">&quot;de&quot;</span><span class=\"p\">,</span> _<span class=\"p\">(</span><span class=\"s2\">&quot;German&quot;</span><span class=\"p\">)),</span>\n    <span class=\"p\">(</span><span class=\"s2\">&quot;en&quot;</span><span class=\"p\">,</span> _<span class=\"p\">(</span><span class=\"s2\">&quot;English&quot;</span><span class=\"p\">)),</span>\n<span class=\"p\">]</span>\n</code></pre></div>\n</section>\n<section id=\"languages-bidi\">\n<span id=\"std-setting-LANGUAGES_BIDI\"></span><h3><code class=\"docutils literal notranslate\">TEANGACH_BIDI</code><a class=\"heading-anchor\" href=\"#languages-bidi\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: Liosta de na cóid teanga go léir atá scríofa ar dheis go clé. Is féidir leat an liosta reatha de na teangacha seo a fheiceáil trí:source: django/conf/global_settings.py.</p>\n<p>Tá an liosta: téarma: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>cóid teanga &lt;language code&gt;`do theangacha atá scríofa ar dheis go clé.</p>\n<p>Go ginearálta, ba chóir go leor an luach réamhshocraithe. Socraigh an socrú seo ach más mian leat roghnú teanga a theorannú go fo-thacar de na teangacha a sholáthraítear Django. Má shainmhíníonn tú socrú saincheap:setting: LANGUAGES, d'fhéadfadh go mbeadh cóid teanga nach bhfuil cumasaithe ar shuíomh ar leith i liosta na dteangacha déthreoracha.</p>\n</section>\n<section id=\"locale-paths\">\n<span id=\"std-setting-LOCALE_PATHS\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>COSÁIN ÁITIÚLA ``<a class=\"heading-anchor\" href=\"#locale-paths\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Liosta d'eolairí ina bhfuil Django ag lorg comhaid aistriúcháin. Féach:ref: cona-django-aimsitheach-aistriúcháin.</p>\n<p>Sampla:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code>LOCALE_PATHS <span class=\"o\">=</span> <span class=\"p\">[</span>\n    <span class=\"s2\">&quot;/home/www/project/common_files/locale&quot;</span><span class=\"p\">,</span>\n    <span class=\"s2\">&quot;/var/local/translations/locale&quot;</span><span class=\"p\">,</span>\n<span class=\"p\">]</span>\n</code></pre></div>\n<p>Breathnóidh Django laistigh de gach ceann de na cosáin seo do na heolairí <code class=\"docutils literal notranslate\">&lt;locale_code&gt;/LC_MESSAGES</code> ina bhfuil na comhaid aistriúcháin iarbhír.</p>\n</section>\n<section id=\"logging\">\n<span id=\"std-setting-LOGGING\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>LOGÁIL ISTEACH ``<a class=\"heading-anchor\" href=\"#logging\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: Foclóir cumraíochta logála.</p>\n<p>Struchtúr sonraí ina bhfuil faisnéis chumraíochta. Nuair nach bhfuil sé folamh, cuirfear ábhar an struchtúir sonraí seo ar aghaidh mar argóint chuig an modh cumraíochta a thuairiscítear in:setting: LOGGING_CONFIG.</p>\n<p>I measc rudaí eile, cuireann an chumraíocht logála réamhshocraithe earráidí freastalaí HTTP 500 chuig láimhseálaí logála ríomhphoist nuai:socrú: “DEBUG” ná False`. Féach freis:ref: configuring-loging.</p>\n<p>Is féidir leat an chumraíocht logála réamhshocraithe a fheiceáil trí fhéachaint isteach: source: django/utils/log.py.</p>\n</section>\n<section id=\"logging-config\">\n<span id=\"std-setting-LOGGING_CONFIG\"></span><h3><code class=\"docutils literal notranslate\">LOGING_CONFIG</code><a class=\"heading-anchor\" href=\"#logging-config\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'Loging.config.dictConfig'</code></p>\n<p>Conair chuig glaoch a úsáidfear chun logáil isteach i dtionscadal Django a chumrú. &lt;logging-config-dictschema&gt;Pointí ag cás de Python's:ref: modh cumraíochta DictConfig de réir réamhshocraithe.</p>\n<p>Má shocraíonn tú: socrú: LOGGING_CONFIG go <code class=\"docutils literal notranslate\">None</code>, scipeánfar an próiseas cumraíochta logála.</p>\n</section>\n<section id=\"managers\">\n<span id=\"std-setting-MANAGERS\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>BAINISTEOIRÍ ``<a class=\"heading-anchor\" href=\"#managers\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Liosta san fhormáid chéanna amha:setting: ADMINS a shonraíonn cé ar chóir fógraí nasc briste a fháil nuai:class: ~django.middleware.common.BrokenLinkemailsMiddleware cumasaithe.</p>\n</section>\n<section id=\"media-root\">\n<span id=\"std-setting-MEDIA_ROOT\"></span><h3><code class=\"docutils literal notranslate\">MEDIA_FRÉAMH</code><a class=\"heading-anchor\" href=\"#media-root\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>Conair iomlán córas comhaid chuig an eolaire a bheidh ina choimeád:doc: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>comhaid uaslódáilte úsáideora <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>. &lt;/topics/files&gt;</p>\n<p>Sampla: <code class=\"docutils literal notranslate\">” /var/www/example.com/media/&quot;</code></p>\n<p>Féach freis:socrú: MEDIA_URL.</p>\n<aside class=\"admonition admonition-warning\" role=\"note\">\n<p class=\"admonition-title\">Warning</p>\n<p><a class=\"reference internal\" href=\"#std-setting-MEDIA_ROOT\"><code class=\"xref std std-setting docutils literal notranslate\">MEDIA_ROOT</code></a> and <a class=\"reference internal\" href=\"#std-setting-STATIC_ROOT\"><code class=\"xref std std-setting docutils literal notranslate\">STATIC_ROOT</code></a> must have different\nvalues. Before <a class=\"reference internal\" href=\"#std-setting-STATIC_ROOT\"><code class=\"xref std std-setting docutils literal notranslate\">STATIC_ROOT</code></a> was introduced, it was common to\nrely or fallback on <a class=\"reference internal\" href=\"#std-setting-MEDIA_ROOT\"><code class=\"xref std std-setting docutils literal notranslate\">MEDIA_ROOT</code></a> to also serve static files;\nhowever, since this can have serious security implications, there is a\nvalidation check to prevent it.</p>\n</aside>\n</section>\n<section id=\"media-url\">\n<span id=\"std-setting-MEDIA_URL\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>MEDIA_URL ``<a class=\"heading-anchor\" href=\"#media-url\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>URL a láimhseálann na meáin a sheirbheáiltear ó:setting: MEDIA_ROOT, a úsáidtear le haghaidh: doc: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>comhaid stóráilte &lt;/topics/files&gt; a bhainistiú. Caithfidh sé deireadh a chur le slasc má tá sé socraithe ar luach neamh-folamh. Beidh ort: ref: <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>na comhaid seo a chumrú le seirbheáil &lt;serving-uploaded-files-in-development&gt;`i dtimpeallachtaí forbartha agus táirgeachta araon.</p>\n<p>Más mian leat <code class=\"docutils literal notranslate\">{{MEDIA_URL}}</code> a úsáid i do theimpléid, cuir <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>django.template.context_processors.media' sa rogha <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>context_processors' de:setting: TEMPLATES.</p>\n<p>Sampla: <code class=\"docutils literal notranslate\">” https://media.example.com/ “</code></p>\n<aside class=\"admonition admonition-warning\" role=\"note\">\n<p class=\"admonition-title\">Warning</p>\n<p>Tá rioscaí slándála ann má tá tú ag glacadh le hábhar uaslódáilte ó úsáideoirí neam Féach ábhar an treoir slándála ar:ref: user-uploaded-content-security le haghaidh sonraí maolaithe.</p>\n</aside>\n<aside class=\"admonition admonition-warning\" role=\"note\">\n<p class=\"admonition-title\">Warning</p>\n<p><a class=\"reference internal\" href=\"#std-setting-MEDIA_URL\"><code class=\"xref std std-setting docutils literal notranslate\">MEDIA_URL</code></a> and <a class=\"reference internal\" href=\"#std-setting-STATIC_URL\"><code class=\"xref std std-setting docutils literal notranslate\">STATIC_URL</code></a> must have different\nvalues. See <a class=\"reference internal\" href=\"#std-setting-MEDIA_ROOT\"><code class=\"xref std std-setting docutils literal notranslate\">MEDIA_ROOT</code></a> for more details.</p>\n</aside>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">Note</p>\n<p>Más: Socrú: Is cosán coibhneasta é MEDIA_URL, ansin déanfar é a réamhshocrú ag an luach <code class=\"docutils literal notranslate\">SCRIPT_NAME</code> a sholáthraíonn an freastalaí (nó <code class=\"docutils literal notranslate\">/</code> mura bhfuil sé socraithe). Fágann sé seo go bhfuil sé níos éasca feidhmchlár Django a sheirbheáil i bhfochonair gan cumraíocht bhreise a chur leis na socruithe.</p>\n</aside>\n</section>\n<section id=\"middleware\">\n<span id=\"std-setting-MIDDLEWARE\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>MEÁN-EARRAÍ ``<a class=\"heading-anchor\" href=\"#middleware\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Liosta de mheán-earraí le húsáid. Féach: doc: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>/topics/http/middleware <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p>\n</section>\n<section id=\"migration-modules\">\n<span id=\"std-setting-MIGRATION_MODULES\"></span><h3><code class=\"docutils literal notranslate\">MODÚL_IMIRCE</code><a class=\"heading-anchor\" href=\"#migration-modules\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">{}</code> (Foclóir folamh)</p>\n<p>Foclóir a shonraíonn an pacáiste inar féidir modúil imirce a fháil ar bhonn in aghaidh an aip. Is foclóir folamh é luach réamhshocraithe an socrú seo, ach is é “imirceacháin” ainm an phacáiste réamhshocraithe do mhodúil imirce.</p>\n<p>Sampla:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"p\">{</span><span class=\"s2\">&quot;blog&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;blog.db_migrations&quot;</span><span class=\"p\">}</span>\n</code></pre></div>\n<p>Sa chás seo, beidh imirce a bhaineann leis an aip <code class=\"docutils literal notranslate\">blog</code> sa phacáiste <code class=\"docutils literal notranslate\">blog.db_migrations</code>.</p>\n<p>Má sholáthraíonn tú an argóint <code class=\"docutils literal notranslate\">app_label</code>, cruthóidh: djadmin: makemigrations an pacáiste go huathoibríoch mura bhfuil sé ann cheana féin.</p>\n<p>Nuair a sholáthraíonn tú <code class=\"docutils literal notranslate\">None</code> mar luach d'aip, measfaidh Django an aip mar aip gan imirce beag beann ar fho-mhodúl <code class=\"docutils literal notranslate\">imirce</code> atá ann cheana. Is féidir é seo a úsáid, mar shampla, i gcomhad socruithe tástála chun imirce a scipeáil agus tú ag tástáil (cruthófar táblaí fós do mhúnlaí na n-aipeanna). Chun imirce do gach aip a dhíchumasú le linn tástálacha, is féidir leat an: socrú: MIGRATE `go `False`&lt;TEST_MIGRATE&gt; ina ionad. Má úsáidtear <code class=\"docutils literal notranslate\">MIGRATION_MODULES</code> i do shocruithe ginearálta tionscadail, cuimhnigh an roghna:option: migration --run-syncdb a úsáid más mian leat táblaí a chruthú don aip.</p>\n</section>\n<section id=\"month-day-format\">\n<span id=\"std-setting-MONTH_DAY_FORMAT\"></span><h3><code class=\"docutils literal notranslate\">FORMÁID_LAETH_MHÍ</code><a class=\"heading-anchor\" href=\"#month-day-format\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'F j'</code></p>\n<p>An formáidiú réamhshocraithe le húsáid le haghaidh réimsí dáta ar leathanaigh liosta athraithe riaracháin Django - agus, b'fhéidir, ag codanna eile den chóras - i gcásanna nach dtaispeántar ach an mhí agus an lá.</p>\n<p>Mar shampla, nuair a bhíonn leathanach liosta athraithe riaracháin Django á scagadh ag druileáil dáta, taispeánann an ceannteideal do lá ar leith an lá agus an mhí. Tá formáidí éagsúla ag áitiúla éagsúla. Mar shampla, déarfadh Béarla na SA “1 Eanáir,” ach d'fhéadfadh an Spáinnis a rá “1 Enero.”</p>\n<p>Tabhair faoi deara go bhfuil tosaíocht níos airde ag an bhformáid chomhfhreagrach áitiúil agus go gcuirfear i bhfeidhm ina ionad.</p>\n<p>&lt;date&gt;Féach: TFilter: teaghráin formáid dáta ceadaithe `. Féach freis:socrú: `DATE_FORMAT, :setting: DATETIME_FORMAT, :setting: TIME_FORMAT agus:setting: YEAR_MONTH_FORMAT.</p>\n</section>\n<section id=\"number-grouping\">\n<span id=\"std-setting-NUMBER_GROUPING\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>UIMHREACH_GHRÚPÁIL ``<a class=\"heading-anchor\" href=\"#number-grouping\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">0</code></p>\n<p>Líon na ndigití atá grúpáilte le chéile ar an gcuid sláireach d'uimhir.</p>\n<p>Úsáid choitianta ná míle deighilteoir a thaispeáint. Más é an socrú seo <code class=\"docutils literal notranslate\">0</code>, ansin ní chuirfear aon ghrúpáil i bhfeidhm ar an uimhir. Má tá an socrú seo níos mó ná 0`, ansin úsáidfear: setting: THOUSAND_SEPARATOR mar an deighilteoir idir na grúpaí sin.</p>\n<p>Úsáideann roinnt áiteanna grúpáil dhigit neamh-aonfhoirmeach, m.sh. <code class=\"docutils literal notranslate\">10,00,00,000</code> i En_in`. Maidir leis an gcás seo, is féidir leat seicheamh a sholáthar le líon na méideanna grúpa dhigit atá le cur i bhfeidhm. Sainmhíníonn an chéad uimhir méid an ghrúpa roimh an teorannach deachúil, agus sainmhíníonn gach uimhir a leanann méid na ngrúpaí roimhe seo. Má chuirtear deireadh leis an seicheamh le <code class=\"docutils literal notranslate\">-1</code>, ní dhéantar aon ghrúpáil bhreise. Má chríochnaíonn an seicheamh le <code class=\"docutils literal notranslate\">0</code>, úsáidtear méid an ghrúpa deireanach don chuid eile den uimhir.</p>\n<p>Sampla tuple le haghaidh <code class=\"docutils literal notranslate\">en_in</code>:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code>NUMBER_GROUPING <span class=\"o\">=</span> <span class=\"p\">(</span><span class=\"mi\">3</span><span class=\"p\">,</span> <span class=\"mi\">2</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">)</span>\n</code></pre></div>\n<p>Tabhair faoi deara go bhfuil tosaíocht níos airde ag an bhformáid áitiúil agus go gcuirfear i bhfeidhm ina ionad sin.</p>\n<p>Féach freis:socrú: DECIMAL_SEPARATOR, :setting: THOUSAND_SEPARATOR agus:setting: USE_THOUSAND_SEPARATOR.</p>\n</section>\n<section id=\"prepend-www\">\n<span id=\"std-setting-PREPEND_WWW\"></span><h3><code class=\"docutils literal notranslate\">PREPEND_WWW</code><a class=\"heading-anchor\" href=\"#prepend-www\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Cibé an ndéanfar an fo-fhearann “www.” a phleanáil chuig URLanna nach bhfuil sé acu. Ní úsáidtear é seo ach má tá: class: ~django.middleware.common.commonMiddleware suiteáilte (féach: doc: /topics/http/middleware). Féach freis:socrú: APPEND_SLASH.</p>\n</section>\n<section id=\"root-urlconf\">\n<span id=\"std-setting-ROOT_URLCONF\"></span><h3><code class=\"docutils literal notranslate\">ROOT_URLCONF</code><a class=\"heading-anchor\" href=\"#root-urlconf\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocrú: Gan sainmhíniú</p>\n<p>Sreang a léiríonn an cosán iomlán allmhairithe Python chuig do URLConf fréimhe, mar shampla <code class=\"docutils literal notranslate\">&quot;mydjangoapps.urls&quot;`. Is féidir é a shárú ar bhonn in aghaidh iarratais tríd an tréith ``urlconf</code> a shocrú ar an réad <code class=\"docutils literal notranslate\">HttpRequest</code> atá ag teacht isteach. Féach: ref: how django-processes-a-request le haghaidh sonraí.</p>\n</section>\n<section id=\"secret-key\">\n<span id=\"std-setting-SECRET_KEY\"></span><h3><code class=\"docutils literal notranslate\">EOCHAIR_RÚNA</code><a class=\"heading-anchor\" href=\"#secret-key\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>&quot;<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Sreang folamh)</p>\n<p>Eochair rúnda do shuiteáil Django áirithe. Úsáidtear é seo chun: doc: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>síniú cripteagrafach' a sholáthar, agus ba chóir é a shocrú go luach u&lt;/topics/signing&gt; athúil, nach féidir a thuar.</p>\n<p><a class=\"reference internal\" href=\"/ga/5.2/ref/django-admin/#django-admin-startproject\"><code class=\"xref std std-djadmin docutils literal notranslate\">django-admin startproject</code></a> automatically adds a\nrandomly-generated <code class=\"docutils literal notranslate\">SECRET_KEY</code> to each new project.</p>\n<p>Níor chóir go nglacfadh úsáidí an eochair leis gur téacs nó beáit é. Ba chóir go mbeadh gach úsáid trí:func: ~django.utils.encoding.force_str nó: func: ~django.utils.encoding.force_bytes chun é a thiontú go dtí an cineál atá ag teastáil.</p>\n<p>Diúltóidh Django tosú mura bhfuil: setting: SECRET_KEY socraithe.</p>\n<aside class=\"admonition admonition-warning\" role=\"note\">\n<p class=\"admonition-title\">Warning</p>\n<p>** Coinnigh an luach seo faoi rún. **</p>\n<p>Scaoileann Django ag rith le: socrú: SECRET_KEY go leor de chosaintí slándála Django, agus d'fhéadfadh méadú pribhléid agus leochaileachtaí forghníomhú iargúlta cód a bheith mar thoradh air.</p>\n</aside>\n<p>Úsáidtear an eochair rúnda le haghaidh:</p>\n<ul class=\"simple\">\n<li><p>All:doc: sessions má tá aon chúltaca seisiúin eile á úsáid agat seachas <code class=\"docutils literal notranslate\">django.contrib.sessions.backends.cache</code> &lt;/topics/http/sessions&gt;, nó má tá tú ag úsáid an réamhshocraithe:meth: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>~django.contrib.auth.models.abstractbaseUser.get_session_auth_hash () <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p></li>\n<li><p>Gach: Doc: teachtaireachtaí `má tá tú ag baint úsáide:class: `~django.contrib.messages.storage.cookie.cookieStorage nó&lt;/ref/contrib/messages&gt; :class: ~django.contrib.messages.storage.fallback.fallbackStorage.</p></li>\n<li><p>Gach: Class: comharthaí ~django.contrib.auth.views.passwordResetView.</p></li>\n<li><p>Aon úsáid ar:doc: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>síniú cripteagrafach', mura gcuirtear eochair dhifriúil ar fáil. &lt;/topics/signing&gt;</p></li>\n</ul>\n<p>Nuair nach bhfuil eochair rúnda socraithe a thuilleadh mar: setting: SECRET_KEY nó atá ann laistigh de: setting: SECRET_KEY_FALLBACKS beidh gach ceann de na rudaí thuas neamhbhailí. Agus do eochair rúnda á rothlú agat, ba chóir duit an sean-eochair a bhogadh chuig: setting: SECRET_KEY_FALLBACKS go sealadach. Ní úsáidtear eochracha rúnda le haghaidh pasfhocail úsáideoirí agus ní bheidh tionchar ag rothlú eochair orthu.</p>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">Note</p>\n<p>&lt;startproject&gt;Cruthaíonn an comhad réamhshocraithe:file: settings.py a chruthaí:djadmin: django-admin startproject `uathúil ``SECRET_KEY` le haghaidh áisiúlachta.</p>\n</aside>\n</section>\n<section id=\"secret-key-fallbacks\">\n<span id=\"std-setting-SECRET_KEY_FALLBACKS\"></span><h3><code class=\"docutils literal notranslate\">EOCHAIR_FALLBACKS</code><a class=\"heading-anchor\" href=\"#secret-key-fallbacks\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code></p>\n<p>Liosta d'eochracha rúnda tagtha le haghaidh suiteáil Django áirithe. Úsáidtear iad seo chun rothlú an <code class=\"docutils literal notranslate\">SECRET_KEY</code> a cheadú.</p>\n<p>D'fhonn d'eochracha rúnda a rothlú, socraigh <code class=\"docutils literal notranslate\">SECRET_KEY</code> nua agus bog an luach roimhe seo go dtí tús <code class=\"docutils literal notranslate\">SECRET_KEY_FALLBACKS</code>. Ansin bain na seanluachanna ó dheireadh an <code class=\"docutils literal notranslate\">SECRET_KEY_FALLBACKS</code> nuair a bheidh tú réidh chun na seisiúin, na comharthaí athshocraithe pasfhocal, agus mar sin de, a úsáideann iad a chur in éag.</p>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">Note</p>\n<p>Tá oibríochtaí sínithe costasach go ríomhaireachta. Cuireann sean-eochrluachanna iolracha agat i <code class=\"docutils literal notranslate\">SECRET_KEY_FALLBACKS</code> lasbhreas breise le gach seiceáil nach n-oireann le heochair níos luaithe.</p>\n<p>Dá bhrí sin, ba cheart luachanna titim a bhaint tar éis tréimhse chuí, rud a cheadaíonn rothlú eochair.</p>\n</aside>\n<p>Níor chóir go nglacfadh úsáidí na príomhluachanna rúnda leis gur téacs nó béite iad. Ba chóir go mbeadh gach úsáid trí:func: ~django.utils.encoding.force_str nó: func: ~django.utils.encoding.force_bytes chun é a thiontú go dtí an cineál atá ag teastáil.</p>\n</section>\n<section id=\"secure-content-type-nosniff\">\n<span id=\"std-setting-SECURE_CONTENT_TYPE_NOSNIFF\"></span><h3><code class=\"docutils literal notranslate\">CINEÁL_ÁBHAR SLÁNDÁILTE_NOSNIFF</code><a class=\"heading-anchor\" href=\"#secure-content-type-nosniff\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Fíor`</p>\n<p>Má tá <code class=\"docutils literal notranslate\">True</code>, socraíonn an:class: ~django.middleware.securityMiddleware ceannteideal: :ref: x-content-type-options ar gach freagra nach bhfuil sé ann cheana féin.</p>\n</section>\n<section id=\"secure-cross-origin-opener-policy\">\n<span id=\"std-setting-SECURE_CROSS_ORIGIN_OPENER_POLICY\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>BEARTAS OSCAILTEOIREACH_THRAS_BUNAIDH SLÁNDÁILTE ``<a class=\"heading-anchor\" href=\"#secure-cross-origin-opener-policy\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a><a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>bhunús céann'</p>\n<p>Mura bhfuil sé socraithe ar <code class=\"docutils literal notranslate\">None</code>, socraíonn an:class: ~django.middleware.securityMiddleware an ceannteideal: :ref: cross-origin-opener-policy ar gach freagra nach bhfuil sé ar an luach a chuirtear ar fáil cheana féin.</p>\n</section>\n<section id=\"secure-hsts-include-subdomains\">\n<span id=\"std-setting-SECURE_HSTS_INCLUDE_SUBDOMAINS\"></span><h3><code class=\"docutils literal notranslate\">SLÁNDA_HSTS_INCLUDE_SUBDOMAINS</code><a class=\"heading-anchor\" href=\"#secure-hsts-include-subdomains\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Má tá <code class=\"docutils literal notranslate\">True</code>, cuireann an:class: ~django.middleware.securityMiddleware an treoir includeSubdomains` leis an gceannteideal: http-strict-transport-security. Níl aon éifeacht aige gan leith:leagtar síos: SECURE_HSTS_SECONDS socraítear go luach neamh-nialasach.</p>\n<aside class=\"admonition admonition-warning\" role=\"note\">\n<p class=\"admonition-title\">Warning</p>\n<p>Má shocraíonn sé seo go mícheart is féidir le do shuíomh a bhriseadh go neamh-inchúlghabháilte (maidir le luach: SETING: SECURE_HSTS_SECONDS). Léigh an doiciméad:ref: http-strict-transport-security ar dtús.</p>\n</aside>\n</section>\n<section id=\"secure-hsts-preload\">\n<span id=\"std-setting-SECURE_HSTS_PRELOAD\"></span><h3><code class=\"docutils literal notranslate\">SLÁNDA_HSTS_PRELOAD</code><a class=\"heading-anchor\" href=\"#secure-hsts-preload\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Má tá <code class=\"docutils literal notranslate\">True</code>, cuireann an:class: ~django.middleware.securityMiddleware an treoir <code class=\"docutils literal notranslate\">preload</code> leis an gceannteideal: http-strict-transport-security. Níl aon éifeacht aige gan leithéid: socraítear SECURE_HSTS_SECONDS go luach neamh-nialasach.</p>\n</section>\n<section id=\"secure-hsts-seconds\">\n<span id=\"std-setting-SECURE_HSTS_SECONDS\"></span><h3><code class=\"docutils literal notranslate\">SLÁNDA_HSTS_SOICIND</code><a class=\"heading-anchor\" href=\"#secure-hsts-seconds\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">0</code></p>\n<p>Má tá luach sláimhir neamh-nialasach leagtha síos, socraíonn an ceannteideal: :ref: http-strict-transport-security ar gach freagra nach bhfuil sé ann cheana féin.</p>\n<aside class=\"admonition admonition-warning\" role=\"note\">\n<p class=\"admonition-title\">Warning</p>\n<p>Is féidir é seo a shocrú go mícheart do shuíomh a bhriseadh go dochreidte (ar feadh tamaill). Léigh an doiciméad:ref: http-strict-transport-security ar dtús.</p>\n</aside>\n</section>\n<section id=\"secure-proxy-ssl-header\">\n<span id=\"std-setting-SECURE_PROXY_SSL_HEADER\"></span><h3><code class=\"docutils literal notranslate\">SLÁNT_PROXY_SSL_HEADER</code><a class=\"heading-anchor\" href=\"#secure-proxy-ssl-header\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Tuple a léiríonn teaglaim ceannair/luach HTTP a thugann le fios go bhfuil iarratas slán. Rialaíonn sé seo iompar modh <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>is_secure () <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>an réad iarratais.</p>\n<p>De réir réamhshocraithe, cinneann <code class=\"docutils literal notranslate\">is_secure () ``an bhfuil iarratas slán trí dheimhniú go n-úsáideann URL iarrtha ``https: //</code>. Tá an modh seo tábhachtach do chosaint CSRF Django, agus féadfaidh do chód féin nó aipeanna tríú páirtí é a úsáid.</p>\n<p>Má tá d'aip Django taobh thiar de sheachfhreastalaí, áfach, b'fhéidir go bhfuil an seachfhreastalaí ag “shlogadh” cibé an úsáideann an t-iarratas bunaidh HTTPS nó nach Má tá nasc neamh-HTTPS idir an seachfhreastalaí agus Django ansin chuirfeadh <code class=\"docutils literal notranslate\">is_secure () ``ar ais ``False</code> i gcónaí - fiú le haghaidh iarratais a rinne an t-úsáideoir deiridh trí HTTPS. I gcodarsnacht leis sin, má tá nasc HTTPS idir an seachfhreastalaí agus Django ansin chuirfeadh <code class=\"docutils literal notranslate\">is_secure () ``ar ais ``True</code> i gcónaí - fiú le haghaidh iarratais a rinneadh ar dtús trí HTTP.</p>\n<p>Sa chás seo, cumraigh do sheachfhreastalaí chun ceanntásc saincheaptha HTTP a shocrú a insíonn do Django an tháinig an t-iarratas isteach trí HTTPS, agus socraigh <code class=\"docutils literal notranslate\">SECURE_PROXY_SSL_HEADER</code> ionas go mbeidh a fhios ag Django cén ceannteideal atá le lorg.</p>\n<p>Socraigh tuple le dhá ghné - ainm an cheanntásc le cuardach agus an luach riachtanach. Mar shampla:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code>SECURE_PROXY_SSL_HEADER <span class=\"o\">=</span> <span class=\"p\">(</span><span class=\"s2\">&quot;HTTP_X_FORWARDED_PROTO&quot;</span><span class=\"p\">,</span> <span class=\"s2\">&quot;https&quot;</span><span class=\"p\">)</span>\n</code></pre></div>\n<p>Deir sé seo le Django muinín a bheith agat as an gceannteideal <code class=\"docutils literal notranslate\">X-Forwarded-Proto</code> a thagann ónár seachfhreastalaí agus go ráthaítear go mbeidh an t-iarratas slán (ie, tháinig sé isteach ar dtús trí HTTPS) nuair:</p>\n<ul class=\"simple\">\n<li><p>is é an luach ceanntásc <code class=\"docutils literal notranslate\">'https'</code>, nó</p></li>\n<li><p>is é a luach tosaigh, is clé ná <code class=\"docutils literal notranslate\">'https'</code> i gcás liosta prótacail scartha le camóg (m.sh. <code class=\"docutils literal notranslate\">`https, http, http'</code>).</p></li>\n</ul>\n<p>Ba chóir duit* ach an socrú seo a shocrú má rialaíonn tú do sheachfhreastalaí nó má tá ráthaíocht éigin eile agat go socraí/stiallann sé an ceannteideal seo go cuí.</p>\n<p>Tabhair faoi deara go gcaithfidh an ceannteideal a bheith sa fhormáid mar a úsáideann <code class=\"docutils literal notranslate\">Request.meta</code> - gach caipín agus is dócha go dtosaíonn le <code class=\"docutils literal notranslate\">HTTP_</code>. (Cuimhnigh, cuireann Django <code class=\"docutils literal notranslate\">'HTTP_'</code> go huathoibríoch le tús ainmneacha x-cheannteideal sula gcuireann an ceannteideal ar fáil i <code class=\"docutils literal notranslate\">Request.meta</code>.)</p>\n<aside class=\"admonition admonition-warning\" role=\"note\">\n<p class=\"admonition-title\">Warning</p>\n<p>** Féadfaidh an socrú seo a mhodhnú slándáil do shuíomh a chur i gcur Cinntigh go dtuigeann tú do shocrú go hiomlán sula n-athraíonn tú **</p>\n<p>Déan cinnte go bhfuil GACH ceann de na rudaí seo a leanas fíor sula gcuirtear é seo a shocrú (glacadh leis na luachanna ón sampla thuas</p>\n<ul class=\"simple\">\n<li><p>Tá d'aip Django taobh thiar de sheachfhreastalaí.</p></li>\n<li><p>Stíorálann do sheachfhreastalaí an ceannteideal <code class=\"docutils literal notranslate\">X-Forwarded-Proto</code> ó gach iarratas atá ag teacht isteach, fiú nuair a bhíonn liosta prótacail scartha le camóg ann. Is é sin le rá, má chuimsíonn úsáideoirí deiridh an ceanntásc sin ina n-iarratais, caithfidh an seachfhreastalaí é.</p></li>\n<li><p>Socraíonn do sheachfhreastalaí an ceannteideal <code class=\"docutils literal notranslate\">X-Forwarded-Proto</code> agus seolann sé chuig Django é, ach amháin le haghaidh iarratais a thagann isteach trí HTTPS ar dtús.</p></li>\n</ul>\n<p>Mura bhfuil aon cheann acu sin fíor, ba cheart duit an socrú seo a choinneáil socraithe go <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>None <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>agus bealach eile a fháil chun HTTPS a chinneadh, b'fhéidir trí mheán-earraí saincheaptha.</p>\n</aside>\n</section>\n<section id=\"secure-redirect-exempt\">\n<span id=\"std-setting-SECURE_REDIRECT_EXEMPT\"></span><h3><code class=\"docutils literal notranslate\">SLÁNDA_ATHREDIRECT_EISEOLÚINT</code><a class=\"heading-anchor\" href=\"#secure-redirect-exempt\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Má mheaitseálann cosán URL le léiriú rialta sa liosta seo, ní atreorófar an t-iarratas chuig HTTPS. Stíleann an: Class: ~django.middleware.security.securityMiddleware slascanna a threoraíonn ó chosáin URL, mar sin níor cheart iad a bheith san áireamh ar phatrúin, m.sh. SECURE_REDIRECT_EXEMPT = [r'^no-ssl/$',...] `. Má tá: SETTING: SECURE_SSL_REDIRECT <code class=\"docutils literal notranslate\">False</code>, níl aon éifeacht ag an socrú seo.</p>\n</section>\n<section id=\"secure-referrer-policy\">\n<span id=\"std-setting-SECURE_REFERRER_POLICY\"></span><h3><code class=\"docutils literal notranslate\">BEARTAS ATREORÓIR_SLÁNDÁLA</code><a class=\"heading-anchor\" href=\"#secure-referrer-policy\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a><a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>bhunús céann'</p>\n<p>Má tá sé cumraithe, socraíonn an:class: ~django.middleware.securityMiddleware an ceannteideal: ref: referrer-policy ar gach freagra nach bhfuil sé ar an luach a chuirtear ar fáil cheana féin.</p>\n</section>\n<section id=\"secure-ssl-host\">\n<span id=\"std-setting-SECURE_SSL_HOST\"></span><h3><code class=\"docutils literal notranslate\">SSL_ÓST_SÁBHÁILTE</code><a class=\"heading-anchor\" href=\"#secure-ssl-host\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Má tá teaghrán ann (m.sh. secure.example.com`), déanfar gach athsheoladh SSL a threorú chuig an óstach seo seachas an t-óstach a iarrtar bunaidh (m.sh. <code class=\"docutils literal notranslate\">www.example.com</code>). Má tá: SETTING: SECURE_SSL_REDIRECT <code class=\"docutils literal notranslate\">False</code>, níl aon éifeacht ag an socrú seo.</p>\n</section>\n<section id=\"secure-ssl-redirect\">\n<span id=\"std-setting-SECURE_SSL_REDIRECT\"></span><h3><code class=\"docutils literal notranslate\">SECURE_SSL_REDIRECT</code><a class=\"heading-anchor\" href=\"#secure-ssl-redirect\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>&lt;ssl-redirect&gt;Má tá <code class=\"docutils literal notranslate\">True</code>, an:class: <span class=\"xref std std-ref\">~django.middleware.securityMiddleware</span> atreoraíonn `gach iarratas neamh-HTTPS chuig HTTPS (ach amháin na URLanna sin a mheaitseálann le abairt rialta atá liostaithe in:setting: `SECURE_REDIRECT_EXEMPT).</p>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">Note</p>\n<p>Má chruthaíonn athatreoruithe gan teorainn é seo a chasadh go True`, is dócha go bhfuil do shuíomh ag rith taobh thiar de seachfhreastalaí agus nach féidir leo a rá cé na hiarratais atá slán agus cé nach bhfuil. Is dócha go socraíonn do sheachfhreastalaí ceanntásc chun iarrataí slán a chur in iúl; is féidir leat an fhadhb a cheartú trí fháil amach cad é an ceannteideal sin agus an socrú:setting: SECURE_PROXY_SSL_HEADER a chumrú dá réir.</p>\n</aside>\n</section>\n<section id=\"serialization-modules\">\n<span id=\"std-setting-SERIALIZATION_MODULES\"></span><h3><code class=\"docutils literal notranslate\">MODÚL_SRAITHEACH</code><a class=\"heading-anchor\" href=\"#serialization-modules\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocrú: Gan sainmhíniú</p>\n<p>Foclóir modúil ina bhfuil sainmhínithe serializer (curtha ar fáil mar teaghráin), eochairte ag aitheantóir teaghrán don chineál sraitheach sin. Mar shampla, chun serializer YAML a shainiú, bain úsáid as:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code>SERIALIZATION_MODULES <span class=\"o\">=</span> <span class=\"p\">{</span><span class=\"s2\">&quot;yaml&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;path.to.yaml_serializer&quot;</span><span class=\"p\">}</span>\n</code></pre></div>\n</section>\n<section id=\"server-email\">\n<span id=\"std-setting-SERVER_EMAIL\"></span><h3><code class=\"docutils literal notranslate\">FREASTALAÍ_RÍOMHPHOST</code><a class=\"heading-anchor\" href=\"#server-email\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'root &#64;localhost '</code></p>\n<p>An seoladh ríomhphoist as a dtagann teachtaireachtaí earráide, mar shampla iad siúd a sheoltar chuig:setting: ADMINS agus:setting: MANAGERS. Úsáidtear an seoladh seo sa cheanntásc <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>From: <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>agus féadann sé aon fhormáid a ghlacadh bailí sa phrótacal seolta ríomhphoist roghnaithe.</p>\n<aside class=\"admonition-why-are-my-emails-sent-from-a-different-address admonition\" role=\"note\">\n<p class=\"admonition-title\">Cén fáth a sheoltar mo ríomhphoist ó sheoladh difriúil?</p>\n<p>This address is used only for error messages. It is <em>not</em> the address that\nregular email messages sent with <a class=\"reference internal\" href=\"/ga/5.2/topics/email/#django.core.mail.send_mail\" title=\"django.core.mail.send_mail\"><code class=\"xref py py-func docutils literal notranslate\">send_mail()</code></a>\ncome from; for that, see <a class=\"reference internal\" href=\"#std-setting-DEFAULT_FROM_EMAIL\"><code class=\"xref std std-setting docutils literal notranslate\">DEFAULT_FROM_EMAIL</code></a>.</p>\n</aside>\n</section>\n<section id=\"short-date-format\">\n<span id=\"std-setting-SHORT_DATE_FORMAT\"></span><h3><code class=\"docutils literal notranslate\">FORMÁID_DÁTA_GEARR</code><a class=\"heading-anchor\" href=\"#short-date-format\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">`M/D/Y'</code> (m.sh. <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>12/31/2003 <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>)</p>\n<p>Formáidiú atá ar fáil is féidir a úsáid chun réimsí dáta a thaispeáint ar theimpléid. Tabhair faoi deara go bhfuil tosaíocht níos airde ag an bhformáid chomhfhreagrach áitiúil agus go gcuirfear i bhfeidhm ina ionad. &lt;date&gt;Féach: TFilter: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>teaghráin formáid dáta ceadaithe <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p>\n<p>Féach freis:socrú: DATE_FORMAT agus:socrú: SHORT_DATETIME_FORMAT.</p>\n</section>\n<section id=\"short-datetime-format\">\n<span id=\"std-setting-SHORT_DATETIME_FORMAT\"></span><h3><code class=\"docutils literal notranslate\">FORMÁID_DÁTA GEARRTHA</code><a class=\"heading-anchor\" href=\"#short-datetime-format\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">`M/D/Y P'</code> (m.sh. <code class=\"docutils literal notranslate\">12/31/2003 4 p.m.</code>)</p>\n<p>Formáidiú atá ar fáil is féidir a úsáid chun réimsí dáta-ama a thaispeáint ar theimpléid. Tabhair faoi deara go bhfuil tosaíocht níos airde ag an bhformáid chomhfhreagrach áitiúil agus go gcuirfear i bhfeidhm ina ionad. &lt;date&gt;Féach: TFilter: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>teaghráin formáid dáta ceadaithe <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p>\n<p>Féach freis:socrú: DATE_FORMAT agus:socrú: SHORT_DATE_FORMAT.</p>\n</section>\n<section id=\"signed-cookie-legacy-salt-fallback\">\n<span id=\"std-setting-SIGNED_COOKIE_LEGACY_SALT_FALLBACK\"></span><h3><code class=\"docutils literal notranslate\">SIGNED_COOKIE_LEGACY_SALT_FALLBACK</code><a class=\"heading-anchor\" href=\"#signed-cookie-legacy-salt-fallback\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<aside class=\"version-note version-added\" data-version=\"5.2.15\" role=\"note\">\n<p class=\"version-note-title\">New in Django 5.2.15</p></aside>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Fíor`</p>\n<p>Controls whether <a class=\"reference internal\" href=\"/ga/5.2/ref/request-response/#django.http.HttpRequest.get_signed_cookie\" title=\"django.http.HttpRequest.get_signed_cookie\"><code class=\"xref py py-meth docutils literal notranslate\">get_signed_cookie()</code></a> accepts\ncookies signed with Django's historical signed-cookie salt derivation based on\n<code class=\"docutils literal notranslate\">key + salt</code>.</p>\n<p>Set this to <code class=\"docutils literal notranslate\">False</code> to reject those legacy signed cookies and only accept\ncookies signed with Django's current unambiguous signed-cookie salt derivation.\nThis transitional setting will be removed in Django 7.0, when the legacy signed\ncookies will no longer be accepted.</p>\n</section>\n<section id=\"signing-backend\">\n<span id=\"std-setting-SIGNING_BACKEND\"></span><h3><code class=\"docutils literal notranslate\">`SIGNING_BACKEND</code><a class=\"heading-anchor\" href=\"#signing-backend\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Django.Core.Signing.TimeStampSigner'` `</p>\n<p>An cúltaca a úsáidtear chun fianáin agus sonraí eile a shíniú.</p>\n<p>Féach freisin an doiciméadach:doc: /topics/signing.</p>\n</section>\n<section id=\"silenced-system-checks\">\n<span id=\"std-setting-SILENCED_SYSTEM_CHECKS\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>SEICEÁLACH_CHÓRAIS CIOSTAITHE ``<a class=\"heading-anchor\" href=\"#silenced-system-checks\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Liosta d'aitheantóirí teachtaireachtaí a ghineann creat seiceála an chórais (ie <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>[&quot;Models.W001&quot;] <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>) ar mhaith leat aitheantas a thabhairt go buan agus neamhaird a dhéanamh orthu. Ní aschur seiceálacha ciúnaithe chuig an gconsól.</p>\n<p>Féach freisin an doiciméadach:doc: /ref/checks.</p>\n</section>\n<section id=\"storages\">\n<span id=\"std-setting-STORAGES\"></span><h3><code class=\"docutils literal notranslate\">STÓRÁLAÍ</code><a class=\"heading-anchor\" href=\"#storages\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"p\">{</span>\n    <span class=\"s2\">&quot;default&quot;</span><span class=\"p\">:</span> <span class=\"p\">{</span>\n        <span class=\"s2\">&quot;BACKEND&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;django.core.files.storage.FileSystemStorage&quot;</span><span class=\"p\">,</span>\n    <span class=\"p\">},</span>\n    <span class=\"s2\">&quot;staticfiles&quot;</span><span class=\"p\">:</span> <span class=\"p\">{</span>\n        <span class=\"s2\">&quot;BACKEND&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;django.contrib.staticfiles.storage.StaticFilesStorage&quot;</span><span class=\"p\">,</span>\n    <span class=\"p\">},</span>\n<span class=\"p\">}</span>\n</code></pre></div>\n<p>Foclóir ina bhfuil na socruithe do gach stóráil le húsáid le Django. Is foclóir neadaithe é a léarscáil a n-ábhar ailias stórála chuig foclóir ina bhfuil na roghanna le haghaidh stórála aonair.</p>\n<p>Is féidir le stórais aon alias a roghnaíonn tú a bheith acu. Mar sin féin, tá dhá ainm le tábhacht speisialta:</p>\n<ul class=\"simple\">\n<li><p><code class=\"docutils literal notranslate\">default</code> le haghaidh: doc: <code class=\"xref py py-class docutils literal notranslate\">comhaid a bhainistiú' &lt;/topics/files&gt;. ``````</code> Django.Core.Files.Storage.FileSystemStorage<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a><a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>is é an t-inneall stórála réamhshocraithe.</p></li>\n<li><p><code class=\"docutils literal notranslate\">staticfiles</code> le haghaidh: doc: <code class=\"xref py py-class docutils literal notranslate\">comhaid statacha a bhainistiú' &lt;/ref/contrib/staticfiles&gt;. ``````</code> Django.contrib.staticFiles.Storage.staticFilesStorage<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a><a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>is é an t-inneall stórála réamhshocraithe.</p></li>\n</ul>\n<p>Seo a leanas sampla <code class=\"docutils literal notranslate\">settings.py</code> snippet a shainmhíníonn stóráil comhaid saincheaptha ar a dtugtar <code class=\"docutils literal notranslate\">example</code>:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code>STORAGES <span class=\"o\">=</span> <span class=\"p\">{</span>\n    <span class=\"c1\"># ...</span>\n    <span class=\"s2\">&quot;example&quot;</span><span class=\"p\">:</span> <span class=\"p\">{</span>\n        <span class=\"s2\">&quot;BACKEND&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;django.core.files.storage.FileSystemStorage&quot;</span><span class=\"p\">,</span>\n        <span class=\"s2\">&quot;OPTIONS&quot;</span><span class=\"p\">:</span> <span class=\"p\">{</span>\n            <span class=\"s2\">&quot;location&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;/example&quot;</span><span class=\"p\">,</span>\n            <span class=\"s2\">&quot;base_url&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;/example/&quot;</span><span class=\"p\">,</span>\n        <span class=\"p\">},</span>\n    <span class=\"p\">},</span>\n<span class=\"p\">}</span>\n</code></pre></div>\n<p>Cuirtear <code class=\"docutils literal notranslate\">ROGHANN</code> chuig an BACKEND` ar thionscnamh i **kwargs`.</p>\n<p>Is féidir sampla réidh le húsáid de na cúltaca stórála a aisghabháil ó:data: django.core.files.storage.storages. Úsáid eochair a fhreagraíonn don sainmhíniú cúltaca in:setting: STORAGES.</p>\n<aside class=\"admonition-is-my-value-merged-with-the-default-value admonition\" role=\"note\">\n<p class=\"admonition-title\">An bhfuil mo luach cumaisc leis an luach réamhshocraithe?</p>\n<p>Sáraíonn an socrú seo a shainiú an luach réamhshocraithe agus níl* níl* cumasc leis.</p>\n</aside>\n</section>\n<section id=\"templates\">\n<span id=\"std-setting-TEMPLATES\"></span><h3><code class=\"docutils literal notranslate\">TEIMPLÉID</code><a class=\"heading-anchor\" href=\"#templates\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Liosta ina bhfuil na socruithe do gach innill teimpléad le húsáid le Django. Is foclóir é gach mír den liosta ina bhfuil na roghanna le haghaidh inneall aonair.</p>\n<p>Seo socrú a insíonn d'inneall teimpléid Django teimpléid a luchtú ón bhfo-eolaire <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>teimpléid <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>taobh istigh de gach feidhmchlár suiteáilte:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code>TEMPLATES <span class=\"o\">=</span> <span class=\"p\">[</span>\n    <span class=\"p\">{</span>\n        <span class=\"s2\">&quot;BACKEND&quot;</span><span class=\"p\">:</span> <span class=\"s2\">&quot;django.template.backends.django.DjangoTemplates&quot;</span><span class=\"p\">,</span>\n        <span class=\"s2\">&quot;APP_DIRS&quot;</span><span class=\"p\">:</span> <span class=\"kc\">True</span><span class=\"p\">,</span>\n    <span class=\"p\">},</span>\n<span class=\"p\">]</span>\n</code></pre></div>\n<p>Tá na roghanna seo a leanas ar fáil do gach cúltaca.</p>\n<section id=\"std-setting-TEMPLATES-BACKEND\">\n<span id=\"id6\"></span><h4><code class=\"docutils literal notranslate\">`CÚLT</code><a class=\"heading-anchor\" href=\"#std-setting-TEMPLATES-BACKEND\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocrú: Gan sainmhíniú</p>\n<p>An cúltaca teimpléad le húsáid. Is iad na cúltaca teimpléad ionsuite:</p>\n<ul class=\"simple\">\n<li><p><code class=\"docutils literal notranslate\">`Django.Template.Backends.Django.DjangoTemplates'</code></p></li>\n<li><p><code class=\"docutils literal notranslate\">`Django.Template.Backends.Jinja2.Jinja2'</code></p></li>\n</ul>\n<p>Is féidir leat cúltaca teimpléad nach seolann le Django a úsáid trí <code class=\"docutils literal notranslate\">BACKEND</code> a shocrú go cosán láncháilithe (ie <code class=\"docutils literal notranslate\">`MyPackage.whatever.backend'</code>).</p>\n</section>\n<section id=\"std-setting-TEMPLATES-NAME\">\n<span id=\"id7\"></span><h4><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>AINM `<a class=\"heading-anchor\" href=\"#std-setting-TEMPLATES-NAME\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: féach thíos</p>\n<p>An alias don inneall teimpléad áirithe seo. Is aitheantóir é a cheadaíonn inneall a roghnú le haghaidh rindreála. Caithfidh ainmneacha a bheith uathúil ar fud gach innill teimpléad cumraithe</p>\n<p>Réamhshocraíonn sé ainm an mhodúil a shainníonn rang an innill, i.e. an chéad phíosa deireanach de: setting: BACKEND &lt;TEMPLATES-BACKEND&gt;, nuair nach gcuirtear ar fáil é. Mar shampla más é <code class=\"docutils literal notranslate\">'MyPackage.whatever.backend'</code> an cúltaca ansin is é <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>whatever'` a ainm réamhshocraithe.</p>\n</section>\n<section id=\"dirs\">\n<span id=\"std-setting-TEMPLATES-DIRS\"></span><h4><code class=\"docutils literal notranslate\">`DIRS</code><a class=\"heading-anchor\" href=\"#dirs\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Eolairí inar chóir don inneall comhaid foinse teimpléad a lorg, in ord cuardaigh.</p>\n</section>\n<section id=\"app-dirs\">\n<span id=\"std-setting-TEMPLATES-APP_DIRS\"></span><h4><code class=\"docutils literal notranslate\">APP_DIRS</code><a class=\"heading-anchor\" href=\"#app-dirs\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Cibé an chóir don inneall comhaid foinse teimpléad a lorg taobh istigh d'fheidhmchlá</p>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">Note</p>\n<p>&lt;startproject&gt;Leagann an comhad réamhshocraithe:file: settings.py a chruthaí:djadmin: django-admin startproject ````APP_DIRS': True`.</p>\n</aside>\n</section>\n<section id=\"std-setting-TEMPLATES-OPTIONS\">\n<span id=\"id8\"></span><h4><code class=\"docutils literal notranslate\">ROGHANNAÍ</code><a class=\"heading-anchor\" href=\"#std-setting-TEMPLATES-OPTIONS\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">{}</code> (Ordú folamh)</p>\n<p>Paraiméadair bhreise le dul chuig an gcúltaca teimpléid. Athraíonn paraiméadair atá ar fáil ag brath ar an gcúl teimpléid Féach: Class: ~django.template.backends.django.djangoTemplates agus:class: ~django.template.backends.jinja2.jinja2 le haghaidh roghanna na gcúltaca ionsuite.</p>\n</section>\n</section>\n<section id=\"test-runner\">\n<span id=\"std-setting-TEST_RUNNER\"></span><h3><code class=\"docutils literal notranslate\">TÁST_RUNNER</code><a class=\"heading-anchor\" href=\"#test-runner\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Django.Test.Runner.DiscoverRunner'` `</p>\n<p>Ainm an ranga le húsáid chun an tsraith tástála a thosú. Féach: ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>creataí tástála eile'.</p>\n</section>\n<section id=\"test-non-serialized-apps\">\n<span id=\"std-setting-TEST_NON_SERIALIZED_APPS\"></span><h3><code class=\"docutils literal notranslate\">TÁSTÁIL_NEAM_AIPEANNA SRAITHEACH</code><a class=\"heading-anchor\" href=\"#test-non-serialized-apps\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>D'fhonn stát an bunachar sonraí a athbhunú idir tástálacha do TransactionTestCase` agus cúltaca bunachar sonraí gan idirbhearta, déanfaidh Django: ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>sraitheadh ábhar na n-aipeanna uile &lt;test-case-serialized-rollback&gt;`nuair a thosaíonn sé an rith tástála ionas gur féidir leis an gcóip sin a athluchtú sula ndéanann sé tástálacha a theastaíonn uathu.</p>\n<p>Moillíonn sé seo am tosaithe an rádálaí tástála; má tá aipeanna agat a fhios uait nach dteastaíonn an ghné seo uathu, is féidir leat a n-ainmneacha iomlána a chur anseo (m.sh. <code class=\"docutils literal notranslate\">django.contrib.contenttypes</code>) chun iad a eisiamh ón bpróiseas sraitheach seo.</p>\n</section>\n<section id=\"thousand-separator\">\n<span id=\"std-setting-THOUSAND_SEPARATOR\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>MÍLTE DEIGHILTEOIR ``<a class=\"heading-anchor\" href=\"#thousand-separator\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>', '<a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>(Coma)</p>\n<p>Míle deighilteoir réamhshocraithe a úsáidtear agus u Ní úsáidtear an socrú seo ach nuair:setting: USE_THOUSAND_SEPARATOR <code class=\"docutils literal notranslate\">True</code> agus:setting: NUMBER_GROUPING níos mó ná <code class=\"docutils literal notranslate\">0</code>.</p>\n<p>Tabhair faoi deara go bhfuil tosaíocht níos airde ag an bhformáid áitiúil agus go gcuirfear i bhfeidhm ina ionad sin.</p>\n<p>Féach freis:socrú: NUMBER_GROUPING, :setting: DECIMAL_SEPARATOR agus:setting: USE_THOUSAND_SEPARATOR.</p>\n</section>\n<section id=\"time-format\">\n<span id=\"std-setting-TIME_FORMAT\"></span><h3><code class=\"docutils literal notranslate\">FORMÁID_AIM</code><a class=\"heading-anchor\" href=\"#time-format\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'P'</code> (m.sh. <code class=\"docutils literal notranslate\">4 p.m.</code>)</p>\n<p>An formáidiú réamhshocraithe le húsáid chun réimsí ama a thaispeáint in aon chuid den chóras. Tabhair faoi deara go bhfuil tosaíocht níos airde ag an bhformáid áitiúil agus go gcuirfear i bhfeidhm ina ionad sin. &lt;date&gt;Féach: TFilter: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>teaghráin formáid dáta ceadaithe <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>.</p>\n<p>Féach freis:socrú: DATE_FORMAT agus:socrú: DATETIME_FORMAT.</p>\n</section>\n<section id=\"time-input-formats\">\n<span id=\"std-setting-TIME_INPUT_FORMATS\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>FORMÁID_IONCHUIR_AMA ``<a class=\"heading-anchor\" href=\"#time-input-formats\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"p\">[</span>\n    <span class=\"s2\">&quot;%H:%M:%S&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;14:30:59&#39;</span>\n    <span class=\"s2\">&quot;%H:%M:%S.</span><span class=\"si\">%f</span><span class=\"s2\">&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;14:30:59.000200&#39;</span>\n    <span class=\"s2\">&quot;%H:%M&quot;</span><span class=\"p\">,</span>  <span class=\"c1\"># &#39;14:30&#39;</span>\n<span class=\"p\">]</span>\n</code></pre></div>\n<p>Liosta de na formáidí a nglacfar leo agus sonraí á ionchur isteach ar réimse ama. Déanfar triail a bhaint as formáidí in ord, ag baint úsáide as an gcéad cheann bailí. Tabhair faoi deara go n-úsáideann na teaghráin formáide seo comhréir modúl Python: ref: datetime '&lt;strftime-strptime-behavior&gt;, ní na teaghráin formáide ón scagaire teimpléad:tfilter: `dáta.</p>\n<p>Tá tosaíocht níos airde ag an bhformáid áitiúil agus cuirfear i bhfeidhm ina ionad sin.</p>\n<p>Féach freisin: socrú: DATE_INPUT_FORMATS agus:setting: DATETIME_INPUT_FORMATS.</p>\n</section>\n<section id=\"std-setting-TIME_ZONE\">\n<span id=\"id9\"></span><h3><code class=\"docutils literal notranslate\">CRIOS_AMA</code><a class=\"heading-anchor\" href=\"#std-setting-TIME_ZONE\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'Meiriceá/Chicago'</code></p>\n<p>Sreang a léiríonn an crios ama don suiteáil seo. Féach an <a class=\"reference external\" href=\"https://en.wikipedia.org/wiki/List_of_tz_database_time_zones\">liosta criosanna ama</a>.</p>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">Note</p>\n<p>Ós rud é gur eisíodh Django den chéad uair leis an: setting: TIME_ZONE socraithe go <code class=\"docutils literal notranslate\">'America/Chicago'`, fanann an suíomh domhanda (a úsáidtear mura bhfuil aon rud sainmhínithe i `settings.py</code> do thionscadail) <code class=\"docutils literal notranslate\">Meiricea/Chicago'` le haghaidh comhoiriúnacht ar ais. Teimpléid nua tionscadail réamhshocraithe go ``'UTC'</code>.</p>\n</aside>\n<p>Tabhair faoi deara nach gá gurb é seo crios ama an fhreastalaí. Mar shampla, féadfaidh freastalaí amháin freastal ar iliomad suíomhanna faoi thiomáint Django, gach ceann acu le socrú crios ama ar leithligh.</p>\n<p>Nuair: SETTING: Is é USE_TZ <code class=\"docutils literal notranslate\">False</code>, is é seo an crios ama ina stóráilfidh Django gach dáta ama. Nuair: SETTING: Is é USE_TZ <code class=\"docutils literal notranslate\">True</code>, is é seo an crios ama réamhshocraithe a úsáidfidh Django chun dáta-amanna a thaispeáint i dteimpléid agus chun dáta a iontráiltear i bhfoirmeacha a léirmhíniú.</p>\n<p>Ar thimpeallachtaí Unix (áit a chuirtear: func: time.tzset i bhfeidhm), socraíonn Django an athróg <code class=\"docutils literal notranslate\">os.environ ['TZ'] ``don chrios ama a shonraíonn tú sa socrú: `TIME_ZONE`. Mar sin, oibreoidh do thuairimí agus samhlacha go léir go huathoibríoch sa chrios ama seo. &lt;settings-without-django-settings-module&gt;Mar sin féin, ní shocróidh Django an t-athróg comhshaoil ``TZ</code> má tá an rogha cumraíochta láimhe á úsáid agat mar a thuairiscítear in:ref: socruithe a chumrú de láimh `. Mura socraíonn Django an t-athróg comhshaoil ``TZ, is fútsa atá sé a chinntiú go bhfuil do phróisis ag rith sa timpeallacht cheart.</p>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">Note</p>\n<p>Ní féidir le Django criosanna ama malartacha a úsáid go hiontaofa i dtimpeallacht Windows. Má tá Django á reáchtáil agat ar Windows, caithfear :setting: TIME_ZONE a shocrú chun crios ama an chórais a mheaitseáil.</p>\n</aside>\n</section>\n<section id=\"use-i18n\">\n<span id=\"std-setting-USE_I18N\"></span><h3><code class=\"docutils literal notranslate\">USE_I18N</code><a class=\"heading-anchor\" href=\"#use-i18n\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Fíor`</p>\n<p>Boolean a shonraíonn an chóir córas aistriúcháin Django a chumasú. Soláthraíonn sé seo bealach chun é a mhúchadh, le haghaidh feidhmíochta. Má shocraítear é seo go False, déanfaidh Django roinnt optamaithe ionas nach luchtfaidh sé an t-innealra aistriúcháin.</p>\n<p>Féach freis:socrú: LANGUAGE_CODE agus:socrú: USE_TZ.</p>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">Note</p>\n<p>&lt;startproject&gt;Cuimsíonn an comhad réamhshocraithe:file: settings.py a chruthaí:djadmin: django-admin startproject ```USE_I18N = True` le haghaidh áisiúlachta.</p>\n</aside>\n</section>\n<section id=\"use-thousand-separator\">\n<span id=\"std-setting-USE_THOUSAND_SEPARATOR\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>ÚSÁID_MÍLTE DEIGHILTEOIR ``<a class=\"heading-anchor\" href=\"#use-thousand-separator\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Boolean a shonraíonn an bhfuil uimhreacha le taispeáint ag baint úsáide as míle deighilteoir. Nuair a bheidh sé socraithe go <code class=\"docutils literal notranslate\">True</code>, déanfaidh Django uimhreacha a fhormáidiú ag baint úsáide as socruithe:: NUMBER_GROUPING agus:setting: THOUSAND_SEPARATOR. Is féidir leis an áitiúil a shocrú an dá shocrú deireanach freisin, a ghlacann tosaíocht.</p>\n<p>Féach freis:socrú: DECIMAL_SEPARATOR, :setting: NUMBER_GROUPING agus:setting: THOUSAND_SEPARATOR.</p>\n</section>\n<section id=\"use-tz\">\n<span id=\"std-setting-USE_TZ\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>ÚSÁID_TZ ``<a class=\"heading-anchor\" href=\"#use-tz\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Fíor`</p>\n<p>Boolean a shonraíonn an mbeidh amanna dáta ar an eolas ó chrios ama de réir réamhshocraithe nó nach bhfuil. Má tá sé seo socraithe go <code class=\"docutils literal notranslate\">True</code>, úsáidfidh Django amanna dáta atá ar an eolas faoi chrios ama go hinmheánach.</p>\n<p>Nuair a bhíonn USE_TZ` bréagach, úsáidfidh Django amanna dáta naif in am áitiúil, ach amháin nuair a dhéantar teaghráin formáidithe ISO 8601 á pháirseáil, áit a gcoinneofar faisnéis crios ama i gcónaí má tá sé i láthair.</p>\n<p>Féach freis:socrú: TIME_ZONE agus:socrú: USE_I18N.</p>\n</section>\n<section id=\"use-x-forwarded-host\">\n<span id=\"std-setting-USE_X_FORWARDED_HOST\"></span><h3><code class=\"docutils literal notranslate\">ÚSÁID_X_FORWARDED_ÓST</code><a class=\"heading-anchor\" href=\"#use-x-forwarded-host\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Boolean a shonraíonn an gceanntásc <code class=\"docutils literal notranslate\">X-Forwarded-Host</code> a úsáid mar rogha ar an gceannteideal <code class=\"docutils literal notranslate\">Host</code>. Níor chóir é seo a chumasú ach amháin má tá seachfhreastalaí a leagann an ceanntásc seo in úsáid.</p>\n<p>Glacann an socrú seo tosaíocht thair:setting: USE_X_FORWARDED_PORT. Per:RFC: 7239 #section -5.3, is féidir leis an gceannteideal <code class=\"docutils literal notranslate\">X-Forwarded-Host</code> uimhir an chalafoirt a áireamh, agus sa chás sin níor chóir duit:setting: USE_X_FORWARDED_PORT a úsáid.</p>\n</section>\n<section id=\"use-x-forwarded-port\">\n<span id=\"std-setting-USE_X_FORWARDED_PORT\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>ÚSÁID_X_FORWARDED_PORT `<a class=\"heading-anchor\" href=\"#use-x-forwarded-port\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Boolean a shonraíonn an gceanntásc <code class=\"docutils literal notranslate\">X-Forwarded-Port</code> a úsáid mar rogha leis an athróg <code class=\"docutils literal notranslate\">SERVER_PORT</code> <code class=\"docutils literal notranslate\">META</code>. Níor chóir é seo a chumasú ach amháin má tá seachfhreastalaí a leagann an ceanntásc seo in úsáid.</p>\n<p><a class=\"reference internal\" href=\"#std-setting-USE_X_FORWARDED_HOST\"><code class=\"xref std std-setting docutils literal notranslate\">USE_X_FORWARDED_HOST</code></a> takes priority over this setting.</p>\n</section>\n<section id=\"wsgi-application\">\n<span id=\"std-setting-WSGI_APPLICATION\"></span><h3><code class=\"docutils literal notranslate\">WSGI_IARRATAS</code><a class=\"heading-anchor\" href=\"#wsgi-application\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Conair iomlán Python an réad feidhmchláir WSGI a úsáidfidh freastalaithe ionsuite Django (e.g.:djadmin: runserver). Cruthóidh an t-ordú bainist &lt;startproject&gt;íochta: Djadmin: django-admin startproject `comhad caighdeánach `wsgi.py le <code class=\"docutils literal notranslate\">feidhmchlár ``is féidir a ghlaoch ann, agus cuirfidh an socrú seo chuig an ``feidhmchlár</code> sin.</p>\n<p>Mura bhfuil sé socraithe, úsáidfear luach tuairisceáin <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>django.core.wsgi.get_wsgi_application () <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>. Sa chás seo, beidh iompar: djadmin: runserver comhionann le leaganacha Django roimhe seo.</p>\n</section>\n<section id=\"year-month-format\">\n<span id=\"std-setting-YEAR_MONTH_FORMAT\"></span><h3>FORMÁID <code class=\"docutils literal notranslate\">BLIAN_MHÍOS</code><a class=\"heading-anchor\" href=\"#year-month-format\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'F Y'</code></p>\n<p>An formáidiú réamhshocraithe le húsáid le haghaidh réimsí dáta ar leathanaigh liosta athraithe riaracháin Django - agus, b'fhéidir, ag codanna eile den chóras - i gcásanna nach dtaispeántar ach an bhliain agus an mhí.</p>\n<p>Mar shampla, nuair a bhíonn leathanach liosta athraithe riaracháin Django á scagadh ag druileáil dáta, taispeánann an ceannteideal do mhí ar leith an mhí agus an bhliain. Tá formáidí éagsúla ag áitiúla éagsúla. Mar shampla, déarfadh Béarla na SA “Eanáir 2006,” ach d'fhéadfadh áitiúil eile a rá “2006/Eanáir.”</p>\n<p>Tabhair faoi deara go bhfuil tosaíocht níos airde ag an bhformáid chomhfhreagrach áitiúil agus go gcuirfear i bhfeidhm ina ionad.</p>\n<p>&lt;date&gt;Féach: TFilter: teaghráin formáid dáta ceadaithe `. Féach freis:socrú: `DATE_FORMAT, :setting: DATETIME_FORMAT, :setting: TIME_FORMAT agus:setting: MONTH_DAY_FORMAT.</p>\n</section>\n<section id=\"x-frame-options\">\n<span id=\"std-setting-X_FRAME_OPTIONS\"></span><h3><code class=\"docutils literal notranslate\">ROGHANNA X_FRAME</code><a class=\"heading-anchor\" href=\"#x-frame-options\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'DENY'</code></p>\n<p>An luach réamhshocraithe don cheanntásc X-Frame-Options a úsáideann ar:class: ~django.middleware.clickjacking.xframeOptionsMiddleware. Féach an doiciméad:doc: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>click&lt;/ref/clickjacking/&gt; jacking cosant'.</p>\n</section>\n</section>\n<section id=\"auth\">\n<h2><a class=\"toc-backref\" href=\"#id13\" role=\"doc-backlink\">Authas</a><a class=\"headerlink\" href=\"#auth\" title=\"Link to this heading\">¶</a></h2>\n<p>Socruithe le haghaidh: mod: django.contrib.auth.</p>\n<section id=\"authentication-backends\">\n<span id=\"std-setting-AUTHENTICATION_BACKENDS\"></span><h3><code class=\"docutils literal notranslate\">BACKENDATION_BACKENDS</code><a class=\"heading-anchor\" href=\"#authentication-backends\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">['django.contrib.auth.backends.modelBackend']</code></p>\n<p>Liosta d'aicmí cúltaca fíordheimhnithe (mar teaghráin) le húsáid agus tú ag iarraidh úsáideoir a fhíordheimhniú. &lt;authentication-backends&gt;Féach na:ref: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>doiciméadú cúltaca fíordheimhniúcháin <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>le haghaidh sonraí.</p>\n</section>\n<section id=\"auth-user-model\">\n<span id=\"std-setting-AUTH_USER_MODEL\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>AUTH_USER_MODEL ``<a class=\"heading-anchor\" href=\"#auth-user-model\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">`Auth.user'</code></p>\n<p>An tsamhail atá le húsáid chun ionadaíocht a dhéanamh ar Úsáideoir. Féach: ref: auth-custom-user.</p>\n<aside class=\"admonition admonition-warning\" role=\"note\">\n<p class=\"admonition-title\">Warning</p>\n<p>Ní féidir leat an socrú AUTH_USER_MODEL a athrú le linn shaolré tionscadail (i.e. nuair a bheidh samhlacha déanta agus imirce agat atá ag brath air) gan iarracht tromchúiseach. Tá sé i gceist é a shocrú ag tús an tionscadail, agus caithfidh an tsamhail a thagraíonn sé a bheith ar fáil sa chéad imirce den aip ina gcónaíonn sé ann. Féach: ref: auth-custom-user le haghaidh tuilleadh sonraí.</p>\n</aside>\n</section>\n<section id=\"login-redirect-url\">\n<span id=\"std-setting-LOGIN_REDIRECT_URL\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>LOG_REDIRECT_URL ``<a class=\"heading-anchor\" href=\"#login-redirect-url\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'/cuntais/próifíl/'</code></p>\n<p>An URL nó:ref: patrún URL ainmnithe &lt;naming-url-patterns&gt;`ina ndéantar iarratais a atreorú tar éis logáil isteach nuair nach bhfaigheann an:class: `~django.contrib.auth.views.loginView paraiméadar GET <code class=\"docutils literal notranslate\">next</code>.</p>\n</section>\n<section id=\"login-url\">\n<span id=\"std-setting-LOGIN_URL\"></span><h3><code class=\"docutils literal notranslate\">LOG_URL</code><a class=\"heading-anchor\" href=\"#login-url\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'/cuntais/logáil isteach /'</code></p>\n<p>An URL nó:ref: patrún URL ainmnithe `ina n- &lt;naming-url-patterns&gt;atreoraítear iarratais ar logáil isteach nuair a úsáidtear an:func: `~django.contrib.auth.decorators.login_required decorator, :class: ~django.contrib.auth.mixins.loginrequiredMixin, :class: ~django.contrib.auth.mixins.accessin, nó when :class: ~django.contrib.auth.middleware.loginrequiredMiddleware suiteáilte.</p>\n</section>\n<section id=\"logout-redirect-url\">\n<span id=\"std-setting-LOGOUT_REDIRECT_URL\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>LOGOUT_REDIRECT_URL ``<a class=\"heading-anchor\" href=\"#logout-redirect-url\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>An URL nó:ref: patrún URL ainmnithe &lt;naming-url-patterns&gt;`ina ndéantar iarratais a atreorú tar éis logáil amach ias:class: `~django.contrib.auth.views.logoutview tréith <code class=\"docutils literal notranslate\">next_page</code>.</p>\n<p>Má tá <code class=\"docutils literal notranslate\">None</code>, ní dhéanfar aon athsheoladh agus déanfar an radharc logála amach a léiriú.</p>\n</section>\n<section id=\"password-reset-timeout\">\n<span id=\"std-setting-PASSWORD_RESET_TIMEOUT\"></span><h3><code class=\"docutils literal notranslate\">PASFHOCAL_RESET_TIMEOUT</code><a class=\"heading-anchor\" href=\"#password-reset-timeout\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>259200` (3 lá, i soicindí)</p>\n<p>Tá líon na soicind a bhfuil nasc athshocraithe pasfhocal bailí dóibh.</p>\n<p>Úsáidtear ag an: class: ~django.contrib.auth.views.passwordResetConfirmView.</p>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">Note</p>\n<p>Ní dhéanann luach an t-ama seo a laghdú aon difríocht ar chumas ionsaitheora comhartha athshocraithe pasfhocal a chur i bhfeidhm go brútal. Tá comharthaí deartha le bheith sábháilte ó fhorfheidhmiú brúite gan aon am amach.</p>\n<p>Tá an t-am seo ann chun cosaint a dhéanamh i gcoinne roinnt cásanna ionsaithe nach dócha, mar shampla duine a fhaigheann rochtain ar chartlanna ríomhphoist a d'fhéadfadh sean-chomharthaí athshocraithe pasfho</p>\n</aside>\n</section>\n<section id=\"password-hashers\">\n<span id=\"std-setting-PASSWORD_HASHERS\"></span><h3><code class=\"docutils literal notranslate\">PASSWORD_HASHERS</code><a class=\"heading-anchor\" href=\"#password-hashers\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Féach:ref: auth_password_storage.</p>\n<p>Réamhshocraithe:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"p\">[</span>\n    <span class=\"s2\">&quot;django.contrib.auth.hashers.PBKDF2PasswordHasher&quot;</span><span class=\"p\">,</span>\n    <span class=\"s2\">&quot;django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher&quot;</span><span class=\"p\">,</span>\n    <span class=\"s2\">&quot;django.contrib.auth.hashers.Argon2PasswordHasher&quot;</span><span class=\"p\">,</span>\n    <span class=\"s2\">&quot;django.contrib.auth.hashers.BCryptSHA256PasswordHasher&quot;</span><span class=\"p\">,</span>\n    <span class=\"s2\">&quot;django.contrib.auth.hashers.ScryptPasswordHasher&quot;</span><span class=\"p\">,</span>\n<span class=\"p\">]</span>\n</code></pre></div>\n</section>\n<section id=\"auth-password-validators\">\n<span id=\"std-setting-AUTH_PASSWORD_VALIDATORS\"></span><h3><code class=\"docutils literal notranslate\">BAILÍOCHTAITHEOIR_PASSWORD_AUTH</code><a class=\"heading-anchor\" href=\"#auth-password-validators\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Liosta na mbailíochtóirí a úsáidtear chun neart pasfhocail an úsáideora a sheiceáil. Féach:ref: bailíochtú pasfhocal le haghaidh tuilleadh sonraí. De réir réamhshocraithe, ní dhéantar aon bhailíochtú agus glactar le gach pasfhocal.</p>\n</section>\n</section>\n<section id=\"messages\">\n<span id=\"settings-messages\"></span><h2><a class=\"toc-backref\" href=\"#id14\" role=\"doc-backlink\">Teachtaireachtaí</a><a class=\"headerlink\" href=\"#messages\" title=\"Link to this heading\">¶</a></h2>\n<p>Socruithe le haghaidh: mod: django.contrib.messages.</p>\n<section id=\"message-level\">\n<span id=\"std-setting-MESSAGE_LEVEL\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>LEIBHÉAL_TEACHTAIREACHTAÍ ``<a class=\"heading-anchor\" href=\"#message-level\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Messages.info</code></p>\n<p>Socraíonn sé an leibhéal íosta teachtaireachta a thaifeadfar ag creat na teachtaireachtaí. Féach: tagairt: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>leibhéil teachtaireachtaí &lt;message-level&gt;`le haghaidh tuilleadh sonraí.</p>\n<aside class=\"admonition-avoiding-circular-imports admonition\" role=\"note\">\n<p class=\"admonition-title\">Allmhairithe ciorclach</p>\n<p>Má sháraigh tú <code class=\"docutils literal notranslate\">MESSAGE_LEVEL</code> i do chomhad socruithe agus má bhíonn tú ag brath ar aon cheann de na comhsheasmhainní ionsuite, ní mór duit an modúl comhsheasmhach a allmhairiú go díreach chun an fhéidearthacht allmhairí ciorclach a sheachaint, m.sh.:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"kn\">from</span> <span class=\"nn\">django.contrib.messages</span> <span class=\"kn\">import</span> constants <span class=\"k\">as</span> message_constants\n\nMESSAGE_LEVEL <span class=\"o\">=</span> message_constants<span class=\"o\">.</span>DEBUG\n</code></pre></div>\n<p>&lt;message-level-constants&gt;Más mian leat, féadfaidh tú na luachanna uimhriúla do na comhsheasmhainní a shonrú go díreach de réir na luachanna sa thuas:ref: tábla comhsheasmhainne.</p>\n</aside>\n</section>\n<section id=\"message-storage\">\n<span id=\"std-setting-MESSAGE_STORAGE\"></span><h3><code class=\"docutils literal notranslate\">TEACHTAIREACHTAÍ STÓRÁLA</code><a class=\"heading-anchor\" href=\"#message-storage\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'Django.contrib.messages.storage.fallback.fallbackStorage'</code></p>\n<p>Rialuithe áit a stórálann Django sonraí teachtaireachtaí. Is iad na luachanna bailí:</p>\n<ul class=\"simple\">\n<li><p><code class=\"docutils literal notranslate\">`Django.contrib.messages.storage.fallback.fallbackstorage'</code></p></li>\n<li><p><code class=\"docutils literal notranslate\">`Django.Contrib.Messages.Storage.Session.SessionStorage'</code></p></li>\n<li><p><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Django.contrib.messages.storage.cookie.cookieIestorage'</p></li>\n</ul>\n<p>Féach: tagairt: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>cúltaca stórála teachtaireachtaí &lt;message-storage-backends&gt;`le haghaidh tuilleadh sonraí.</p>\n<p>Na cúltaca a úsáideann fianáin --:class: ~django.contrib.messages.storage.cookie.cookieStorage agus:class: ~django.contrib.messages.storage.fallback.fallbackStorage -- bain úsáid as luach:setting: SESSION_COOKIE_DOMAIN, :setting: SESSION_COOKIE_SECURE :setting: SESSION_COOKIE_HTTPONLY agus a gcuid fianáin á leagan síos agat.</p>\n</section>\n<section id=\"message-tags\">\n<span id=\"std-setting-MESSAGE_TAGS\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>TAG_TEACHTAIREACHTAÍ ``<a class=\"heading-anchor\" href=\"#message-tags\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"p\">{</span>\n    messages<span class=\"o\">.</span>DEBUG<span class=\"p\">:</span> <span class=\"s2\">&quot;debug&quot;</span><span class=\"p\">,</span>\n    messages<span class=\"o\">.</span>INFO<span class=\"p\">:</span> <span class=\"s2\">&quot;info&quot;</span><span class=\"p\">,</span>\n    messages<span class=\"o\">.</span>SUCCESS<span class=\"p\">:</span> <span class=\"s2\">&quot;success&quot;</span><span class=\"p\">,</span>\n    messages<span class=\"o\">.</span>WARNING<span class=\"p\">:</span> <span class=\"s2\">&quot;warning&quot;</span><span class=\"p\">,</span>\n    messages<span class=\"o\">.</span>ERROR<span class=\"p\">:</span> <span class=\"s2\">&quot;error&quot;</span><span class=\"p\">,</span>\n<span class=\"p\">}</span>\n</code></pre></div>\n<p>Socraíonn sé seo mapáil leibhéal teachtaireachta go clib teachtaireachta, a léirítear de ghnáth mar rang CSS i HTML. Má shonraíonn tú luach, leathnóidh sé an réamhshocrú. Ciallaíonn sé seo nach gá duit ach na luachanna sin a chaithfidh tú a shárú a shonrú. Féach: Ref: teachtaireachtaí taispeántaí thuas le haghaidh tuilleadh sonraí.</p>\n<aside class=\"admonition-avoiding-circular-imports admonition\" role=\"note\">\n<p class=\"admonition-title\">Allmhairithe ciorclach</p>\n<p>Má sháraigh tú <code class=\"docutils literal notranslate\">MESSAGE_TAGS</code> i do chomhad socruithe agus má bhíonn tú ag brath ar aon cheann de na comhsheasmhainní ionsuite, ní mór duit an modúl <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>constants` a allmhairiú go díreach chun an fhéidearthacht allmhairí ciorclach a sheachaint, m.sh.:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"kn\">from</span> <span class=\"nn\">django.contrib.messages</span> <span class=\"kn\">import</span> constants <span class=\"k\">as</span> message_constants\n\nMESSAGE_TAGS <span class=\"o\">=</span> <span class=\"p\">{</span>message_constants<span class=\"o\">.</span>INFO<span class=\"p\">:</span> <span class=\"s2\">&quot;&quot;</span><span class=\"p\">}</span>\n</code></pre></div>\n<p>&lt;message-level-constants&gt;Más mian leat, féadfaidh tú na luachanna uimhriúla do na comhsheasmhainní a shonrú go díreach de réir na luachanna sa thuas:ref: tábla comhsheasmhainne.</p>\n</aside>\n</section>\n</section>\n<section id=\"sessions\">\n<span id=\"settings-sessions\"></span><h2><a class=\"toc-backref\" href=\"#id15\" role=\"doc-backlink\">Seisiúin</a><a class=\"headerlink\" href=\"#sessions\" title=\"Link to this heading\">¶</a></h2>\n<p>Socruithe le haghaidh: mod: django.contrib.sessions.</p>\n<section id=\"session-cache-alias\">\n<span id=\"std-setting-SESSION_CACHE_ALIAS\"></span><h3><code class=\"docutils literal notranslate\">SEISIÓN_CACHE_ALIAS</code><a class=\"heading-anchor\" href=\"#session-cache-alias\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'default'</code></p>\n<p>Má tá tú ag baint úsáidea:ref: stóráil seisiúin bunaithe ar taisce &lt;cached-sessions-backend&gt;, roghnaíonn sé seo an taisce le húsáid.</p>\n</section>\n<section id=\"session-cookie-age\">\n<span id=\"std-setting-SESSION_COOKIE_AGE\"></span><h3><code class=\"docutils literal notranslate\">SEISIÓN_COOKIE_AOS</code><a class=\"heading-anchor\" href=\"#session-cookie-age\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>1209600` (2 seachtaine, i soicindí)</p>\n<p>Aois na bhfianáin seisiúin, i soicindí.</p>\n</section>\n<section id=\"session-cookie-domain\">\n<span id=\"std-setting-SESSION_COOKIE_DOMAIN\"></span><h3><code class=\"docutils literal notranslate\">SESSION_COOKIE_DOMAIN</code><a class=\"heading-anchor\" href=\"#session-cookie-domain\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>An fearainn le húsáid le haghaidh fianáin seisiúin. Socraigh é seo go sreang mar <code class=\"docutils literal notranslate\">&quot;example.com&quot;</code> le haghaidh fianáin tras-fearainn, nó bain úsáid as <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>None <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>le haghaidh fianán fearainn caighdeánach.</p>\n<p>Chun fianáin tras-fearainn a úsáid la:setting: CSRF_USE_SESSIONS, ní mór duit ponc tosaigh a áireamh (m.sh. <code class=\"docutils literal notranslate\">” .example.com&quot;</code>) chun freastal ar sheiceáil atreoraithe meán-earraí CSRF.</p>\n<p>Bí cúramach agus an suíomh seo á nuashonrú agat ar shuíomh táirgeachta. Má nuashonraíonn tú an socrú seo chun fianáin tras-fearainn a chumasú ar shuíomh a d'úsáid fianáin fearainn caighdeánacha roimhe seo, socraítear fianáin úsáideora atá ann cheana ar an sean-fhearann D'fhéadfadh sé seo go mbeidh siad in ann logáil isteach chomh fada agus a leanann na fianáin seo.</p>\n<p>Bíonn tionchar ag an socrú seo freisin ar fhianáin arna leagan síos ar:mod: django.contrib.messages.</p>\n</section>\n<section id=\"session-cookie-httponly\">\n<span id=\"std-setting-SESSION_COOKIE_HTTPONLY\"></span><h3><code class=\"docutils literal notranslate\">SESSION_COOKIE_HTTPONLY</code><a class=\"heading-anchor\" href=\"#session-cookie-httponly\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Fíor`</p>\n<p>Cibé acu an bhratach HttpOnly a úsáid ar an bhfianán seisiúin. Má tá sé seo socraithe ar <code class=\"docutils literal notranslate\">True</code>, ní bheidh JavaScript taobh an chliaint in ann rochtain a fháil ar an bhfianán seisiúin.</p>\n<p>Is bratach é <a class=\"reference external\" href=\"https://owasp.org/www-community/HttpOnly\">HTTPOnly</a> atá san áireamh i gceannteideal freagartha Set-Cookie HTTP. Tá sé mar chuid den chaighdeán:rfc: 6265 #section -4.1.2.6 le haghaidh fianáin agus féadann sé a bheith ina bhealach úsáideach chun an baol go bhfaighidh script taobh an chliaint rochtain ar na sonraí cosanta fianán a mhaolú.</p>\n<p>Fágann sé seo nach bhfuil sé chomh tábhachtach d'ionsaitheoir leochaileacht scripteála tras-láithreáin a mhéadú go seisiún úsáideora a fhuadach iomlán. Níl go leor cúiseanna maithe ann chun é seo a mhúchadh. Níor chóir do chód fianáin seisiúin a léamh ó JavaScript.</p>\n</section>\n<section id=\"session-cookie-name\">\n<span id=\"std-setting-SESSION_COOKIE_NAME\"></span><h3><code class=\"docutils literal notranslate\">`SESSION_COOKIE_NAME</code><a class=\"heading-anchor\" href=\"#session-cookie-name\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'seisión</code></p>\n<p>Ainm na fianán le húsáid le haghaidh seisiúin. Is féidir leis seo a bheith cibé rud is mian leat (fad is atá sé difriúil ó na hainmneacha fianán eile i d'iarratas).</p>\n</section>\n<section id=\"session-cookie-path\">\n<span id=\"std-setting-SESSION_COOKIE_PATH\"></span><h3><code class=\"docutils literal notranslate\">SEISIÓN_COOKIE_PATH</code><a class=\"heading-anchor\" href=\"#session-cookie-path\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'/'</code></p>\n<p>An cosán atá leagtha amach ar an bhfianán seisiúin. Ba chóir go n-oireann sé seo cosán URL do shuiteála Django nó a bheith ina thuismitheoir ar an gcosán sin.</p>\n<p>Tá sé seo úsáideach má tá cásanna iolracha Django agat ag rith faoin ainm óstach céanna. Is féidir leo cosáin éagsúla fianán a úsáid, agus ní fheicfidh gach cás ach a fhianán seisiúin féin.</p>\n</section>\n<section id=\"session-cookie-samesite\">\n<span id=\"std-setting-SESSION_COOKIE_SAMESITE\"></span><h3><code class=\"docutils literal notranslate\">SEISIÓN_FIANÁINE_SAMESITE</code><a class=\"heading-anchor\" href=\"#session-cookie-samesite\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'Lax'</code></p>\n<p>Luach an bhratach <a class=\"reference external\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value\">SameSite</a> ar an bhfianán seisiúin. Cuireann an bratach seo cosc ar an bhfianán a sheoladh isteach in iarratais tras-láithreáin agus mar sin cosc a chur ar ionsaithe CSRF agus rud a fhágann go bhfuil roinnt modhanna chun fianán</p>\n<p>Is iad na luachanna féideartha don socrú:</p>\n<ul>\n<li><p><code class=\"docutils literal notranslate\">'Strict</code>: cuireann an brabhsálaí cosc ar an bhfianán a sheoladh chuig an spriocshuíomh i ngach comhthéacs brabhsála tras-láithreáin, fiú nuair a bhíonn nasc rialta á leanúint agat.</p>\n<p>Mar shampla, do shuíomh Gréasáin cosúil le GitHub chiallódh sé seo má leanann úsáideoir logáilte nasc chuig tionscadal príobháideach GitHub a chuirtear ar fhóram plé corparáideach nó ríomhphost, ní gheobhaidh GitHub an fianán seisiúin agus ní bheidh an t-úsáideoir in ann rochtain a fháil ar an tionscadal. Is dóichí nach bhfuil suíomh Gréasáin bainc ag iarraidh cead a cheadú aon leathanaigh idirghníomhaíochta a nascadh ó shuíomhanna seachtracha mar sin bheadh an bhratach <code class=\"docutils literal notranslate\">Strict</code> oiriúnach.</p>\n</li>\n<li><p><code class=\"docutils literal notranslate\">'Lax'</code> (réamhshocraithe): soláthraíonn cothromaíocht idir slándáil agus inúsáidteacht do shuíomhanna gréasáin atá ag iarraidh seisiún logáilte isteach an úsáideora a choinneáil tar éis don úsáideoir teacht ó nasc seachtrach.</p>\n<p>Sa chás GitHub, ceadaíodh an fianán seisiúin nuair a leanfaí nasc rialta ó shuíomh Gréasáin seachtrach agus cuirfí bac ar mhodhanna iarratais CSRF (m.sh. POST `).</p>\n</li>\n<li><p><code class=\"docutils literal notranslate\">`None'</code> (teaghrán): seolfar an fianán seisiúin le gach iarratas ar an láithreán céanna agus tras-láithreán.</p></li>\n<li><p><code class=\"docutils literal notranslate\">False</code>: díchumasaíonn an bratach.</p></li>\n</ul>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">Note</p>\n<p>Soláthraíonn brabhsálaithe nua-aimseartha beartas réamhshocraithe níos sábháilte don bhratach <code class=\"docutils literal notranslate\">SameSite</code> agus glacfaidh siad le <code class=\"docutils literal notranslate\">Lax</code> le haghaidh fianáin gan luach follasach soiléir.</p>\n</aside>\n</section>\n<section id=\"session-cookie-secure\">\n<span id=\"std-setting-SESSION_COOKIE_SECURE\"></span><h3><code class=\"docutils literal notranslate\">SEISIÚN_FIANÁIN SHÁBHÁILTE</code><a class=\"heading-anchor\" href=\"#session-cookie-secure\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Cibé acu fianán slán a úsáid don fhianán seisiúin. Má tá sé seo socraithe ar <code class=\"docutils literal notranslate\">True</code>, marcálfar an fianán mar “slán”, rud a chiallaíonn go bhféadfaidh brabhsálaithe a chinntiú nach seoltar an fianán ach faoi nasc HTTPS.</p>\n<p>Ní smaoineamh maith é an socrú seo a fhágáil mar d'fhéadfadh ionsaitheoir fianán seisiúin neamhchriptithe a ghabháil le sniffer paicéad agus an fianán a úsáid chun seisiún an úsáideora a fhuadadh.</p>\n</section>\n<section id=\"session-engine\">\n<span id=\"std-setting-SESSION_ENGINE\"></span><h3><code class=\"docutils literal notranslate\">INNEAL_SEISIÚNA</code><a class=\"heading-anchor\" href=\"#session-engine\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'django.contrib.sessions.backends.db'</code></p>\n<p>Rialuithe ina stórálann Django sonraí seisiúin. Is iad na hinnill san áireamh:</p>\n<ul class=\"simple\">\n<li><p><code class=\"docutils literal notranslate\">'django.contrib.sessions.backends.db'</code></p></li>\n<li><p><code class=\"docutils literal notranslate\">'django.contrib.sessions.backends.file'</code></p></li>\n<li><p><code class=\"docutils literal notranslate\">'django.contrib.sessions.backends.cache'</code></p></li>\n<li><p><code class=\"docutils literal notranslate\">'django.contrib.sessions.backends.cached_db'</code></p></li>\n<li><p><code class=\"docutils literal notranslate\">'django.contrib.sessions.backends.signed_cookies'</code></p></li>\n</ul>\n<p>Féach: ref: seisiúin cumraitheach le haghaidh tuilleadh sonraí.</p>\n</section>\n<section id=\"session-expire-at-browser-close\">\n<span id=\"std-setting-SESSION_EXPIRE_AT_BROWSER_CLOSE\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>SEISIÚIN_DEIGH_AT_BRABHSÁLAÍ_DÚNTA ``<a class=\"heading-anchor\" href=\"#session-expire-at-browser-close\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Cibé an rachaidh an seisiún in éag nuair a dhúnn an úsáideoir a bhrabhsála Féach:ref: brabhsálaí-length-vs-seisiúin persistent-s.</p>\n</section>\n<section id=\"session-file-path\">\n<span id=\"std-setting-SESSION_FILE_PATH\"></span><h3><code class=\"docutils literal notranslate\">SESSION_FILE_PATH</code><a class=\"heading-anchor\" href=\"#session-file-path\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>Má tá stóráil seisiúin comhadbhunaithe á úsáid agat, socraíonn sé seo an eolaire ina stóráilfidh Django sonraí seisiúin. Nuair a úsáidtear an luach réamhshocraithe (<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>None <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>), úsáidfidh Django an eolaire sealadach caighdeánach don chóras.</p>\n</section>\n<section id=\"session-save-every-request\">\n<span id=\"std-setting-SESSION_SAVE_EVERY_REQUEST\"></span><h3><code class=\"docutils literal notranslate\">SEISIÚN_SÁBHA_GACH IARRAT</code><a class=\"heading-anchor\" href=\"#session-save-every-request\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">Fréag</code></p>\n<p>Cibé acu sonraí an tseisiúin a shábháil ar gach iarratas. Más é seo <code class=\"docutils literal notranslate\">False</code> (réamhshocraithe), ansin ní shábhálfar sonraí an tseisiúin ach má tá siad modhnaithe - is é sin, má shanntar nó scriosadh aon cheann dá luachanna foclóra. Ní chruthófar seisiúin folamh, fiú má tá an suíomh seo gníomhach.</p>\n</section>\n<section id=\"session-serializer\">\n<span id=\"std-setting-SESSION_SERIALIZER\"></span><h3><code class=\"docutils literal notranslate\">SESSION_SERIALIZER</code><a class=\"heading-anchor\" href=\"#session-serializer\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">'Django.contrib.sessions.serializers.jsonSerializer'</code></p>\n<p>Conair iomlán iompórtála ranga serializer le húsáid chun sonraí seisiúin a shraitheadh. Is é an sraitheoir san áireamh:</p>\n<ul class=\"simple\">\n<li><p><code class=\"docutils literal notranslate\">'Django.Contrib.Sessions.Serializers.JSONSerializer'</code></p></li>\n</ul>\n<p>Féach:ref: session_serialization le haghaidh sonraí.</p>\n</section>\n</section>\n<section id=\"sites\">\n<h2><a class=\"toc-backref\" href=\"#id16\" role=\"doc-backlink\">Suíomhanna</a><a class=\"headerlink\" href=\"#sites\" title=\"Link to this heading\">¶</a></h2>\n<p>Socruithe le haghaidh: mod: django.contrib.sites.</p>\n<section id=\"site-id\">\n<span id=\"std-setting-SITE_ID\"></span><h3><code class=\"docutils literal notranslate\">ID_LÁITHREACH</code><a class=\"heading-anchor\" href=\"#site-id\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocrú: Gan sainmhíniú</p>\n<p>An ID, mar shláimhir, an láithreáin reatha sa tábla bunachar sonraí <code class=\"docutils literal notranslate\">django_site</code>. Úsáidtear é seo ionas gur féidir le sonraí feidhmchláir dul isteach i suíomhanna ar leith agus gur féidir le bunachar sonraí amháin ábhar a bhainistiú do shuíomhanna iolr</p>\n</section>\n</section>\n<section id=\"static-files\">\n<span id=\"settings-staticfiles\"></span><h2><a class=\"toc-backref\" href=\"#id17\" role=\"doc-backlink\">Comhaid Statach</a><a class=\"headerlink\" href=\"#static-files\" title=\"Link to this heading\">¶</a></h2>\n<p>Socruithe le haghaidh: mod: django.contrib.staticfiles.</p>\n<section id=\"static-root\">\n<span id=\"std-setting-STATIC_ROOT\"></span><h3><code class=\"docutils literal notranslate\">FRÉAMH_STATIC</code><a class=\"heading-anchor\" href=\"#static-root\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>An cosán iomlán chuig an eolaire ina mbailfidh: djadmin: collectstatic comhaid statacha le haghaidh imscartha.</p>\n<p>Sampla: <code class=\"docutils literal notranslate\">” /var/www/example.com/static/&quot;</code></p>\n<p>Má tá an aip contrib: doc: staticfiles cumasaithe (mar atá sa te&#64;&#64;&lt;/ref/contrib/staticfiles&gt; impléad réamhshocraithe tionscadail), baileoidh an t-ordú bainistíochta: djadmin: collectstatic comhaid statacha san eolaire seo. Féach an conas ar: doc: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>comhaid statacha a bhainistiú' le haghaidh tuilleadh sonraí faoin úsáid .&lt;/howto/static-files/index&gt;</p>\n<aside class=\"admonition admonition-warning\" role=\"note\">\n<p class=\"admonition-title\">Warning</p>\n<p>Ba chóir go mbeadh sé seo ina eolaire ceann scríbe folamh i dtosach chun do chuid comhad statacha a bhailiú óna n-áiteanna buana isteach i eolaire amháin chun éasca a imscaradh; ní** áit é chun do chuid comhad statacha a stóráil go buan. Ba chóir duit é sin a dhéanamh in eolairí a gheobhaidh: :doc: staticfiles's:setting: finders `&lt;/ref/contrib/staticfiles&gt;&lt;STATICFILES_FINDERS&gt;, atá de réir réamhshocraithe, fo-eolairí aip ``static/'` agus aon eolairí a chuimsíonn tú in:setting: STATICFILES_DIRS).</p>\n</aside>\n</section>\n<section id=\"static-url\">\n<span id=\"std-setting-STATIC_URL\"></span><h3><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>STATIC_URL ``<a class=\"heading-anchor\" href=\"#static-url\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Níl ``</p>\n<p>URL le húsáid agus tú ag tagairt do chomhaid statacha atá suite in:setting: STATIC_ROOT.</p>\n<p>Sampla: <code class=\"docutils literal notranslate\">&quot;statach/&quot;</code> nó <code class=\"docutils literal notranslate\">” https://static.example.com/ “</code></p>\n<p>Mura bhfuil <code class=\"docutils literal notranslate\">None</code>, úsáidfear é seo mar bhonn cosán le haghaidh: ref: sainmhínithe sócmhainní&lt;/ref/contrib/staticfiles&gt; &lt;form-asset-paths&gt;`(an rang ``Meáin `) agus an aip: doc: staticfiles.</p>\n<p>Caithfidh sé deireadh a chur le slasc má tá sé socraithe ar luach neamh-folamh.</p>\n<p>B'fhéidir go mbeidh ort: ref: na comhaid seo a chumrú le seirbheáil i bhforbairt &lt;/howto/static-files/deployment&gt; &lt;serving-static-files-in-development&gt;`agus is cinnte go mbeidh ort é sin a dhéanamh: doc: `i dtáirgeadh.</p>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">Note</p>\n<p>Más: Socrú: Is cosán coibhneasta é STATIC_URL, ansin déanfar é a réamhshocrú ag an luach <code class=\"docutils literal notranslate\">SCRIPT_NAME</code> a sholáthraíonn an freastalaí (nó <code class=\"docutils literal notranslate\">/</code> mura bhfuil sé socraithe). Fágann sé seo go bhfuil sé níos éasca feidhmchlár Django a sheirbheáil i bhfochonair gan cumraíocht bhreise a chur leis na socruithe.</p>\n</aside>\n</section>\n<section id=\"staticfiles-dirs\">\n<span id=\"std-setting-STATICFILES_DIRS\"></span><h3><code class=\"docutils literal notranslate\">COMHAD STATIC_DIRS</code><a class=\"heading-anchor\" href=\"#staticfiles-dirs\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe: <code class=\"docutils literal notranslate\">[]</code> (Liosta folamh)</p>\n<p>Sainmhíníonn an socrú seo na suíomhanna breise a thrasnóidh an aip staticfiles má chumasaítear an aimsitheoir <code class=\"docutils literal notranslate\">FilesystemFinder</code>, m.sh. má úsáideann tú an ordú bainistíochta: djadmin: collectstatic nó: djadmin: findstatic nó má úsáideann tú an radharc statach a sheirbheáil.</p>\n<p>Ba chóir é seo a shocrú ar liosta teaghráin ina bhfuil cosáin iomlána chuig d'eolaire (í) comhaid bhreise m.sh.:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code>STATICFILES_DIRS <span class=\"o\">=</span> <span class=\"p\">[</span>\n    <span class=\"s2\">&quot;/home/special.polls.com/polls/static&quot;</span><span class=\"p\">,</span>\n    <span class=\"s2\">&quot;/home/polls.com/polls/static&quot;</span><span class=\"p\">,</span>\n    <span class=\"s2\">&quot;/opt/webfiles/common&quot;</span><span class=\"p\">,</span>\n<span class=\"p\">]</span>\n</code></pre></div>\n<p>Tabhair faoi deara gur chóir go n-úsáidfeadh na cosáin seo sliotáin ar aghaidh i stíl Unix, fiú ar Windows (m.sh. <code class=\"docutils literal notranslate\">&quot;C: /Users/User/MySite/Extra_Static_Content&quot;</code>).</p>\n<section id=\"prefixes-optional\">\n<span id=\"staticfiles-dirs-prefixes\"></span><h4>Réamhréamhacha (roghnach)<a class=\"heading-anchor\" href=\"#prefixes-optional\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<p>Sa chás gur mhaith leat tagairt a dhéanamh do chomhaid i gceann de na háiteanna le spás ainmneacha breise, is féidir leat**go roghnaí** réimír a sholáthar mar thuples <code class=\"docutils literal notranslate\">(réimír, cosán)</code>, m.sh.:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code>STATICFILES_DIRS <span class=\"o\">=</span> <span class=\"p\">[</span>\n    <span class=\"c1\"># ...</span>\n    <span class=\"p\">(</span><span class=\"s2\">&quot;downloads&quot;</span><span class=\"p\">,</span> <span class=\"s2\">&quot;/opt/webfiles/stats&quot;</span><span class=\"p\">),</span>\n<span class=\"p\">]</span>\n</code></pre></div>\n<p>Mar shampla, ag glacadh leis go bhfuil: setting: STATIC_URL socraithe agat go <code class=\"docutils literal notranslate\">'static/'</code>, baileodh an t-ordú bainistíochta: djadmin: collectstatic na comhaid “stats” i bhfo-eolaire <code class=\"docutils literal notranslate\">'downloads'</code> de:setting: STATIC_ROOT.</p>\n<p>Ligfeadh sé seo duit tagairt a dhéanamh don chomhad áitiúil <code class=\"docutils literal notranslate\">`'/opt/webfiles/stats/polls_20101022.tar.gz'</code> le <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>'/static/downloads/polls_20101022.tar.gz'` i do theimpléid, m.sh.:</p>\n<div class=\"code-block\" data-language=\"html+django\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Django template</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Django template code\"><code><span class=\"p\">&lt;</span><span class=\"nt\">a</span> <span class=\"na\">href</span><span class=\"o\">=</span><span class=\"s\">&quot;</span><span class=\"cp\">{%</span> <span class=\"k\">static</span> <span class=\"s1\">&#39;downloads/polls_20101022.tar.gz&#39;</span> <span class=\"cp\">%}</span><span class=\"s\">&quot;</span><span class=\"p\">&gt;</span>\n</code></pre></div>\n</section>\n</section>\n<section id=\"staticfiles-finders\">\n<span id=\"std-setting-STATICFILES_FINDERS\"></span><h3><code class=\"docutils literal notranslate\">AIMSITHEOIRÍ COMHAID STATAICE</code><a class=\"heading-anchor\" href=\"#staticfiles-finders\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Réamhshocraithe:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Code code\"><code><span class=\"p\">[</span>\n    <span class=\"s2\">&quot;django.contrib.staticfiles.finders.FileSystemFinder&quot;</span><span class=\"p\">,</span>\n    <span class=\"s2\">&quot;django.contrib.staticfiles.finders.AppDirectoriesFinder&quot;</span><span class=\"p\">,</span>\n<span class=\"p\">]</span>\n</code></pre></div>\n<p>Liosta na gcúltaca aimsitheora a bhfuil a fhios acu conas comhaid statacha a aimsiú in áiteanna éagsúla.</p>\n<p>Gheobhaidh an réamhshocrú comhaid atá stóráilte sa socrú:setting: STATICFILES_DIRS (ag baint úsáide as <code class=\"docutils literal notranslate\">Django.contrib.staticfiles.finders.filesystemfinder</code>) agus i bhfo-eolaire static` de gach aip (ag baint úsáide as <code class=\"docutils literal notranslate\">Django.contrib.staticfiles.finders.appDirectoriesFinder</code>). Má tá comhad iolracha leis an ainm céanna i láthair, úsáidfear an chéad chomhad a fhaightear.</p>\n<p>Tá aimsitheoir amháin díchumasaithe de réir réamhshocraithe: <code class=\"docutils literal notranslate\">Django.contrib.staticfiles.finders.defaultStorageFinder</code>. Má chuirtear le do shuíomh:: STATICFILES_FINDERS, cuardóidh sé comhaid statacha sa stóráil comhaid réamhshocraithe mar a shainmhínítear leis an eochair <code class=\"docutils literal notranslate\">default</code> sa socrú: STORAGES.</p>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">Note</p>\n<p>Agus an aimsitheoir <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>AppDirectoriesFinder` á úsáid agat, déan cinnte gur féidir do chuid aipeanna a aimsiú trí staticfiles tríd an aip a chur leis an socrú: INSTALLED_APPS ar do shuíomh.</p>\n</aside>\n<p>Meastar go bhfuil aimsitheoirí comhad statacha ina chomhéadan príobháideach faoi láthair, agus mar sin níl an comhéadan seo gan doiciméadú</p>\n</section>\n</section>\n<section id=\"core-settings-topical-index\">\n<h2><a class=\"toc-backref\" href=\"#id18\" role=\"doc-backlink\">Innéacs Áiritheach na Socruithe</a><a class=\"headerlink\" href=\"#core-settings-topical-index\" title=\"Link to this heading\">¶</a></h2>\n<section id=\"cache\">\n<h3>Cache<a class=\"heading-anchor\" href=\"#cache\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p>: socrú: CACHES</p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-CACHE_MIDDLEWARE_ALIAS\"><code class=\"xref std std-setting docutils literal notranslate\">CACHE_MIDDLEWARE_ALIAS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-CACHE_MIDDLEWARE_KEY_PREFIX\"><code class=\"xref std std-setting docutils literal notranslate\">CACHE_MIDDLEWARE_KEY_PREFIX</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-CACHE_MIDDLEWARE_SECONDS\"><code class=\"xref std std-setting docutils literal notranslate\">CACHE_MIDDLEWARE_SECONDS</code></a></p></li>\n</ul>\n</section>\n<section id=\"database\">\n<h3>Bunachar Sonraí<a class=\"heading-anchor\" href=\"#database\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p><a class=\"reference internal\" href=\"#std-setting-DATABASES\"><code class=\"xref std std-setting docutils literal notranslate\">DATABASES</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DATABASE_ROUTERS\"><code class=\"xref std std-setting docutils literal notranslate\">DATABASE_ROUTERS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DEFAULT_INDEX_TABLESPACE\"><code class=\"xref std std-setting docutils literal notranslate\">DEFAULT_INDEX_TABLESPACE</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DEFAULT_TABLESPACE\"><code class=\"xref std std-setting docutils literal notranslate\">DEFAULT_TABLESPACE</code></a></p></li>\n</ul>\n</section>\n<section id=\"debugging\">\n<h3>Dífhabhtú<a class=\"heading-anchor\" href=\"#debugging\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p><a class=\"reference internal\" href=\"#std-setting-DEBUG\"><code class=\"xref std std-setting docutils literal notranslate\">DEBUG</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DEBUG_PROPAGATE_EXCEPTIONS\"><code class=\"xref std std-setting docutils literal notranslate\">DEBUG_PROPAGATE_EXCEPTIONS</code></a></p></li>\n</ul>\n</section>\n<section id=\"email\">\n<h3>Ríomhphost<a class=\"heading-anchor\" href=\"#email\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p><a class=\"reference internal\" href=\"#std-setting-ADMINS\"><code class=\"xref std std-setting docutils literal notranslate\">ADMINS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DEFAULT_CHARSET\"><code class=\"xref std std-setting docutils literal notranslate\">DEFAULT_CHARSET</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DEFAULT_FROM_EMAIL\"><code class=\"xref std std-setting docutils literal notranslate\">DEFAULT_FROM_EMAIL</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-EMAIL_BACKEND\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_BACKEND</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-EMAIL_FILE_PATH\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_FILE_PATH</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-EMAIL_HOST\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_HOST</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-EMAIL_HOST_PASSWORD\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_HOST_PASSWORD</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-EMAIL_HOST_USER\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_HOST_USER</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-EMAIL_PORT\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_PORT</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-EMAIL_SSL_CERTFILE\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_SSL_CERTFILE</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-EMAIL_SSL_KEYFILE\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_SSL_KEYFILE</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-EMAIL_SUBJECT_PREFIX\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_SUBJECT_PREFIX</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-EMAIL_TIMEOUT\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_TIMEOUT</code></a></p></li>\n<li><p>: socrú: EMAIL_USE_LOCALTIME</p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-EMAIL_USE_SSL\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_USE_SSL</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-EMAIL_USE_TLS\"><code class=\"xref std std-setting docutils literal notranslate\">EMAIL_USE_TLS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-MANAGERS\"><code class=\"xref std std-setting docutils literal notranslate\">MANAGERS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SERVER_EMAIL\"><code class=\"xref std std-setting docutils literal notranslate\">SERVER_EMAIL</code></a></p></li>\n</ul>\n</section>\n<section id=\"error-reporting\">\n<h3>Tuairisciú earrá<a class=\"heading-anchor\" href=\"#error-reporting\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p><a class=\"reference internal\" href=\"#std-setting-DEFAULT_EXCEPTION_REPORTER\"><code class=\"xref std std-setting docutils literal notranslate\">DEFAULT_EXCEPTION_REPORTER</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DEFAULT_EXCEPTION_REPORTER_FILTER\"><code class=\"xref std std-setting docutils literal notranslate\">DEFAULT_EXCEPTION_REPORTER_FILTER</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-IGNORABLE_404_URLS\"><code class=\"xref std std-setting docutils literal notranslate\">IGNORABLE_404_URLS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-MANAGERS\"><code class=\"xref std std-setting docutils literal notranslate\">MANAGERS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SILENCED_SYSTEM_CHECKS\"><code class=\"xref std std-setting docutils literal notranslate\">SILENCED_SYSTEM_CHECKS</code></a></p></li>\n</ul>\n</section>\n<section id=\"file-uploads\">\n<span id=\"file-upload-settings\"></span><h3>Uaslódálacha comhad<a class=\"heading-anchor\" href=\"#file-uploads\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p><a class=\"reference internal\" href=\"#std-setting-FILE_UPLOAD_HANDLERS\"><code class=\"xref std std-setting docutils literal notranslate\">FILE_UPLOAD_HANDLERS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-FILE_UPLOAD_MAX_MEMORY_SIZE\"><code class=\"xref std std-setting docutils literal notranslate\">FILE_UPLOAD_MAX_MEMORY_SIZE</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-FILE_UPLOAD_PERMISSIONS\"><code class=\"xref std std-setting docutils literal notranslate\">FILE_UPLOAD_PERMISSIONS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-FILE_UPLOAD_TEMP_DIR\"><code class=\"xref std std-setting docutils literal notranslate\">FILE_UPLOAD_TEMP_DIR</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-MEDIA_ROOT\"><code class=\"xref std std-setting docutils literal notranslate\">MEDIA_ROOT</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-MEDIA_URL\"><code class=\"xref std std-setting docutils literal notranslate\">MEDIA_URL</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-STORAGES\"><code class=\"xref std std-setting docutils literal notranslate\">STORAGES</code></a></p></li>\n</ul>\n</section>\n<section id=\"forms\">\n<h3>Foirmeacha<a class=\"heading-anchor\" href=\"#forms\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p><a class=\"reference internal\" href=\"#std-setting-FORM_RENDERER\"><code class=\"xref std std-setting docutils literal notranslate\">FORM_RENDERER</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-FORMS_URLFIELD_ASSUME_HTTPS\"><code class=\"xref std std-setting docutils literal notranslate\">FORMS_URLFIELD_ASSUME_HTTPS</code></a></p></li>\n</ul>\n</section>\n<section id=\"globalization-i18n-l10n\">\n<h3>Domhandú (<code class=\"docutils literal notranslate\">i18n</code>/<code class=\"docutils literal notranslate\">l10n</code>)<a class=\"heading-anchor\" href=\"#globalization-i18n-l10n\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<section id=\"internationalization-i18n\">\n<span id=\"settings-i18n\"></span><h4>Idirnáisiúnú (<code class=\"docutils literal notranslate\">i18n</code>)<a class=\"heading-anchor\" href=\"#internationalization-i18n\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<ul class=\"simple\">\n<li><p><a class=\"reference internal\" href=\"#std-setting-FIRST_DAY_OF_WEEK\"><code class=\"xref std std-setting docutils literal notranslate\">FIRST_DAY_OF_WEEK</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-FORMAT_MODULE_PATH\"><code class=\"xref std std-setting docutils literal notranslate\">FORMAT_MODULE_PATH</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-LANGUAGE_COOKIE_AGE\"><code class=\"xref std std-setting docutils literal notranslate\">LANGUAGE_COOKIE_AGE</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-LANGUAGE_COOKIE_DOMAIN\"><code class=\"xref std std-setting docutils literal notranslate\">LANGUAGE_COOKIE_DOMAIN</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-LANGUAGE_COOKIE_HTTPONLY\"><code class=\"xref std std-setting docutils literal notranslate\">LANGUAGE_COOKIE_HTTPONLY</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-LANGUAGE_COOKIE_NAME\"><code class=\"xref std std-setting docutils literal notranslate\">LANGUAGE_COOKIE_NAME</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-LANGUAGE_COOKIE_PATH\"><code class=\"xref std std-setting docutils literal notranslate\">LANGUAGE_COOKIE_PATH</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-LANGUAGE_COOKIE_SAMESITE\"><code class=\"xref std std-setting docutils literal notranslate\">LANGUAGE_COOKIE_SAMESITE</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-LANGUAGE_COOKIE_SECURE\"><code class=\"xref std std-setting docutils literal notranslate\">LANGUAGE_COOKIE_SECURE</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-LANGUAGES\"><code class=\"xref std std-setting docutils literal notranslate\">LANGUAGES</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-LANGUAGES_BIDI\"><code class=\"xref std std-setting docutils literal notranslate\">LANGUAGES_BIDI</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-LOCALE_PATHS\"><code class=\"xref std std-setting docutils literal notranslate\">LOCALE_PATHS</code></a></p></li>\n<li><p>: socrú: TIME_ZONE</p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-USE_I18N\"><code class=\"xref std std-setting docutils literal notranslate\">USE_I18N</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-USE_TZ\"><code class=\"xref std std-setting docutils literal notranslate\">USE_TZ</code></a></p></li>\n</ul>\n</section>\n<section id=\"localization-l10n\">\n<span id=\"settings-l10n\"></span><h4>Logánú (<code class=\"docutils literal notranslate\">l10n</code>)<a class=\"heading-anchor\" href=\"#localization-l10n\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h4>\n<ul class=\"simple\">\n<li><p><a class=\"reference internal\" href=\"#std-setting-DATE_FORMAT\"><code class=\"xref std std-setting docutils literal notranslate\">DATE_FORMAT</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DATE_INPUT_FORMATS\"><code class=\"xref std std-setting docutils literal notranslate\">DATE_INPUT_FORMATS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DATETIME_FORMAT\"><code class=\"xref std std-setting docutils literal notranslate\">DATETIME_FORMAT</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DATETIME_INPUT_FORMATS\"><code class=\"xref std std-setting docutils literal notranslate\">DATETIME_INPUT_FORMATS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DECIMAL_SEPARATOR\"><code class=\"xref std std-setting docutils literal notranslate\">DECIMAL_SEPARATOR</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-LANGUAGE_CODE\"><code class=\"xref std std-setting docutils literal notranslate\">LANGUAGE_CODE</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-MONTH_DAY_FORMAT\"><code class=\"xref std std-setting docutils literal notranslate\">MONTH_DAY_FORMAT</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-NUMBER_GROUPING\"><code class=\"xref std std-setting docutils literal notranslate\">NUMBER_GROUPING</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SHORT_DATE_FORMAT\"><code class=\"xref std std-setting docutils literal notranslate\">SHORT_DATE_FORMAT</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SHORT_DATETIME_FORMAT\"><code class=\"xref std std-setting docutils literal notranslate\">SHORT_DATETIME_FORMAT</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-THOUSAND_SEPARATOR\"><code class=\"xref std std-setting docutils literal notranslate\">THOUSAND_SEPARATOR</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-TIME_FORMAT\"><code class=\"xref std std-setting docutils literal notranslate\">TIME_FORMAT</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-TIME_INPUT_FORMATS\"><code class=\"xref std std-setting docutils literal notranslate\">TIME_INPUT_FORMATS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-USE_THOUSAND_SEPARATOR\"><code class=\"xref std std-setting docutils literal notranslate\">USE_THOUSAND_SEPARATOR</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-YEAR_MONTH_FORMAT\"><code class=\"xref std std-setting docutils literal notranslate\">YEAR_MONTH_FORMAT</code></a></p></li>\n</ul>\n</section>\n</section>\n<section id=\"http\">\n<h3>HTTP<a class=\"heading-anchor\" href=\"#http\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p><a class=\"reference internal\" href=\"#std-setting-DATA_UPLOAD_MAX_MEMORY_SIZE\"><code class=\"xref std std-setting docutils literal notranslate\">DATA_UPLOAD_MAX_MEMORY_SIZE</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DATA_UPLOAD_MAX_NUMBER_FIELDS\"><code class=\"xref std std-setting docutils literal notranslate\">DATA_UPLOAD_MAX_NUMBER_FIELDS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DATA_UPLOAD_MAX_NUMBER_FILES\"><code class=\"xref std std-setting docutils literal notranslate\">DATA_UPLOAD_MAX_NUMBER_FILES</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DEFAULT_CHARSET\"><code class=\"xref std std-setting docutils literal notranslate\">DEFAULT_CHARSET</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-DISALLOWED_USER_AGENTS\"><code class=\"xref std std-setting docutils literal notranslate\">DISALLOWED_USER_AGENTS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-FORCE_SCRIPT_NAME\"><code class=\"xref std std-setting docutils literal notranslate\">FORCE_SCRIPT_NAME</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-INTERNAL_IPS\"><code class=\"xref std std-setting docutils literal notranslate\">INTERNAL_IPS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-MIDDLEWARE\"><code class=\"xref std std-setting docutils literal notranslate\">MIDDLEWARE</code></a></p></li>\n<li><p>Slándáil</p>\n<ul>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SECURE_CONTENT_TYPE_NOSNIFF\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_CONTENT_TYPE_NOSNIFF</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SECURE_CROSS_ORIGIN_OPENER_POLICY\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_CROSS_ORIGIN_OPENER_POLICY</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SECURE_HSTS_INCLUDE_SUBDOMAINS\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_HSTS_INCLUDE_SUBDOMAINS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SECURE_HSTS_PRELOAD\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_HSTS_PRELOAD</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SECURE_HSTS_SECONDS\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_HSTS_SECONDS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SECURE_PROXY_SSL_HEADER\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_PROXY_SSL_HEADER</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SECURE_REDIRECT_EXEMPT\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_REDIRECT_EXEMPT</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SECURE_REFERRER_POLICY\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_REFERRER_POLICY</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SECURE_SSL_HOST\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_SSL_HOST</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SECURE_SSL_REDIRECT\"><code class=\"xref std std-setting docutils literal notranslate\">SECURE_SSL_REDIRECT</code></a></p></li>\n</ul>\n</li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SIGNED_COOKIE_LEGACY_SALT_FALLBACK\"><code class=\"xref std std-setting docutils literal notranslate\">SIGNED_COOKIE_LEGACY_SALT_FALLBACK</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SIGNING_BACKEND\"><code class=\"xref std std-setting docutils literal notranslate\">SIGNING_BACKEND</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-USE_X_FORWARDED_HOST\"><code class=\"xref std std-setting docutils literal notranslate\">USE_X_FORWARDED_HOST</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-USE_X_FORWARDED_PORT\"><code class=\"xref std std-setting docutils literal notranslate\">USE_X_FORWARDED_PORT</code></a></p></li>\n<li><p>: socrú: WSGI_APPLICATION</p></li>\n</ul>\n</section>\n<section id=\"id10\">\n<h3>Logáil<a class=\"heading-anchor\" href=\"#id10\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p>: socrú: LOGGING</p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-LOGGING_CONFIG\"><code class=\"xref std std-setting docutils literal notranslate\">LOGGING_CONFIG</code></a></p></li>\n</ul>\n</section>\n<section id=\"models\">\n<h3>Samhla<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><a class=\"reference internal\" href=\"#std-setting-ABSOLUTE_URL_OVERRIDES\"><code class=\"xref std std-setting docutils literal notranslate\">ABSOLUTE_URL_OVERRIDES</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-FIXTURE_DIRS\"><code class=\"xref std std-setting docutils literal notranslate\">FIXTURE_DIRS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-INSTALLED_APPS\"><code class=\"xref std std-setting docutils literal notranslate\">INSTALLED_APPS</code></a></p></li>\n</ul>\n</section>\n<section id=\"security\">\n<h3>Slándáil<a class=\"heading-anchor\" href=\"#security\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p>Cosaint Falsaíochta Iarratas Trasláithreáin</p>\n<ul>\n<li><p><a class=\"reference internal\" href=\"#std-setting-CSRF_COOKIE_DOMAIN\"><code class=\"xref std std-setting docutils literal notranslate\">CSRF_COOKIE_DOMAIN</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-CSRF_COOKIE_NAME\"><code class=\"xref std std-setting docutils literal notranslate\">CSRF_COOKIE_NAME</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-CSRF_COOKIE_PATH\"><code class=\"xref std std-setting docutils literal notranslate\">CSRF_COOKIE_PATH</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-CSRF_COOKIE_SAMESITE\"><code class=\"xref std std-setting docutils literal notranslate\">CSRF_COOKIE_SAMESITE</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-CSRF_COOKIE_SECURE\"><code class=\"xref std std-setting docutils literal notranslate\">CSRF_COOKIE_SECURE</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-CSRF_FAILURE_VIEW\"><code class=\"xref std std-setting docutils literal notranslate\">CSRF_FAILURE_VIEW</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-CSRF_HEADER_NAME\"><code class=\"xref std std-setting docutils literal notranslate\">CSRF_HEADER_NAME</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-CSRF_TRUSTED_ORIGINS\"><code class=\"xref std std-setting docutils literal notranslate\">CSRF_TRUSTED_ORIGINS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-CSRF_USE_SESSIONS\"><code class=\"xref std std-setting docutils literal notranslate\">CSRF_USE_SESSIONS</code></a></p></li>\n</ul>\n</li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SECRET_KEY\"><code class=\"xref std std-setting docutils literal notranslate\">SECRET_KEY</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SECRET_KEY_FALLBACKS\"><code class=\"xref std std-setting docutils literal notranslate\">SECRET_KEY_FALLBACKS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-X_FRAME_OPTIONS\"><code class=\"xref std std-setting docutils literal notranslate\">X_FRAME_OPTIONS</code></a></p></li>\n</ul>\n</section>\n<section id=\"serialization\">\n<h3>Sraitheadh<a class=\"heading-anchor\" href=\"#serialization\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p><a class=\"reference internal\" href=\"#std-setting-DEFAULT_CHARSET\"><code class=\"xref std std-setting docutils literal notranslate\">DEFAULT_CHARSET</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-SERIALIZATION_MODULES\"><code class=\"xref std std-setting docutils literal notranslate\">SERIALIZATION_MODULES</code></a></p></li>\n</ul>\n</section>\n<section id=\"id11\">\n<h3>Teimpléid<a class=\"heading-anchor\" href=\"#id11\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p><a class=\"reference internal\" href=\"#std-setting-TEMPLATES\"><code class=\"xref std std-setting docutils literal notranslate\">TEMPLATES</code></a></p></li>\n</ul>\n</section>\n<section id=\"testing\">\n<h3>Tástáil<a class=\"heading-anchor\" href=\"#testing\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p>&lt;DATABASE-TEST&gt;Bunachar sonraí: :setting: <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>TEST `</p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-TEST_NON_SERIALIZED_APPS\"><code class=\"xref std std-setting docutils literal notranslate\">TEST_NON_SERIALIZED_APPS</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-TEST_RUNNER\"><code class=\"xref std std-setting docutils literal notranslate\">TEST_RUNNER</code></a></p></li>\n</ul>\n</section>\n<section id=\"urls\">\n<h3>URLanna<a class=\"heading-anchor\" href=\"#urls\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p><a class=\"reference internal\" href=\"#std-setting-APPEND_SLASH\"><code class=\"xref std std-setting docutils literal notranslate\">APPEND_SLASH</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-PREPEND_WWW\"><code class=\"xref std std-setting docutils literal notranslate\">PREPEND_WWW</code></a></p></li>\n<li><p><a class=\"reference internal\" href=\"#std-setting-ROOT_URLCONF\"><code class=\"xref std std-setting docutils literal notranslate\">ROOT_URLCONF</code></a></p></li>\n</ul>\n</section>\n</section>","rootId":"settings","toc":[{"title":"Socruithe lárnacha","anchor":"core-settings","children":[{"title":"URL_ABSOLUTE_OVERRIDES","anchor":"absolute-url-overrides","children":[]},{"title":"``RIARACHÁIN ``","anchor":"admins","children":[]},{"title":"ÓSTÁLACHA CEADAITHEAD","anchor":"allowed-hosts","children":[]},{"title":"APPEND_SLASH","anchor":"append-slash","children":[]},{"title":"CÁIS","anchor":"caches","children":[{"title":"`CÚLT","anchor":"backend","children":[]},{"title":"EOCHAIRFHEIDHME","anchor":"key-function","children":[]},{"title":"EOCHAIR_RÉAMH","anchor":"key-prefix","children":[]},{"title":"SUÍOMH","anchor":"location","children":[]},{"title":"ROGHANNAÍ","anchor":"options","children":[]},{"title":"TIMEOUT","anchor":"timeout","children":[]},{"title":"LEAGAN","anchor":"version","children":[]}]},{"title":"CACHE_MIDDLEWARE_ALIAS","anchor":"cache-middleware-alias","children":[]},{"title":"CACHE_MIDDLEWARE_KEY_PREFIX","anchor":"cache-middleware-key-prefix","children":[]},{"title":"CACHE_MIDDLEWARE_SOICIND","anchor":"cache-middleware-seconds","children":[]},{"title":"CSRF_COOKIE_AOS","anchor":"csrf-cookie-age","children":[]},{"title":"CSRF_COOKIE_DOMAIN","anchor":"csrf-cookie-domain","children":[]},{"title":"CSRF_COOKIE_HTTPONLY","anchor":"csrf-cookie-httponly","children":[]},{"title":"`AINM_CSRF_COOKIE","anchor":"csrf-cookie-name","children":[]},{"title":"CSRF_COOKIE_PATH","anchor":"csrf-cookie-path","children":[]},{"title":"CSRF_COOKIE_SAMESITE","anchor":"csrf-cookie-samesite","children":[]},{"title":"CSRF_COOKIE_SECURE","anchor":"csrf-cookie-secure","children":[]},{"title":"SEISIÚINT_ÚSÁID_CSRF","anchor":"csrf-use-sessions","children":[]},{"title":"CSRF_FAILURE_VIEW","anchor":"csrf-failure-view","children":[]},{"title":"`CSRF_HEADER_AINM","anchor":"csrf-header-name","children":[]},{"title":"CSRF_TRUSTED_ORIGINS","anchor":"csrf-trusted-origins","children":[]},{"title":"BUNACHAIR SONRAÍ","anchor":"databases","children":[{"title":"IARRATAITHE_ATOMIC","anchor":"atomic-requests","children":[]},{"title":"AUTOCOMIT","anchor":"autocommit","children":[]},{"title":"INNEAL","anchor":"engine","children":[]},{"title":"ÓSTACH","anchor":"host","children":[]},{"title":"``AINM `","anchor":"name","children":[]},{"title":"CONN_MAX_AOS","anchor":"conn-max-age","children":[]},{"title":"SEICEÁLACHA SLÁINTE CONN","anchor":"conn-health-checks","children":[]},{"title":"ROGHANNAÍ","anchor":"std-setting-OPTIONS","children":[]},{"title":"``PASFHOCAL ``","anchor":"password","children":[]},{"title":"``CALAFOIRT'","anchor":"port","children":[]},{"title":"CRIOS_AMA","anchor":"time-zone","children":[]},{"title":"CÚRSAÍ TAOBH FREASTALAÍ_DÍCHUMASACHA","anchor":"disable-server-side-cursors","children":[]},{"title":"``ÚSÁIDEOIR ``","anchor":"user","children":[]},{"title":"TÁSTÁLA","anchor":"test","children":[{"title":"CHARSET","anchor":"charset","children":[]},{"title":"``COMHLÁNÚ ``","anchor":"collation","children":[]},{"title":"``SPLEÁCHAIS ``","anchor":"dependencies","children":[]},{"title":"`IMIRCE","anchor":"migrate","children":[]},{"title":"SCÁTHÁN","anchor":"mirror","children":[]},{"title":"``AINM `","anchor":"std-setting-TEST_NAME","children":[]},{"title":"TEIMPLÉAD","anchor":"template","children":[]},{"title":"CRUTHAITHE_DB","anchor":"create-db","children":[]},{"title":"CHRUTHAITHE_ÚSÁIDEOIR","anchor":"create-user","children":[]},{"title":"``ÚSÁIDEOIR ``","anchor":"std-setting-TEST_USER","children":[]},{"title":"``PASFHOCAL ``","anchor":"std-setting-TEST_PASSWD","children":[]},{"title":"COMHAD BAINISTITHE ORACLE","anchor":"oracle-managed-files","children":[]},{"title":"TBLSPACE","anchor":"tblspace","children":[]},{"title":"TBLSPACE_TMP","anchor":"tblspace-tmp","children":[]},{"title":"DATAFILE","anchor":"datafile","children":[]},{"title":"DATAFILE_TMP","anchor":"datafile-tmp","children":[]},{"title":"DATAFILE_MAXSIZE","anchor":"datafile-maxsize","children":[]},{"title":"DATAFILE_TMP_MAXSIZE","anchor":"datafile-tmp-maxsize","children":[]},{"title":"MÉID_DATAFILE","anchor":"datafile-size","children":[]},{"title":"DATAFILE_TMP_SIZE","anchor":"datafile-tmp-size","children":[]},{"title":"DATAFILE_EXTSIZE","anchor":"datafile-extsize","children":[]},{"title":"DATAFILE_TMP_EXTSIZE","anchor":"datafile-tmp-extsize","children":[]}]}]},{"title":"``SONRA_UASLÓDÁIL_MÉID_CUIMHNEACHÁIN UASTA ``","anchor":"data-upload-max-memory-size","children":[]},{"title":"SONRA_UASLÓDÁIL_UIMHREACH_RÉIMSÍ UASGHAIR","anchor":"data-upload-max-number-fields","children":[]},{"title":"``SONRAÍ_UASLÓDÁIL_UIMHREACH_COMHAID ``","anchor":"data-upload-max-number-files","children":[]},{"title":"RÓDAIRÍ_BUNACHAR SONRAÍ","anchor":"database-routers","children":[]},{"title":"FORMÁID_DÁTA","anchor":"date-format","children":[]},{"title":"``FORMÁIDÍ DÁTA_IONCHUIRIÚCHÁIN ``","anchor":"date-input-formats","children":[]},{"title":"FORMÁID_DÁTAIME","anchor":"datetime-format","children":[]},{"title":"``FORMÁIDÍ DÁTAIME_IONCHUIRIÚCHÁIN ``","anchor":"datetime-input-formats","children":[]},{"title":"DEBUG","anchor":"debug","children":[]},{"title":"`EISCEACHTAIS_IOMADAITHE_DEBUG","anchor":"debug-propagate-exceptions","children":[]},{"title":"DEIGHILTEOIR DEACHIMAL","anchor":"decimal-separator","children":[]},{"title":"RÉAMHSHOCRAITHE_AUTO_FIELD","anchor":"default-auto-field","children":[]},{"title":"DEFAULT_CHARSET","anchor":"default-charset","children":[]},{"title":"TUAIRISEOIRÍ_EISCEACHTÁIL_RÉAMHSHOCRAITHE","anchor":"default-exception-reporter","children":[]},{"title":"SCAGAIR_TUAIRISCITHEOIRÍ_EISCEACHTÁIL_RÉAMHSHOCRAITHE","anchor":"default-exception-reporter-filter","children":[]},{"title":"DEFAULT_FROM_RÍOMHPHOST","anchor":"default-from-email","children":[]},{"title":"RÉAMHSHOCRAITHE_INDEX_TABLESPACE","anchor":"default-index-tablespace","children":[]},{"title":"DEFAULT_TABLESPACE","anchor":"default-tablespace","children":[]},{"title":"GNÍOMHAIRÍ_ÚSÁIDEOIR_NEAMHCHEADAITHE","anchor":"disallowed-user-agents","children":[]},{"title":"RÍOMHPHOST_BACKEND","anchor":"email-backend","children":[]},{"title":"RÍOMHPHOST_FILE_PATH","anchor":"email-file-path","children":[]},{"title":"RÍOMHPHOST_ÓST","anchor":"email-host","children":[]},{"title":"``RÍOMHPHOST_HOST_PASFHOCAL ``","anchor":"email-host-password","children":[]},{"title":"``RÍOMHPHOST_HOST_ÚSÁIDEOIR ``","anchor":"email-host-user","children":[]},{"title":"``RÍOMHPHOST_PORT `","anchor":"email-port","children":[]},{"title":"RÍOMHPHOST_ÁBHAIR_RÉAMH","anchor":"email-subject-prefix","children":[]},{"title":"RÍOMHPHOST_ÚSÁID_ÁITIÚIL TIM","anchor":"email-use-localtime","children":[]},{"title":"`RÍOMHPHOST_ÚSÁID_TLS","anchor":"email-use-tls","children":[]},{"title":"RÍOMHPHOST_ÚSÁID_SSL","anchor":"email-use-ssl","children":[]},{"title":"RÍOMHPHOST_SSL_CERTFILE","anchor":"email-ssl-certfile","children":[]},{"title":"RÍOMHPHOST_SSL_KEYFILE","anchor":"email-ssl-keyfile","children":[]},{"title":"RÍOMHPHOST_TIMEOUT","anchor":"email-timeout","children":[]},{"title":"LÁIMHSEÁLAITHE COMHAI_UASLÓDÁLAÍ","anchor":"file-upload-handlers","children":[]},{"title":"FILE_UPLOAD_MAX_MÉIDE_CUIMHNEACH","anchor":"file-upload-max-memory-size","children":[]},{"title":"``CEADÚNA_STIÚRTHÓIREACH_UASLÓDÁIL_COMHAD ``","anchor":"file-upload-directory-permissions","children":[]},{"title":"CEADÚNA_UASLÓDÁIL_FILE","anchor":"file-upload-permissions","children":[]},{"title":"FILE_UPLOAD_TEMP_DIR","anchor":"file-upload-temp-dir","children":[]},{"title":"`CHÉAD_LAETH_DEN TSEACHTAINE","anchor":"first-day-of-week","children":[]},{"title":"FIXTURE_DIRS","anchor":"fixture-dirs","children":[]},{"title":"`AINM_SCRIPT_FORCE","anchor":"force-script-name","children":[]},{"title":"FOIRM_RENDERER","anchor":"form-renderer","children":[]},{"title":"FOIRMS_URLFIELD_ASSUME_HTTPS","anchor":"forms-urlfield-assume-https","children":[]},{"title":"MODÚL_BHEALACH_FORMÁID","anchor":"format-module-path","children":[]},{"title":"URLACHA NEAMHCHOITIANTA 404_","anchor":"ignorable-404-urls","children":[]},{"title":"APPS_SHUITEÁIL","anchor":"installed-apps","children":[]},{"title":"IPS_INMHEÁN","anchor":"internal-ips","children":[]},{"title":"CÓD_TEANGA","anchor":"language-code","children":[]},{"title":"``TEANGA_FIANÁIN AOIS ``","anchor":"language-cookie-age","children":[]},{"title":"TEANGA_FIANÁINE_FEARAIN","anchor":"language-cookie-domain","children":[]},{"title":"TEANGA_FIANÁIN_HTTPONLY","anchor":"language-cookie-httponly","children":[]},{"title":"AINM_FIANÁIN TEANGA","anchor":"language-cookie-name","children":[]},{"title":"TEANGA_FIANÁIN BHEALAIGH","anchor":"language-cookie-path","children":[]},{"title":"TEANGA_FIANÁN_COMHCHOSAITHE","anchor":"language-cookie-samesite","children":[]},{"title":"TEANGA_FIANÁINE_SLÁNDÁLA","anchor":"language-cookie-secure","children":[]},{"title":"``TEANGACHA ``","anchor":"languages","children":[]},{"title":"TEANGACH_BIDI","anchor":"languages-bidi","children":[]},{"title":"``COSÁIN ÁITIÚLA ``","anchor":"locale-paths","children":[]},{"title":"``LOGÁIL ISTEACH ``","anchor":"logging","children":[]},{"title":"LOGING_CONFIG","anchor":"logging-config","children":[]},{"title":"``BAINISTEOIRÍ ``","anchor":"managers","children":[]},{"title":"MEDIA_FRÉAMH","anchor":"media-root","children":[]},{"title":"``MEDIA_URL ``","anchor":"media-url","children":[]},{"title":"``MEÁN-EARRAÍ ``","anchor":"middleware","children":[]},{"title":"MODÚL_IMIRCE","anchor":"migration-modules","children":[]},{"title":"FORMÁID_LAETH_MHÍ","anchor":"month-day-format","children":[]},{"title":"``UIMHREACH_GHRÚPÁIL ``","anchor":"number-grouping","children":[]},{"title":"PREPEND_WWW","anchor":"prepend-www","children":[]},{"title":"ROOT_URLCONF","anchor":"root-urlconf","children":[]},{"title":"EOCHAIR_RÚNA","anchor":"secret-key","children":[]},{"title":"EOCHAIR_FALLBACKS","anchor":"secret-key-fallbacks","children":[]},{"title":"CINEÁL_ÁBHAR SLÁNDÁILTE_NOSNIFF","anchor":"secure-content-type-nosniff","children":[]},{"title":"``BEARTAS OSCAILTEOIREACH_THRAS_BUNAIDH SLÁNDÁILTE ``","anchor":"secure-cross-origin-opener-policy","children":[]},{"title":"SLÁNDA_HSTS_INCLUDE_SUBDOMAINS","anchor":"secure-hsts-include-subdomains","children":[]},{"title":"SLÁNDA_HSTS_PRELOAD","anchor":"secure-hsts-preload","children":[]},{"title":"SLÁNDA_HSTS_SOICIND","anchor":"secure-hsts-seconds","children":[]},{"title":"SLÁNT_PROXY_SSL_HEADER","anchor":"secure-proxy-ssl-header","children":[]},{"title":"SLÁNDA_ATHREDIRECT_EISEOLÚINT","anchor":"secure-redirect-exempt","children":[]},{"title":"BEARTAS ATREORÓIR_SLÁNDÁLA","anchor":"secure-referrer-policy","children":[]},{"title":"SSL_ÓST_SÁBHÁILTE","anchor":"secure-ssl-host","children":[]},{"title":"SECURE_SSL_REDIRECT","anchor":"secure-ssl-redirect","children":[]},{"title":"MODÚL_SRAITHEACH","anchor":"serialization-modules","children":[]},{"title":"FREASTALAÍ_RÍOMHPHOST","anchor":"server-email","children":[]},{"title":"FORMÁID_DÁTA_GEARR","anchor":"short-date-format","children":[]},{"title":"FORMÁID_DÁTA GEARRTHA","anchor":"short-datetime-format","children":[]},{"title":"SIGNED_COOKIE_LEGACY_SALT_FALLBACK","anchor":"signed-cookie-legacy-salt-fallback","children":[]},{"title":"`SIGNING_BACKEND","anchor":"signing-backend","children":[]},{"title":"``SEICEÁLACH_CHÓRAIS CIOSTAITHE ``","anchor":"silenced-system-checks","children":[]},{"title":"STÓRÁLAÍ","anchor":"storages","children":[]},{"title":"TEIMPLÉID","anchor":"templates","children":[{"title":"`CÚLT","anchor":"std-setting-TEMPLATES-BACKEND","children":[]},{"title":"``AINM `","anchor":"std-setting-TEMPLATES-NAME","children":[]},{"title":"`DIRS","anchor":"dirs","children":[]},{"title":"APP_DIRS","anchor":"app-dirs","children":[]},{"title":"ROGHANNAÍ","anchor":"std-setting-TEMPLATES-OPTIONS","children":[]}]},{"title":"TÁST_RUNNER","anchor":"test-runner","children":[]},{"title":"TÁSTÁIL_NEAM_AIPEANNA SRAITHEACH","anchor":"test-non-serialized-apps","children":[]},{"title":"``MÍLTE DEIGHILTEOIR ``","anchor":"thousand-separator","children":[]},{"title":"FORMÁID_AIM","anchor":"time-format","children":[]},{"title":"``FORMÁID_IONCHUIR_AMA ``","anchor":"time-input-formats","children":[]},{"title":"CRIOS_AMA","anchor":"std-setting-TIME_ZONE","children":[]},{"title":"USE_I18N","anchor":"use-i18n","children":[]},{"title":"``ÚSÁID_MÍLTE DEIGHILTEOIR ``","anchor":"use-thousand-separator","children":[]},{"title":"``ÚSÁID_TZ ``","anchor":"use-tz","children":[]},{"title":"ÚSÁID_X_FORWARDED_ÓST","anchor":"use-x-forwarded-host","children":[]},{"title":"``ÚSÁID_X_FORWARDED_PORT `","anchor":"use-x-forwarded-port","children":[]},{"title":"WSGI_IARRATAS","anchor":"wsgi-application","children":[]},{"title":"FORMÁID BLIAN_MHÍOS","anchor":"year-month-format","children":[]},{"title":"ROGHANNA X_FRAME","anchor":"x-frame-options","children":[]}]},{"title":"Authas","anchor":"auth","children":[{"title":"BACKENDATION_BACKENDS","anchor":"authentication-backends","children":[]},{"title":"``AUTH_USER_MODEL ``","anchor":"auth-user-model","children":[]},{"title":"``LOG_REDIRECT_URL ``","anchor":"login-redirect-url","children":[]},{"title":"LOG_URL","anchor":"login-url","children":[]},{"title":"``LOGOUT_REDIRECT_URL ``","anchor":"logout-redirect-url","children":[]},{"title":"PASFHOCAL_RESET_TIMEOUT","anchor":"password-reset-timeout","children":[]},{"title":"PASSWORD_HASHERS","anchor":"password-hashers","children":[]},{"title":"BAILÍOCHTAITHEOIR_PASSWORD_AUTH","anchor":"auth-password-validators","children":[]}]},{"title":"Teachtaireachtaí","anchor":"messages","children":[{"title":"``LEIBHÉAL_TEACHTAIREACHTAÍ ``","anchor":"message-level","children":[]},{"title":"TEACHTAIREACHTAÍ STÓRÁLA","anchor":"message-storage","children":[]},{"title":"``TAG_TEACHTAIREACHTAÍ ``","anchor":"message-tags","children":[]}]},{"title":"Seisiúin","anchor":"sessions","children":[{"title":"SEISIÓN_CACHE_ALIAS","anchor":"session-cache-alias","children":[]},{"title":"SEISIÓN_COOKIE_AOS","anchor":"session-cookie-age","children":[]},{"title":"SESSION_COOKIE_DOMAIN","anchor":"session-cookie-domain","children":[]},{"title":"SESSION_COOKIE_HTTPONLY","anchor":"session-cookie-httponly","children":[]},{"title":"`SESSION_COOKIE_NAME","anchor":"session-cookie-name","children":[]},{"title":"SEISIÓN_COOKIE_PATH","anchor":"session-cookie-path","children":[]},{"title":"SEISIÓN_FIANÁINE_SAMESITE","anchor":"session-cookie-samesite","children":[]},{"title":"SEISIÚN_FIANÁIN SHÁBHÁILTE","anchor":"session-cookie-secure","children":[]},{"title":"INNEAL_SEISIÚNA","anchor":"session-engine","children":[]},{"title":"``SEISIÚIN_DEIGH_AT_BRABHSÁLAÍ_DÚNTA ``","anchor":"session-expire-at-browser-close","children":[]},{"title":"SESSION_FILE_PATH","anchor":"session-file-path","children":[]},{"title":"SEISIÚN_SÁBHA_GACH IARRAT","anchor":"session-save-every-request","children":[]},{"title":"SESSION_SERIALIZER","anchor":"session-serializer","children":[]}]},{"title":"Suíomhanna","anchor":"sites","children":[{"title":"ID_LÁITHREACH","anchor":"site-id","children":[]}]},{"title":"Comhaid Statach","anchor":"static-files","children":[{"title":"FRÉAMH_STATIC","anchor":"static-root","children":[]},{"title":"``STATIC_URL ``","anchor":"static-url","children":[]},{"title":"COMHAD STATIC_DIRS","anchor":"staticfiles-dirs","children":[{"title":"Réamhréamhacha (roghnach)","anchor":"prefixes-optional","children":[]}]},{"title":"AIMSITHEOIRÍ COMHAID STATAICE","anchor":"staticfiles-finders","children":[]}]},{"title":"Innéacs Áiritheach na Socruithe","anchor":"core-settings-topical-index","children":[{"title":"Cache","anchor":"cache","children":[]},{"title":"Bunachar Sonraí","anchor":"database","children":[]},{"title":"Dífhabhtú","anchor":"debugging","children":[]},{"title":"Ríomhphost","anchor":"email","children":[]},{"title":"Tuairisciú earrá","anchor":"error-reporting","children":[]},{"title":"Uaslódálacha comhad","anchor":"file-uploads","children":[]},{"title":"Foirmeacha","anchor":"forms","children":[]},{"title":"Domhandú (i18n/l10n)","anchor":"globalization-i18n-l10n","children":[{"title":"Idirnáisiúnú (i18n)","anchor":"internationalization-i18n","children":[]},{"title":"Logánú (l10n)","anchor":"localization-l10n","children":[]}]},{"title":"HTTP","anchor":"http","children":[]},{"title":"Logáil","anchor":"id10","children":[]},{"title":"Samhla","anchor":"models","children":[]},{"title":"Slándáil","anchor":"security","children":[]},{"title":"Sraitheadh","anchor":"serialization","children":[]},{"title":"Teimpléid","anchor":"id11","children":[]},{"title":"Tástáil","anchor":"testing","children":[]},{"title":"URLanna","anchor":"urls","children":[]}]}],"breadcrumbs":[{"docname":"ref/index","title":"Tagairt API","url":"/ga/5.2/ref/"}],"prev":{"docname":"ref/schema-editor","title":"SchemaEditor","url":"/ga/5.2/ref/schema-editor/"},"next":{"docname":"ref/signals","title":"Comharthaí","url":"/ga/5.2/ref/signals/"},"formats":{"html":"/ga/5.2/ref/settings/","markdown":"/ga/5.2/ref/settings.md","json":"/ga/5.2/ref/settings.json"},"source":"https://github.com/django/django/blob/stable/5.2.x/docs/ref/settings.txt","official":"https://docs.djangoproject.com/ga/5.2/ref/settings/","inVersions":["6.1","6.0","5.2"],"inLocales":["en","sv","zh-hans","ga","fr","ja","id","it","pt-br","ko","es","el","pl"]}