News for hackers. Stuff that matters.
Re:New Features in Django 3.2 by kumarvvr on Thursday March 04, 2021 @07:18AM (#26341426)
I used to use Django, but switched to ASP NET Core, because it offers tremendous flexibility with only a slight sacrifice in simplicity.

It's nice to see Django being awesome and actively developed, but it feels like Django is losing touch.

The world has moved on to concurrency and Django, as a framework, seems ill-suited to meet future requirements.

Re:New Features in Django 3.2 by alexf95 on Wednesday March 03, 2021 @09:07AM (#26328436)
Finally some support for building JSON Objects in Django! Can't wait to test it out soon.
Re:New Features in Django 3.2 by ldng on Wednesday March 03, 2021 @03:31PM (#26333996)
Django 3.2 has only been released as a beta 1. Title is a bit click-baity and feature set can still evolve.
Re:New Features in Django 3.2 by jacobian on Wednesday March 03, 2021 @09:08PM (#26337722)
That’s not really correct: beta marks feature freeze for the release. So there will be bug fixes before 3.2 final lands, but no new features.
Re:New Features in Django 3.2 by ldng on Friday March 05, 2021 @08:44AM (#26356770)
I stand corrected. So what happen if a major bug is found late in the process ? I suppose either the feature is dropped for this release or the release delayed until the bug is fixed and the feature is kept. Do you know which is it ?
Re:New Features in Django 3.2 by jacobian on Monday March 08, 2021 @12:01PM (#26388099)
There isn't a hard policy; it'd be a case-by-case decision. If there wasn't rough consensus, it'd be up to the release manager and technical board to decide. So far, this hasn't really happened: there have been a few bugs that have delayed releases by, like, a few days or a week, but nothing so severe that has seemed to warrant pulling a feature down.
Re:New Features in Django 3.2 by claytongulick on Thursday March 04, 2021 @02:09AM (#26339547)
I used to be such a huge Django fan, and in many ways I still am.

I've built more than one business around it.

For the past six or seven years though, I've found Nodejs to just be superior in every aspect other than the automatic admin.

Strapi has some interesting options there though.

Re:New Features in Django 3.2 by tga on Thursday March 04, 2021 @04:04AM (#26340252)
The power of Django (imho) is in how you can define data models only once, and out of them get excellent database migrations, database operations, form validation, API serialization/deserialization, and an admin interface. Is there anything in Node.js land that comes even close to this level of integration?

Last time I worked on a Node app, I had to define the data model once for the ORM (Objection), again when writing migrations by hand (Knex), again when defining the input validation schema (Joi), maybe again when defining data objects, and I didn't even have an admin.

For me, the language is secondary -- there were times when I would have liked to have a Django.js, so I could share code (validation and calculation modules) between backend and frontend.

Re:New Features in Django 3.2 by claytongulick on Friday March 05, 2021 @06:15PM (#26363495)
I use mongoose and mongodb mostly with node, because the technologies marry so well. I generally ETL over to pg for heavy analytics workloads.
Re:New Features in Django 3.2 by darkteflon on Thursday March 04, 2021 @04:59AM (#26340598)
This is such a great comment, thanks.
Re:New Features in Django 3.2 by johnlegant on Thursday March 04, 2021 @11:27AM (#26344425)
I agree. I've switched over to the Jamstack, and life is much easier. If I need something fast and easy, I use the AWS amplify pretty heavily, and their new admin UI has been very useful for me.

Ref - https://aws.amazon.com/about-aws/whats-new/2020/12/aws-ampli...

Re:New Features in Django 3.2 by collyw on Thursday March 04, 2021 @03:15AM (#26339968)
Every aspect? The underlying language must be another one no? Python isn't perfect, but it's a lot more pleasant to work with than Javascript
Re:New Features in Django 3.2 by johnlegant on Thursday March 04, 2021 @11:28AM (#26344445)
Maybe 5 years ago. I code python for living, and I've found modern javascript to be pretty pleasant these days, and imo I prefer async in javascript than python.