This is an old revision of the document!


02. Integration with Flask backend

We now want to move the design from a static html file to using Flask Jinja template rendering. For this, you must:

  • Migrate / split the HTML code to templates/_base.html and templates/index.html
  • Modify server.py to call render_template to actually serve our design.
  • Also create about.html and a Python method for serving it (fill it with whatever content you want ;) ).
ii/labs/s2/01/tasks/02.1648742031.txt.gz ยท Last modified: 2022/03/31 18:53 by florin.stancu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0