def handle()

in server/store/management/commands/update_inventory_count.py [0:0]


    def handle(self, *args, **options):
        add = options["add"] or 10
        product = Product.objects.filter(active=True).last()
        product.inventory_count += add
        product.save()