<reponame>Miki761000/storage_podari_s_luibov<gh_stars>0
from django.core.exceptions import ValidationError


def positive_number(value):
    result = value >= 0
    if not result:
        raise ValidationError('Quantity must be positive number')
from django.core.exceptions import ValidationError


def positive_number(value):
    result = value >= 0
    if not result:
        raise ValidationError('Quantity must be positive number')