def add_route(self, route): # """ Add a route object, but do not change the :data:`Route.app` # attribute.""" self.routes.append(route) self.router.add(route.rule, route.method, route, name=route.name ) # if DEBUG: route.prepare() -- <https://netanel.ml>
_______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: https://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com