0

Please don't use the Django ORM in the view! Also don't use it in all the different layers your monolith might have.

Comments
  • 0
    yeah, just write raw SQL, there's nothing nicer than writing the same lines every time you want to CRUD a model
  • 1
    Usage of the "devrant" tag for this content is not allowed.

    Your content police 🙂
  • 0
    Just inject some raw assembly in there.
  • 0
    @juanchdzl I'm not against the use of ORM and am not asking people not to use it. I'm just asking people to not do it in the view, isolate it so there's SOME control about where it's used instead of using it everywhere.
  • 0
    @vintprox Why not? Care to elaborate?
  • 0
    @luizpericolo Because your remark about Django ORM has no relation to devRant's features and issues with this service. Simple as that 🤙 Just use "rant".
  • 0
    Please don’t use Django. Problem solved.
Add Comment