Projects get complicated fast, and just putting your business logic in views and models will leave you in a world of hurt. Service objects help by decoupling your business logic from your presentation logic making it easier to test plus have the bonus of input validation.
One of my favorite patterns in Django is the combination of "fat" models and cached_property from django.utils.functional.
Get started today.
During the two-week campaign, buy a new PyCharm Professional Edition individual license with a 30% discount code, and all the money raised will go to the DSF’s general fundraising and the Django Fellowship program.
In this tutorial I will cover the basics of working with GraphQL and Django.
Service objects for Django
ORM-queryable YAML fixtures for Django