H
H
Held69912021-10-27 04:05:09
Django
Held6991, 2021-10-27 04:05:09

How to land a PyWebIo app on Django?

Hello, there is a PyWebio application - https://github.com/pywebio/demos/blob/main/name_ge...
I want to put it on a clean Django project, please tell me how to do it, preferably step by step, because I shoveled a bunch information on the Internet, nothing +- visual, unfortunately, I will be very grateful.

My attempts were that I added PyWebio to settings.py to installed applications, and also added pywebio imports to views.py and something like this but it obviously didn't work

from pywebio.platform.django import webio_view

def start(request):
    return render(request, webio_view(main))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alan Gibizov, 2021-10-27
@Held6991

Have you read the documentation ? Did not help?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question