Feature Deprecated, DB connections from HTML and Presentation
First an image of new code and the HTML as it is presented:
Since the last entry I've been looking for a way to take data and write it out to the MySQL DB. I created a page Threeindex.html. I have added to buttons and to the menu/nav bar at the top. Only the NavBar at the top gets to the page. I've got the page to work with 2 different platforrms. Tried following the video from UDEMY, but it turns out the Radiobutton and Selectfield methods are deprecated or obsolete in some fashion. Something about FlaskForm/wtforms that is a problem. That took a while to settle that was the issue. I did manage to add error trapping. The "Learn more" buttons for Threeindex demonstrate that featureMy continuing to connect what is typed into the HTML in Threeindex to the MySQL. The page Twoindex.html accessed through Flask_app.py code adds the same record - but there is no interaction
Comments
Post a Comment