deployment.txt 769 B

12345678910111213141516171819
  1. ===================
  2. Deploying GeoDjango
  3. ===================
  4. Basically, the deployment of a GeoDjango application is not different from
  5. the deployment of a normal Django application. Please consult Django's
  6. :doc:`deployment documentation </howto/deployment/index>`.
  7. .. warning::
  8. GeoDjango uses the GDAL geospatial library which is
  9. not thread safe at this time. Thus, it is *highly* recommended
  10. to not use threading when deploying -- in other words, use an
  11. appropriate configuration of Apache.
  12. For example, when configuring your application with ``mod_wsgi``,
  13. set the ``WSGIDaemonProcess`` attribute ``threads`` to ``1``, unless
  14. Apache may crash when running your GeoDjango application. Increase the
  15. number of ``processes`` instead.