{"title":"Deploying GeoDjango","version":"6.0","locale":"es","docname":"ref/contrib/gis/deployment","url":"/es/6.0/ref/contrib/gis/deployment/","canonical":"https://djangodocs.dev/es/6.0/ref/contrib/gis/deployment/","summary":"Basically, the deployment of a GeoDjango application is not different from the deployment of a normal Django application. Please consult Django’s deployment…","html":"<h1>Deploying GeoDjango<a class=\"heading-anchor\" href=\"#deploying-geodjango\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p>Basically, the deployment of a GeoDjango application is not different from\nthe deployment of a normal Django application. Please consult Django’s\n<a class=\"reference internal\" href=\"/es/6.0/howto/deployment/\"><span class=\"doc\">deployment documentation</span></a>.</p>\n<aside class=\"admonition admonition-warning\" role=\"note\">\n<p class=\"admonition-title\">Advertencia</p>\n<p>GeoDjango uses the GDAL geospatial library which is\nnot thread safe at this time. Thus, it is <em>highly</em> recommended\nto not use threading when deploying – in other words, use an\nappropriate configuration of Apache.</p>\n<p>For example, when configuring your application with <code class=\"docutils literal notranslate\"><span class=\"pre\">mod_wsgi</span></code>,\nset the <code class=\"docutils literal notranslate\"><span class=\"pre\">WSGIDaemonProcess</span></code> attribute <code class=\"docutils literal notranslate\"><span class=\"pre\">threads</span></code> to <code class=\"docutils literal notranslate\"><span class=\"pre\">1</span></code>, unless\nApache may crash when running your GeoDjango application. Increase the\nnumber of <code class=\"docutils literal notranslate\"><span class=\"pre\">processes</span></code> instead.</p>\n</aside>","rootId":"deploying-geodjango","toc":[],"breadcrumbs":[{"docname":"ref/index","title":"API Reference","url":"/es/6.0/ref/"},{"docname":"ref/contrib/index","title":"contrib packages","url":"/es/6.0/ref/contrib/"},{"docname":"ref/contrib/gis/index","title":"GeoDjango","url":"/es/6.0/ref/contrib/gis/"}],"prev":{"docname":"ref/contrib/gis/testing","title":"Testing GeoDjango apps","url":"/es/6.0/ref/contrib/gis/testing/"},"next":{"docname":"ref/contrib/humanize","title":"django.contrib.humanize","url":"/es/6.0/ref/contrib/humanize/"},"formats":{"html":"/es/6.0/ref/contrib/gis/deployment/","markdown":"/es/6.0/ref/contrib/gis/deployment.md","json":"/es/6.0/ref/contrib/gis/deployment.json"},"source":"https://github.com/django/django/blob/stable/6.0.x/docs/ref/contrib/gis/deployment.txt","official":"https://docs.djangoproject.com/es/6.0/ref/contrib/gis/deployment/","inVersions":["6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0","1.11","1.10","1.9"],"inLocales":["en","sv","zh-hans","ga","fr","ja","id","it","pt-br","ko","es","el","pl"]}