Python Forum
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
flask
#2
well, you need to tell your app the url (e.g. /somepage, that it will translate to the full url, e.g. approot/somepage, by including the approot) and of course you need a static file for the page it will render. So basically it's one place where you configure the app/url and the other thing is the page itself. Depending on the app, you may render one page with different URLs by supplying different data.
flask is an excellent micro-framework and one can start very quickly. see the snippsat tutorial
also this mega-tutorial
Reply


Messages In This Thread
flask - by Skaperen - Apr-04-2017, 12:46 AM
RE: flask - by buran - Apr-04-2017, 07:15 AM
RE: flask - by Skaperen - Apr-04-2017, 09:28 AM
RE: flask - by wavic - Apr-04-2017, 09:40 AM
RE: flask - by snippsat - Apr-04-2017, 02:47 PM
RE: flask - by Skaperen - Apr-05-2017, 01:27 AM
RE: flask - by nilamo - Apr-19-2017, 06:03 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020