Creating queryset abstractions in Django
This article describes a technique for extending Django querysets with methods specific to your models. For instance,
Benefits of encapsulating database queries
Reusability: This method can be reused elsewhere, preventing the need for duplication.
Unification: This query presumably represents something meaningful. By creating and using an abstraction, you avoid multiple implementations of the same concept, which may have subtle differences.