5 ms·
I'm personally a fan of defining routes near the views with the good old @app.route() call, but it's great to have a lot of options for people beyond the defaul
by rpicard 12y ago
I'm personally a fan of defining routes near the views with the good old @app.route() call, but it's great to have a lot of options for people beyond the defaults.
As others have mentioned though, this is very similar to app.add_url_rule. Could you explain how this differs?