A view function may be the code you compose to respond to demands to the job

A view function may be the code you compose to respond to demands to the job

Flask utilizes habits to match the incoming request Address to the view which should manage it. The view comes back data that Flask can become a outbound reaction. Flask also can go one other way and produce A url to a view predicated on its title and arguments.

Develop a Blueprint

A Blueprint is way to arrange a band of relevant views as well as other rule. In place of registering views as well as other rule straight with a credit card applicatoin, these are generally registered having a blueprint. Then your blueprint is registered aided by the application when it’s obtainable in the factory function. Meer lezen