---
title: "Menyebarkan Django"
version: 3.2
locale: id
source: https://docs.djangoproject.com/id/3.2/howto/deployment/
canonical: https://djangodocs.dev/id/3.2/howto/deployment/
---
# Menyebarkan 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 saat ini mendukung dua antarmuka: WSGI dan 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](/id/3.2/howto/static-files/deployment/) for your application, and how to handle
[error reporting](/id/3.2/howto/error-reporting/).

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

- [Bagaimana menyebarkan dengan WSGI](/id/3.2/howto/deployment/wsgi/)

  - [Bagaimana menggunakan Django dengan Gunicorn](/id/3.2/howto/deployment/wsgi/gunicorn/)
  - [Bagaimana menggunakan Django dengan uWSGI](/id/3.2/howto/deployment/wsgi/uwsgi/)
  - [Bagaimana menggunakan Django dengan Apache dan `mod_wsgi`](/id/3.2/howto/deployment/wsgi/modwsgi/)
  - [Otentifikasi terhadap pengguna basisdata Django dari Apache](/id/3.2/howto/deployment/wsgi/apache-auth/)
  - [Obyek `aplikasi`](/id/3.2/howto/deployment/wsgi/#the-application-object)
  - [Konfigurasi modul pengaturan](/id/3.2/howto/deployment/wsgi/#configuring-the-settings-module)
  - [Memberlakukan middleware WSGI](/id/3.2/howto/deployment/wsgi/#applying-wsgi-middleware)
- [Bagaimana mengembangkan dengan ASGI](/id/3.2/howto/deployment/asgi/)

  - [Bagaimana menggunakan Django dengan Daphne](/id/3.2/howto/deployment/asgi/daphne/)
  - [Bagaimana menggunakan Django dengan Hypercorn](/id/3.2/howto/deployment/asgi/hypercorn/)
  - [Bagaimana menggunakan Django dengan Uvicorn](/id/3.2/howto/deployment/asgi/uvicorn/)
  - [Obyek `aplikasi`](/id/3.2/howto/deployment/asgi/#the-application-object)
  - [Konfigurasi modul pengaturan](/id/3.2/howto/deployment/asgi/#configuring-the-settings-module)
  - [Memberlakukan middleware ASGI](/id/3.2/howto/deployment/asgi/#applying-asgi-middleware)
- [Daftar centang penyebaran](/id/3.2/howto/deployment/checklist/)

  - [Jalankan `manage.py check --deploy`](/id/3.2/howto/deployment/checklist/#run-manage-py-check-deploy)
  - [Pengaturan kritis](/id/3.2/howto/deployment/checklist/#critical-settings)
  - [Pengaturan lingkungan-khusus](/id/3.2/howto/deployment/checklist/#environment-specific-settings)
  - [HTTPS](/id/3.2/howto/deployment/checklist/#https)
  - [Optimalisasi penampilan](/id/3.2/howto/deployment/checklist/#performance-optimizations)
  - [Pelaporan kesalahan](/id/3.2/howto/deployment/checklist/#error-reporting)
