Passing JSON data from Flask/WT-Forms to Jinja to JavaScript
In this video we look at a demo program that has Python read a JSON file and uses it in both a server and a client context. First, on the server side that information is used to create "choices" for a WT-Forms SelectField (drop-down list). Then, on the client side, that information is passed from Python/Flask to Jinja which inserts the data into a JavaScript section of code making the information available for client-side coding as well.
Видео Passing JSON data from Flask/WT-Forms to Jinja to JavaScript канала Thomas Blum
Видео Passing JSON data from Flask/WT-Forms to Jinja to JavaScript канала Thomas Blum
Комментарии отсутствуют
Информация о видео
30 декабря 2024 г. 21:27:08
00:10:03
Другие видео канала