Simon Willison’s Weblog


HackSoft Django styleguide: services and selectors. HackSoft’s Django styleguide uses the terms “services” and “selectors”. Services are functions that live in and perform business logic operations such as creating new entities that might span multiple Django models. Selectors live in and perform more complex database read operations, such as returning objects in a way that respects visibility permissions.