I’m worried that you are getting on the wrong track here. All web development is necessarily client-server based. One of the signs of a poorly designed VB application is the way that you can put DB code in a button action. That isn't possible in a browser. Instead all it can do is contact the server.
There are several options for running Python in the browser instead of JS, but even if you use them the framework is different. You can’t really use Django in a browser, and you can’t use the DOM on a server. Every attempt to mix them has had way too many issues. > On Sep 18, 2021, at 2:44 PM, Jet Ezra <[email protected]> wrote: > > I know this may not be necessary at the moment because we are comfortable > depending on front-end frameworks, but I have my two ideas here: > 1. what if django alone without any framework can be used to design > progressive web apps, with routers that do not reload the page, we currently > have one of the best routing but what if they support SPAs this time? > 2. what if we could instead of Javascript in the templates, we write python, > case in example is forexample how we write C# in .NET withing our templates > not writing JavaScript. Currently DJango is requiring its developer to again > go ahead and learn JS too, what if we remove that?? > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/D8CCA74C-3EF9-466E-8B7C-B382590B1B48%40gmail.com.

