def __init__(self, lower=None, upper=None, error_message=''):
        self.lower, self.upper = lower, upper
        if not error_message:
            if lower and upper:
                 self.error_message = gettext("This value must be between %(lower)s and %(upper)s.") % {'lower': lower, 'upper': upper}
            elif lower:
                self.error_message = gettext("This value must be at least %s.") % lower
            elif upper:
                self.error_message = gettext("This value must be no more than %s.") % upper
        else:
            self.error_message = error_message
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/lib/django/django/core/validators.py/NumberIsInRange.__init__/original