Mariusz - fair enough, I will consider my point made and apologies if it 
came off too strong. FWIW it's not just my opinion, it's shared by every 
developer (dozens) I've had this conversation with up until now. It's a 
stark contrast that makes me wonder how aware the core developers / old 
timers are of the broader user base's experience.

So you would object to a `VALIDATE_MODELS_BY_DEFAULT` setting, defaulted to 
False?
On Friday, October 7, 2022 at 8:55:24 AM UTC-7 Mariusz Felisiak wrote:

> > I am aware there are patterns to work around this in Django. My position 
> is that skipping validation should be the rare edge case and not the easy 
> naive path. Unless Django's stated purpose is to be a cute toy for making 
> blogs, and robust infrastructure is off-label, but that's not what I see in 
> the wild.
>
> I think you're going a bit too far with your judgement and comparisons. 
> It's already clear for everyone involved in this thread that you're firmly 
> convinced that your way of doing things is the only right one. You don't 
> need to emphasize it any more.
>
> I can say that in the past 15+ years I made dozens of web apps (I've never 
> written a blog) including critical workflows for international retailers, 
> pharmaceutical companies, public sector etc. and I've never missed 
> auto-validation in the ORM layer. Is this an argument in the discussion? 
> Not really, IMO :) It's just the way it is, it's not something that can or 
> should convince anyone that I'm right :)
>
> Personally, I agree with James and I'm strongly against any 
> auto-validation in the ORM. I'm also against extra settings and built-in 
> subclasses of `Model` as `ValidatingModel`, because they would be confusing 
> for newcomers and increase the barrier of entry for developers. Django has 
> to make design decisions and that's one of them.
>
> Best,
> Mariusz
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/97f41b89-4bdf-4d4b-b5f5-c79e84512058n%40googlegroups.com.
  • Re... Curtis Maloney
  • Re... אורי
    • ... James Bennett
      • ... Aaron Smith
        • ... James Bennett
          • ... Aaron Smith
            • ... Carlton Gibson
            • ... אורי
            • ... Aaron Smith
            • ... Mariusz Felisiak
            • ... Aaron Smith
            • ... James Bennett
            • ... Aaron Smith
            • ... James Bennett
            • ... Aaron Smith
            • ... James Bennett
            • ... Jure Erznožnik
            • ... Aaron Smith
            • ... Shai Berger
      • ... 'Barry Johnson' via Django developers (Contributions to Django itself)
    • ... Aaron Smith

Reply via email to