Hacker News new | past | comments | ask | show | jobs | submit login

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?



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='')


I'm using blueprints too which are great to organize your app as modules. I plan to write another tutorial on that




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: