3 ms·
Beginner's guide to choose a Python web framework: Django.
by bayesian_horse 7y ago
Beginner's guide to choose a Python web framework: Django.
- andrewstuart 7y agoDon't know why this is downvoted - it's crystal clear advice for beginners - "just use Django".
- rbanffy 7y agoDjango brings a lot of concepts with it. It may be simpler to start teaching with Flask and build up from there until the need for something like Django becomes obvious.
- goobynight 7y agoRight. With Flask, I can simply get to the point where I'm rendering templates, styling with CSS, adding assets and populating template variables with data from simple (or complex) functions I've written. You can take care of a lot with just that.
- rbanffy 7y agoEventually, when the application reaches production, you'll have cobbled together a unique subset of Django. That's the downside of Flask.
- bayesian_horse 7y agoAnd good luck with auditing upstream versions and security in general.
- bayesian_horse 7y agoDjango projects can be extremely simple. And most of the "concepts" Django brings with it are extremely important for any non-trivial web application. Django also makes it harder to mishandle security.
- bayesian_horse 7y agoFlask has a very dedicated fanbase. There seem to be some people who just have a problem with Django choosing sensible defaults for average scale projects.