|
|
|
|
|
by kissgyorgy
1774 days ago
|
|
Here are some snippets from our legacy codebase, where the exact same method is used (Django Crispy Forms):
https://walkman.cloud/s/TWmtNMjMM3ZfdZM This is NOT the right solution to the problem you mentioned. If developers don't know what they are doing, they can leave an even bigger mess with this. |
|
Lona can encapsulate html and its functionality into widgets (https://lona-web.org/end-user-documentation/html.html#widget...). The most views then just use a few abstract widgets and maybe around 10 html nodes