{"title":"Geolocation le GeoIP2","version":"6.0","locale":"ga","docname":"ref/contrib/gis/geoip2","url":"/ga/6.0/ref/contrib/gis/geoip2/","canonical":"https://djangodocs.dev/ga/6.0/ref/contrib/gis/geoip2/","summary":"Forbhreathnú Link to this heading # <geoip2>Is fillteán é an réad: Class: GeoIP2 don leabharlann: pypi: MaxMind geoip2 Python. [#] _ D'fhonn geolocation bunaithe ar…","html":"<span id=\"geolocation-with-geoip2\"></span><h1>Geolocation le GeoIP2<a class=\"heading-anchor\" href=\"#module-django.contrib.gis.geoip2\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<section id=\"overview\">\n<span id=\"geoip2-overview\"></span><h2>Forbhreathnú<a class=\"heading-anchor\" href=\"#overview\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>&lt;geoip2&gt;Is fillteán é an réad: Class: GeoIP2 don leabharlann: pypi: MaxMind geoip2 Python. [#] _</p>\n<p>D'fhonn geolocation bunaithe ar IP a dhéanamh, teastaíonn an réad:class: GeoIP2 an pacáiste Python:pypi: geoip2 agus tacair sonraí GeoIP <code class=\"docutils literal notranslate\"><span class=\"pre\">Country</span> <span class=\"pre\">``agus/nó</span> <span class=\"pre\">``Cathra`</span> <span class=\"pre\">i</span> <span class=\"pre\">bhformáid</span> <span class=\"pre\">dénártha</span> <span class=\"pre\">(ní</span> <span class=\"pre\">oibreoidh</span> <span class=\"pre\">na</span> <span class=\"pre\">comhaid</span> <span class=\"pre\">CSV!)</span> <span class=\"pre\">,</span> <span class=\"pre\">íoslódáilte</span> <span class=\"pre\">ó</span> <span class=\"pre\">shuíomhanna</span> <span class=\"pre\">gréasáin</span> <span class=\"pre\">`MaxMind`__</span> <span class=\"pre\">nó</span> <span class=\"pre\">`DB-IP`__.</span> <span class=\"pre\">Faigh</span> <span class=\"pre\">na</span> <span class=\"pre\">comhaid</span> <span class=\"pre\">``Geolite2-Country.mmdb.gz</span></code> agus <code class=\"docutils literal notranslate\"><span class=\"pre\">Geolite2-City.MMDB.GZ</span></code> agus dí-zip iad i eolaire a fhreagraíonn don socrú: GEOIP_PATH.</p>\n<p>Ina theannta sin, moltar leabharlann libmaxminddb C `__ a shuiteáil, ionas gur féidir le ``geoip2 luas níos tapúla leabharlann C a ghiaráil.</p>\n</section>\n<section id=\"example\">\n<h2>Sampla<a class=\"heading-anchor\" href=\"#example\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Seo sampla dá úsáid:</p>\n<div class=\"code-block\" data-language=\"pycon\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Python console</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=\"Python console code\"><code><span class=\"gp\">&gt;&gt;&gt; </span><span class=\"kn\">from</span><span class=\"w\"> </span><span class=\"nn\">django.contrib.gis.geoip2</span><span class=\"w\"> </span><span class=\"kn\">import</span> <span class=\"n\">GeoIP2</span>\n<span class=\"gp\">&gt;&gt;&gt; </span><span class=\"n\">g</span> <span class=\"o\">=</span> <span class=\"n\">GeoIP2</span><span class=\"p\">()</span>\n<span class=\"gp\">&gt;&gt;&gt; </span><span class=\"n\">g</span><span class=\"o\">.</span><span class=\"n\">country</span><span class=\"p\">(</span><span class=\"s2\">&quot;google.com&quot;</span><span class=\"p\">)</span>\n<span class=\"go\">{&#39;continent_code&#39;: &#39;NA&#39;,</span>\n<span class=\"go\"> &#39;continent_name&#39;: &#39;North America&#39;,</span>\n<span class=\"go\"> &#39;country_code&#39;: &#39;US&#39;,</span>\n<span class=\"go\"> &#39;country_name&#39;: &#39;United States&#39;,</span>\n<span class=\"go\"> &#39;is_in_european_union&#39;: False}</span>\n<span class=\"gp\">&gt;&gt;&gt; </span><span class=\"n\">g</span><span class=\"o\">.</span><span class=\"n\">city</span><span class=\"p\">(</span><span class=\"s2\">&quot;72.14.207.99&quot;</span><span class=\"p\">)</span>\n<span class=\"go\">{&#39;accuracy_radius&#39;: 1000,</span>\n<span class=\"go\"> &#39;city&#39;: &#39;Mountain View&#39;,</span>\n<span class=\"go\"> &#39;continent_code&#39;: &#39;NA&#39;,</span>\n<span class=\"go\"> &#39;continent_name&#39;: &#39;North America&#39;,</span>\n<span class=\"go\"> &#39;country_code&#39;: &#39;US&#39;,</span>\n<span class=\"go\"> &#39;country_name&#39;: &#39;United States&#39;,</span>\n<span class=\"go\"> &#39;is_in_european_union&#39;: False,</span>\n<span class=\"go\"> &#39;latitude&#39;: 37.419200897216797,</span>\n<span class=\"go\"> &#39;longitude&#39;: -122.05740356445312,</span>\n<span class=\"go\"> &#39;metro_code&#39;: 807,</span>\n<span class=\"go\"> &#39;postal_code&#39;: &#39;94043&#39;,</span>\n<span class=\"go\"> &#39;region_code&#39;: &#39;CA&#39;,</span>\n<span class=\"go\"> &#39;region_name&#39;: &#39;California&#39;,</span>\n<span class=\"go\"> &#39;time_zone&#39;: &#39;America/Los_Angeles&#39;,</span>\n<span class=\"go\"> &#39;dma_code&#39;: 807,</span>\n<span class=\"go\"> &#39;region&#39;: &#39;CA&#39;}</span>\n<span class=\"gp\">&gt;&gt;&gt; </span><span class=\"n\">g</span><span class=\"o\">.</span><span class=\"n\">lat_lon</span><span class=\"p\">(</span><span class=\"s2\">&quot;salon.com&quot;</span><span class=\"p\">)</span>\n<span class=\"go\">(39.0437, -77.4875)</span>\n<span class=\"gp\">&gt;&gt;&gt; </span><span class=\"n\">g</span><span class=\"o\">.</span><span class=\"n\">lon_lat</span><span class=\"p\">(</span><span class=\"s2\">&quot;uh.edu&quot;</span><span class=\"p\">)</span>\n<span class=\"go\">(-95.4342, 29.834)</span>\n<span class=\"gp\">&gt;&gt;&gt; </span><span class=\"n\">g</span><span class=\"o\">.</span><span class=\"n\">geos</span><span class=\"p\">(</span><span class=\"s2\">&quot;24.124.1.80&quot;</span><span class=\"p\">)</span><span class=\"o\">.</span><span class=\"n\">wkt</span>\n<span class=\"go\">&#39;POINT (-97 38)&#39;</span>\n</code></pre></div>\n</section>\n<section id=\"api-reference\">\n<h2>Tagairt API<a class=\"heading-anchor\" href=\"#api-reference\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<dl class=\"py class\">\n<dt class=\"sig sig-object py\" id=\"django.contrib.gis.geoip2.GeoIP2\">\n<em class=\"property\"><span class=\"k\"><span class=\"pre\">class</span></span><span class=\"w\"> </span></em><span class=\"sig-name descname\"><span class=\"pre\">GeoIP2</span></span><span class=\"sig-paren\">(</span><em class=\"sig-param\"><span class=\"n\"><span class=\"pre\">path</span></span><span class=\"o\"><span class=\"pre\">=</span></span><span class=\"default_value\"><span class=\"pre\">None</span></span></em>, <em class=\"sig-param\"><span class=\"n\"><span class=\"pre\">cache</span></span><span class=\"o\"><span class=\"pre\">=</span></span><span class=\"default_value\"><span class=\"pre\">0</span></span></em>, <em class=\"sig-param\"><span class=\"n\"><span class=\"pre\">country</span></span><span class=\"o\"><span class=\"pre\">=</span></span><span class=\"default_value\"><span class=\"pre\">None</span></span></em>, <em class=\"sig-param\"><span class=\"n\"><span class=\"pre\">city</span></span><span class=\"o\"><span class=\"pre\">=</span></span><span class=\"default_value\"><span class=\"pre\">None</span></span></em><span class=\"sig-paren\">)</span><a class=\"heading-anchor\" href=\"#django.contrib.gis.geoip2.GeoIP2\"><span class=\"visually-hidden\">Link to this definition</span><span aria-hidden=\"true\">#</span></a></dt>\n<dd></dd></dl>\n\n<p>Ní éilíonn aon pharaiméadair ar an réad <code class=\"docutils literal notranslate\"><span class=\"pre\">Geoip</span></code> chun na socruithe réamhshocraithe a úsáid. Mar sin féin, ar a laghad ba cheart an socrú: setting: GEOIP_PATH a shocrú le cosán suíomh do thacair sonraí GeoIP. Is féidir na heochairfhocail tionscnaíochta seo a leanas a úsáid chun aon cheann de na réamhshocruithe a shaincheapadh.</p>\n<div class=\"table-scroll\" role=\"region\" tabindex=\"0\" aria-label=\"Table\"><table class=\"docutils align-default\">\n<thead>\n<tr class=\"row-odd\"><th class=\"head\"><p>Argóintí Eochair</p></th>\n<th class=\"head\"><p>Cur síos</p></th>\n</tr>\n</thead>\n<tbody>\n<tr class=\"row-even\"><td><p><code class=\"docutils literal notranslate\"><span class=\"pre\">Conair</span></code></p></td>\n<td><p>Buneolaire chuig an áit a bhfuil sonraí GeoIP suite nó an cosán iomlán chuig an áit a bhfuil comhaid sonraí na cathrach nó na tíre (.mmdb`) suite. Glacann sé leis go bhfuil tacair shonraí na cathrach agus na tíre araon suite san eolaire seo; sáraíonn sé an socrú:setting: GEOIP_PATH.</p></td>\n</tr>\n<tr class=\"row-odd\"><td><p><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>Cache ``</p></td>\n<td><p>Na socruithe taisce agus na tacair sonraí GeoIP á oscailt suas. D'fhéadfadh sé a bheith ina shláimhir i (0, 1, 2, 4, 8) a fhreagraíonn do na socruithe API <code class=\"docutils literal notranslate\"><span class=\"pre\">MODE_AUTO</span></code>, MODE_MMAP_EXT`, MODE_MMAP`, agus <code class=\"docutils literal notranslate\"><span class=\"pre\">GEOIP_INDEX_CACHE</span> <span class=\"pre\">```MODE_MEMORY</span></code> C API, faoi seach. Réamhshocraithe go 0 (<code class=\"docutils literal notranslate\"><span class=\"pre\">MODE_AUTO</span></code>).</p></td>\n</tr>\n<tr class=\"row-even\"><td><p><code class=\"docutils literal notranslate\"><span class=\"pre\">`tír</span></code></p></td>\n<td><p>Ainm an chomhad sonraí tíre GeoIP. Réamhshocraithe go <code class=\"docutils literal notranslate\"><span class=\"pre\">Geolite2-Country.mmdb</span></code>. Cuireann an eochairfhocal seo a shocrú ar an socrú:setting: GEOIP_COUNTRY.</p></td>\n</tr>\n<tr class=\"row-odd\"><td><p><code class=\"docutils literal notranslate\"><span class=\"pre\">Cathair</span></code></p></td>\n<td><p>Ainm an chomhad sonraí cathrach GeoIP. Réamhshocraithe go <code class=\"docutils literal notranslate\"><span class=\"pre\">Geolite2-City.mmdb</span></code>. Cuireann an eochairfhocal seo a shocrú ar an socrú: socrú: GEOIP_CITY.</p></td>\n</tr>\n</tbody>\n</table>\n</div>\n</section>\n<section id=\"methods\">\n<h2>Modhanna<a class=\"heading-anchor\" href=\"#methods\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<section id=\"querying\">\n<h3>Ag fiosrú<a class=\"heading-anchor\" href=\"#querying\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Féadfaidh na gnáthaimh fiosrúcháin seo a leanas a bheith mar shampla de:class: ~iPaddress.ipv4Address nó:class: ~iPaddress.ipv6Address, seoladh IP teaghrán, nó ainm fearainn láncháilithe (FQDN). Mar shampla, “IPV4Address (“205.186.163.125&quot;) <code class=\"docutils literal notranslate\"><span class=\"pre\">,</span> <span class=\"pre\">``&quot;205.186.163.125&quot;</span></code>, agus <code class=\"docutils literal notranslate\"><span class=\"pre\">&quot;djangoproject.com&quot;</span></code> a bheadh paraiméadair bhailí fiosrúcháin.</p>\n<dl class=\"py method\">\n<dt class=\"sig sig-object py\" id=\"django.contrib.gis.geoip2.GeoIP2.city\">\n<span class=\"sig-prename descclassname\"><span class=\"pre\">GeoIP2.</span></span><span class=\"sig-name descname\"><span class=\"pre\">city</span></span><span class=\"sig-paren\">(</span><em class=\"sig-param\"><span class=\"n\"><span class=\"pre\">query</span></span></em><span class=\"sig-paren\">)</span><a class=\"heading-anchor\" href=\"#django.contrib.gis.geoip2.GeoIP2.city\"><span class=\"visually-hidden\">Link to this definition</span><span aria-hidden=\"true\">#</span></a></dt>\n<dd></dd></dl>\n\n<p>Tugann foclóir faisnéise cathrach ar ais don cheist a thugtar. D'fhéadfadh go mbeadh cuid de na luachanna sa fhoclóir neamhshainithe (<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>None <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>).</p>\n<dl class=\"py method\">\n<dt class=\"sig sig-object py\" id=\"django.contrib.gis.geoip2.GeoIP2.country\">\n<span class=\"sig-prename descclassname\"><span class=\"pre\">GeoIP2.</span></span><span class=\"sig-name descname\"><span class=\"pre\">country</span></span><span class=\"sig-paren\">(</span><em class=\"sig-param\"><span class=\"n\"><span class=\"pre\">query</span></span></em><span class=\"sig-paren\">)</span><a class=\"heading-anchor\" href=\"#django.contrib.gis.geoip2.GeoIP2.country\"><span class=\"visually-hidden\">Link to this definition</span><span aria-hidden=\"true\">#</span></a></dt>\n<dd></dd></dl>\n\n<p>Tugann foclóir ar ais leis an gcód tíre agus an tír don cheist a thugtar.</p>\n<dl class=\"py method\">\n<dt class=\"sig sig-object py\" id=\"django.contrib.gis.geoip2.GeoIP2.country_code\">\n<span class=\"sig-prename descclassname\"><span class=\"pre\">GeoIP2.</span></span><span class=\"sig-name descname\"><span class=\"pre\">country_code</span></span><span class=\"sig-paren\">(</span><em class=\"sig-param\"><span class=\"n\"><span class=\"pre\">query</span></span></em><span class=\"sig-paren\">)</span><a class=\"heading-anchor\" href=\"#django.contrib.gis.geoip2.GeoIP2.country_code\"><span class=\"visually-hidden\">Link to this definition</span><span aria-hidden=\"true\">#</span></a></dt>\n<dd></dd></dl>\n\n<p>Tugann an cód tíre a fhreagraíonn don cheist ar ais.</p>\n<dl class=\"py method\">\n<dt class=\"sig sig-object py\" id=\"django.contrib.gis.geoip2.GeoIP2.country_name\">\n<span class=\"sig-prename descclassname\"><span class=\"pre\">GeoIP2.</span></span><span class=\"sig-name descname\"><span class=\"pre\">country_name</span></span><span class=\"sig-paren\">(</span><em class=\"sig-param\"><span class=\"n\"><span class=\"pre\">query</span></span></em><span class=\"sig-paren\">)</span><a class=\"heading-anchor\" href=\"#django.contrib.gis.geoip2.GeoIP2.country_name\"><span class=\"visually-hidden\">Link to this definition</span><span aria-hidden=\"true\">#</span></a></dt>\n<dd></dd></dl>\n\n<p>Tugann ainm na tíre a fhreagraíonn don cheist ar ais.</p>\n</section>\n<section id=\"coordinate-retrieval\">\n<h3>Comhordú Aisghabháil<a class=\"heading-anchor\" href=\"#coordinate-retrieval\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<dl class=\"py method\">\n<dt class=\"sig sig-object py\" id=\"django.contrib.gis.geoip2.GeoIP2.lon_lat\">\n<span class=\"sig-prename descclassname\"><span class=\"pre\">GeoIP2.</span></span><span class=\"sig-name descname\"><span class=\"pre\">lon_lat</span></span><span class=\"sig-paren\">(</span><em class=\"sig-param\"><span class=\"n\"><span class=\"pre\">query</span></span></em><span class=\"sig-paren\">)</span><a class=\"heading-anchor\" href=\"#django.contrib.gis.geoip2.GeoIP2.lon_lat\"><span class=\"visually-hidden\">Link to this definition</span><span aria-hidden=\"true\">#</span></a></dt>\n<dd></dd></dl>\n\n<p>Tuipéar comhordaithe de (domhanfhad, domhanleithead) ar ais.</p>\n<dl class=\"py method\">\n<dt class=\"sig sig-object py\" id=\"django.contrib.gis.geoip2.GeoIP2.lat_lon\">\n<span class=\"sig-prename descclassname\"><span class=\"pre\">GeoIP2.</span></span><span class=\"sig-name descname\"><span class=\"pre\">lat_lon</span></span><span class=\"sig-paren\">(</span><em class=\"sig-param\"><span class=\"n\"><span class=\"pre\">query</span></span></em><span class=\"sig-paren\">)</span><a class=\"heading-anchor\" href=\"#django.contrib.gis.geoip2.GeoIP2.lat_lon\"><span class=\"visually-hidden\">Link to this definition</span><span aria-hidden=\"true\">#</span></a></dt>\n<dd></dd></dl>\n\n<p>Tuipéar comhordaithe de (domhanleithead, domhanfhad) ar ais,</p>\n<dl class=\"py method\">\n<dt class=\"sig sig-object py\" id=\"django.contrib.gis.geoip2.GeoIP2.geos\">\n<span class=\"sig-prename descclassname\"><span class=\"pre\">GeoIP2.</span></span><span class=\"sig-name descname\"><span class=\"pre\">geos</span></span><span class=\"sig-paren\">(</span><em class=\"sig-param\"><span class=\"n\"><span class=\"pre\">query</span></span></em><span class=\"sig-paren\">)</span><a class=\"heading-anchor\" href=\"#django.contrib.gis.geoip2.GeoIP2.geos\"><span class=\"visually-hidden\">Link to this definition</span><span aria-hidden=\"true\">#</span></a></dt>\n<dd></dd></dl>\n\n<p>Tuairisceáin a:class: ~django.contrib.gis.geos.point réad a fhreagraíonn don cheist.</p>\n</section>\n</section>\n<section id=\"settings\">\n<h2>Socruithe<a class=\"heading-anchor\" href=\"#settings\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<section id=\"geoip-path\">\n<span id=\"std-setting-GEOIP_PATH\"></span><h3><code class=\"docutils literal notranslate\"><span class=\"pre\">GEOIP_PATH</span></code><a class=\"heading-anchor\" href=\"#geoip-path\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Teagán nó:class: PathLib.path a shonraíonn an eolaire ina bhfuil na comhaid sonraí GeoIP suite. Tá an socrú seo <em>riachtanáil</em> mura sonraítear de láimh le heochairfhocal <code class=\"docutils literal notranslate\"><span class=\"pre\">path</span></code> nuair a thosaíonn an réad: class: GeoIP2.</p>\n</section>\n<section id=\"geoip-country\">\n<span id=\"std-setting-GEOIP_COUNTRY\"></span><h3><code class=\"docutils literal notranslate\"><span class=\"pre\">TÍR_GEOIP</span></code><a class=\"heading-anchor\" href=\"#geoip-country\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>An bunainm le húsáid don chomhad sonraí tíre GeoIP. Réamhshocraithe go <code class=\"docutils literal notranslate\"><span class=\"pre\">`'Geolite2-Country.mmdb'</span></code>.</p>\n</section>\n<section id=\"geoip-city\">\n<span id=\"std-setting-GEOIP_CITY\"></span><h3><code class=\"docutils literal notranslate\"><span class=\"pre\">GEOIP_CATH</span></code><a class=\"heading-anchor\" href=\"#geoip-city\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>An bunainm le húsáid le haghaidh comhad sonraí cathrach GeoIP. Réamhshocraithe go <code class=\"docutils literal notranslate\"><span class=\"pre\">`'Geolite2-City.mmdb'</span></code>.</p>\n</section>\n</section>\n<section id=\"exceptions\">\n<h2>Eisceachtaí<a class=\"heading-anchor\" href=\"#exceptions\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<dl class=\"py exception\">\n<dt class=\"sig sig-object py\" id=\"django.contrib.gis.geoip2.GeoIP2Exception\">\n<em class=\"property\"><span class=\"k\"><span class=\"pre\">exception</span></span><span class=\"w\"> </span></em><span class=\"sig-name descname\"><span class=\"pre\">GeoIP2Exception</span></span><a class=\"heading-anchor\" href=\"#django.contrib.gis.geoip2.GeoIP2Exception\"><span class=\"visually-hidden\">Link to this definition</span><span aria-hidden=\"true\">#</span></a></dt>\n<dd><p>Ardaíodh an eisceacht nuair a tharlaíonn earráid sa bhfillteán: aicme: GeoIP2. Cuirtear eisceachtaí ón leabharlann bunúsach geoip2 tríd gan athrú.</p>\n</dd></dl>\n\n<p class=\"rubric\">Fonótaí</p>\n<aside class=\"footnote-list brackets\">\n<aside class=\"footnote brackets\" id=\"id5\" role=\"doc-footnote\">\n<span class=\"label\"><span class=\"fn-bracket\">[</span><a role=\"doc-backlink\" href=\"#id1\">1</a><span class=\"fn-bracket\">]</span></span>\n<p>Is trádmharc cláraithe de MaxMind, Inc. é GeoIP (R).</p>\n</aside>\n</aside>\n</section>","rootId":"module-django.contrib.gis.geoip2","toc":[{"title":"Forbhreathnú","anchor":"overview","children":[]},{"title":"Sampla","anchor":"example","children":[]},{"title":"Tagairt API","anchor":"api-reference","children":[]},{"title":"Modhanna","anchor":"methods","children":[{"title":"Ag fiosrú","anchor":"querying","children":[]},{"title":"Comhordú Aisghabháil","anchor":"coordinate-retrieval","children":[]}]},{"title":"Socruithe","anchor":"settings","children":[{"title":"GEOIP_PATH","anchor":"geoip-path","children":[]},{"title":"TÍR_GEOIP","anchor":"geoip-country","children":[]},{"title":"GEOIP_CATH","anchor":"geoip-city","children":[]}]},{"title":"Eisceachtaí","anchor":"exceptions","children":[]}],"breadcrumbs":[{"docname":"ref/index","title":"Tagairt API","url":"/ga/6.0/ref/"},{"docname":"ref/contrib/index","title":"Pacáistí contrib","url":"/ga/6.0/ref/contrib/"},{"docname":"ref/contrib/gis/index","title":"GeodJango","url":"/ga/6.0/ref/contrib/gis/"}],"prev":{"docname":"ref/contrib/gis/gdal","title":"GDAL API","url":"/ga/6.0/ref/contrib/gis/gdal/"},"next":{"docname":"ref/contrib/gis/utils","title":"Fóntais GeodJango","url":"/ga/6.0/ref/contrib/gis/utils/"},"formats":{"html":"/ga/6.0/ref/contrib/gis/geoip2/","markdown":"/ga/6.0/ref/contrib/gis/geoip2.md","json":"/ga/6.0/ref/contrib/gis/geoip2.json"},"source":"https://github.com/django/django/blob/stable/6.0.x/docs/ref/contrib/gis/geoip2.txt","official":"https://docs.djangoproject.com/ga/6.0/ref/contrib/gis/geoip2/","inVersions":["6.1","6.0","5.2"],"inLocales":["en","sv","zh-hans","ga","fr","ja","id","it","pt-br","ko","es","el","pl"]}