2026-04-12 09:28 UTC
How I approach decoupling business logic from the Django ORM.
https://buttondown.com/carlton/archive/decoupling-your-business-logic-from-the-django-orm/ #django #TheStackReport
Replies (2)
-
@tintvrtkovic@mastodon.social 2026-04-12 09:51
@carlton@chaos.social disregarding specific libraries, there's definitely a rich discussion to be had around application architecture and complexity management here, and I think your entry here adds to it thoughtfully. I personally fall into the camp where I'll happily put the business logic meat into the "view", eschewing a service layer until the codepath needs to be shared. I have folks at $DAYJOB arguing otherwise, and not without merit.
-
@hynek@mastodon.social 2026-04-12 10:55
@carlton@chaos.social ohh what a timing! I’m giving my design pressure talk next week in Texas so it’s great to finally have some design content for Djagno, too!