DJE-030
Critical
Configuration
ASGI_APPLICATION not set
Error message
ImproperlyConfigured: You have not set ASGI_APPLICATION
djust requires an ASGI server to handle WebSocket connections. Without ASGI_APPLICATION in settings.py, Django cannot route WebSocket requests to the correct application, and LiveView features will not work.
asgi
config
setup
Affected versions: >=0.2.0
Solution
Before (problematic)
# settings.py
WSGI_APPLICATION = "myproject.wsgi.application"
# Missing ASGI_APPLICATION!
After (fixed)
# settings.py
WSGI_APPLICATION = "myproject.wsgi.application"
ASGI_APPLICATION = "myproject.asgi.application"