Re:Python decorators they don't tell you about
by NewEntryHN on Sunday January 07, 2018 @07:40AM
(#16090657)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.