---
title: "How to deploy Django"
version: 4.0
locale: ja
source: https://docs.djangoproject.com/ja/4.0/howto/deployment/
canonical: https://djangodocs.dev/ja/4.0/howto/deployment/
---
# How to deploy Django

Django is full of shortcuts to make web developers' lives easier, but all
those tools are of no use if you can't easily deploy your sites. Since Django's
inception, ease of deployment has been a major goal.

There are many options for deploying your Django application, based on your
architecture or your particular business needs, but that discussion is outside
the scope of what Django can give you as guidance.

Django, being a web framework, needs a web server in order to operate. And
since most web servers don't natively speak Python, we need an interface to
make that communication happen.

Django currently supports two interfaces: WSGI and ASGI.

- [WSGI](https://wsgi.readthedocs.io/en/latest/) is the main Python standard for communicating between web servers and
  applications, but it only supports synchronous code.
- [ASGI](https://asgi.readthedocs.io/en/latest/) is the new, asynchronous-friendly standard that will allow your
  Django site to use asynchronous Python features, and asynchronous Django
  features as they are developed.

You should also consider how you will handle [static files](/ja/4.0/howto/static-files/deployment/) for your application, and how to handle
[error reporting](/ja/4.0/howto/error-reporting/).

Finally, before you deploy your application to production, you should run
through our [deployment checklist](/ja/4.0/howto/deployment/checklist/) to ensure that your
configurations are suitable.

- [WSGI とともにデプロイするには](/ja/4.0/howto/deployment/wsgi/)

  - [How to use Django with Gunicorn](/ja/4.0/howto/deployment/wsgi/gunicorn/)
  - [Django を uWSGI とともに使うには？](/ja/4.0/howto/deployment/wsgi/uwsgi/)
  - [Django を Apache と `mod_wsgi` とともに使うには？](/ja/4.0/howto/deployment/wsgi/modwsgi/)
  - [How to authenticate against Django's user database from Apache](/ja/4.0/howto/deployment/wsgi/apache-auth/)
  - [`application` オブジェクト](/ja/4.0/howto/deployment/wsgi/#the-application-object)
  - [Settings モジュールを設定する](/ja/4.0/howto/deployment/wsgi/#configuring-the-settings-module)
  - [Applying WSGI middleware](/ja/4.0/howto/deployment/wsgi/#applying-wsgi-middleware)
- [How to deploy with ASGI](/ja/4.0/howto/deployment/asgi/)

  - [How to use Django with Daphne](/ja/4.0/howto/deployment/asgi/daphne/)
  - [How to use Django with Hypercorn](/ja/4.0/howto/deployment/asgi/hypercorn/)
  - [How to use Django with Uvicorn](/ja/4.0/howto/deployment/asgi/uvicorn/)
  - [`application` オブジェクト](/ja/4.0/howto/deployment/asgi/#the-application-object)
  - [Settings モジュールを設定する](/ja/4.0/howto/deployment/asgi/#configuring-the-settings-module)
  - [Applying ASGI middleware](/ja/4.0/howto/deployment/asgi/#applying-asgi-middleware)
- [デプロイチェックリスト](/ja/4.0/howto/deployment/checklist/)

  - [`manage.py check --deploy` を実施しよう](/ja/4.0/howto/deployment/checklist/#run-manage-py-check-deploy)
  - [最重要な設定](/ja/4.0/howto/deployment/checklist/#critical-settings)
  - [環境に合わせた設定](/ja/4.0/howto/deployment/checklist/#environment-specific-settings)
  - [HTTPS](/ja/4.0/howto/deployment/checklist/#https)
  - [パフォーマンスの最適化](/ja/4.0/howto/deployment/checklist/#performance-optimizations)
  - [エラーのレポート](/ja/4.0/howto/deployment/checklist/#error-reporting)
