Home > other >  Please use flask paging, over how to data fields in a table spread into the same HTML
Please use flask paging, over how to data fields in a table spread into the same HTML

Time:09-26

Excuse me how to set the multiple data fields in a table showing the same HTML page:

With the edge of the flask paginate realizes the teacher table pages, but the teacher need to use the other two fields in a table in the table, but:
 
Paginate=Teacher_info. Query. Order_by (Teacher_info. Id). Paginate (page=page, per_page=20, error_out=False)
Head=paginate. Items
Return render_template (' teacher_info. HTML, paginate=paginate, head of=head)

This can only be to paging Teacher_info table, through positive reference known to get "participating class" and "the curriculum", but I don't know how to pass in the HTML, achieve paging

CodePudding user response:

Teacher_info. Don't directly in the HTML rendering out? Like the teacher. The class. The name, the teacher lesson #. Name

CodePudding user response:

Uh huh, only first will display all fields added to a table
  • Related