Re:Building websites in Python with Flask
by jpadilla_ on Thursday October 11, 2012 @10:01PM
(#4643589)
Flask is so damn awesome! For all those other projects Django seems too big, I use Flask. The hardest thing for me was finding a project structure that worked for me. I still haven't landed one that was "perfect". What project structure/skeletons for Flask apps work for you?
[ Parent
| on HN ]
Re:Building websites in Python with Flask
by davidjohnstone on Thursday October 11, 2012 @10:54PM
(#4643670)
Going big? Blueprints.
http://flask.pocoo.org/docs/blueprints/
Going small? Put everything in one folder.
app = Flask(__name__, static_folder='.', static_url_path='', template_folder='')