Hacker Newsnew | past | comments | ask | show | jobs | submit | cdnsteve's favoriteslogin

For anyone thinking about picking up Django and is worried about the framework being obsolete I encourage you to take a look.

Django is fantastic. I've worked with it for a number of years now and it can really help in the early stages of prototyping.

Things I especially like about Django:

* The built in admin letting you edit and view objects easily.

* Being able to use it without using the views. Add django rest framework and you can model your domain with good REST practices.

* Migrations and works well with postgres.

* That the team has thought a lot about web security and how to implement it. Things like XSS, CSRF, CORS, session timeouts, authentication are all there in Django. Other frameworks I need to pull in a library for each and pray that they work well together. I found this especially with Flask and large projects it gets ridiculous how much I have to write from scratch.

Things that would make me not choose Django:

* If you have a graph style problem and need a graph database like neo4j. (Even then I'd probably want some part relational)

* If you accept lock in to someone else's platform like firebase and don't want to run your own servers.

* raw speed is an issue and you are okay with development taking much longer. In that case you're looking at some of the golang frameworks and possibly node/express.


That's how bicycles came to the Netherlands. Many think bikes always existed since the beginning of time but that's not true: during the rebuild in the immediate post-war cities were designed around car-based transportation. Only after a couple decades, raised awareness about street safety , accidents causing death of children, the first Oil-shock and general tree-hugging '60s eco-friendliness did the country evolve into the cycling paradise it is now.

That is to say: anyone can do the same, anywhere. So get on with it.. :)


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

Search: