25 ms·
People who feel this way usually use Flask instead. Worth checking out. http://flask.pocoo.org/ http://flask.pocoo.org/
by sbjs 8y ago
People who feel this way usually use Flask instead. Worth checking out.
http://flask.pocoo.org/ http://flask.pocoo.org/
- Waterluvian 8y agoFlask is great for smaller things where Django is far too verbose. Like single file webservers for basic stuff. Its also for more complex stuff but then you have to grab additional libraries to do stuff like db management, migrations, serialization, etc. Flask also has some, in my opinion, rather uncomfortablly unintuitive global scope stuff. Where responses aren't passed into the view function, they're available on the imported flask object.
- sbjs 8y agoGood to know. I haven't used Flask recently, I have used Express.js which is Node.js's version of Flask, and I really like how simple it is. Most apps these days seem to have a REST (or GraphQL) backend and dynamic (often React.js) frontend. Flask (and Flask-RESTful) would probably be a better fit for this type of app than Django.
- Waterluvian 8y agoYeah don't let me dissuade you. Flask is a prime piece of software.