Via Simon Willison:
This is a really convenient way to add custom functions to model managers in Django. Way easier than defining custom managers each time you need extra functionality.
Via Simon Willison:
This is a really convenient way to add custom functions to model managers in Django. Way easier than defining custom managers each time you need extra functionality.