Deployment Django
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. The runserver command starts a lightweight development server, which is not suitable for production.
Django currently supports two interfaces:
- WSGI is the main Python standard for communicating between web servers and applications, but it only supports synchronous code.
- ASGI 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.
