1👍
✅
class AccountManager(models.Manager):
def for_user(self, user):
return self.get_query_set().filter(account__user=user)
Source:stackexchange.com