Install | Django LiveView

You can install Django LiveView with pip.

pip install django-liveview

Then add liveview to your installed INSTALLED_APPS in your settings.py.

INSTALLED_APPS = [
    "daphne",
    "channels",
    "liveview",
]

You need to previously have installed channels and daphne.

Now, in settings.py, indicate in which previously created App you want to integrate LiveView.

LIVEVIEW_APPS = ["website"]

Finally, execute the migrations so that the LiveView tables are generated.

python manage.py migrate

We strongly recommend that you follow the Quickstart to see the installation in action.