3 ms·
The @route decorator in Flask has only the side effect of registering a route with the function as handler. I prefer to have a map for big projects where I can
by NewEntryHN 9y ago
The @route decorator in Flask has only the side effect of registering a route with the function as handler. I prefer to have a map for big projects where I can see with a glance what routes directs to what functions, but for getting started and for little projects I find it nice and reasonable.