docs/one.org
Andros Fenollosa 7e50167ab5 Fix layout
2024-02-29 13:03:14 +01:00

2.1 KiB

Home

What is Django LiveView?

Django LiveView is a framework for creating Realtime SPAs using HTML over the Wire technology. It is inspired by Phoenix LiveView and it is built on top of Django Channels.

It allows you to create interactive web applications using only HTML, CSS and Python. JavaScript ONLY is used to capture events, send and receive strings over a WebSockets channel.

What are your superpowers?

  • Create SPAs without using APIs.
  • Uses Django's template system to render the frontend (Without JavaScript).
  • The logic is not split between the backend and the frontend, it all stays in Python.
  • You can still use all of Django's native tools, such as its ORM, forms, plugins, etc.
  • Everything is asynchronous by default.
  • Don't learn anything new. If you know Python, you know how to use Django LiveView.
  • All in real time.

Now you can create SPAs without using APIs, without JavaScript, and without learning anything new. If you know Python, you know how to use Django LiveView.

Are you ready to create your first Realtime SPA? Let's go to the Quickstart.

Quickstart

Source code