djust Documentation
Everything you need to build reactive, real-time Django applications with djust.
Quick Start
Get up and running in 5 minutes
Core Concepts
Understand LiveView, Events, and VDOM
Components
Explore 40+ UI components
API Reference
Complete API documentation
What is djust?
djust brings Phoenix LiveView-style reactive server-side rendering to Django. Build rich, interactive web applications without writing complex JavaScript, while maintaining the security and simplicity of server-side rendering.
Key Features
- No JavaScript Required - Build interactive UIs with Python/Django
- Real-time Updates - Changes pushed to clients via WebSocket
- Rust-Powered - 10-100x faster rendering with Rust VDOM engine
- Zero Build Step - ~5KB client JavaScript, no bundling needed
- 40+ Components - Ready-to-use UI component library
Quick Example
fromdjustimport LiveView, event
classCounterView(LiveView):
template_name = 'counter.html'
defmount(self, request, **kwargs):
self.count = 0
@event
defincrement(self):
self.count += 1
@event
defdecrement(self):
self.count -= 1
<div dj-liveview>
<h1>Count: {{ count }}</h1>
<button dj-click="decrement">-</button>
<button dj-click="increment">+</button>
</div>
Getting Help
- GitHub Issues - Report bugs and request features
- GitHub Discussions - Ask questions and share ideas