News for hackers. Stuff that matters.
Re:Django 4.1 by syastrov on Wednesday August 03, 2022 @01:28PM (#32334586)
There are a lot of comments about async ORM, but to me the support for application-level (e.g. if you use forms, admin, DRF, Graphene) validation of DB-level constraints is a super cool feature that solves a real pain point - having to duplicate this logic at both levels, or forgetting to do so.
Re:Django 4.1 by dmart on Thursday August 04, 2022 @03:02AM (#32340038)
Except DRF doesn’t call clean() anymore (as of 3.0?), so you have to reimplement all your validation logic in your serializers anyway. Always seemed like a huge mistake to me for a framework that’s supposed to feel like a natural extension of Django.