<gh_stars>0
from django.db import models


class ProductManager(models.Manager):
    def available(self, *args, **kwargs):
        return self.filter(available=True)

from django.db import models


class ProductManager(models.Manager):
    def available(self, *args, **kwargs):
        return self.filter(available=True)