3 ms·
Once you construct your routes list, what do you do with it? Do you iterate over it with app.add_url_rule?
by powersurge360 14y ago
Once you construct your routes list, what do you do with it? Do you iterate over it with app.add_url_rule?
- irahul 14y agoYes. I have a main.py which reads the toplevel urls.py and all blueprints urls.py, and sets the routes. https://github.com/rahulkmr/flask-bigapp-template https://github.com/rahulkmr/flask-bigapp-template