@any_field.register(models.PositiveSmallIntegerField)
def any_positivesmallinteger_field(field, **kwargs):
    min_value = kwargs.get('min_value', 1)
    max_value = kwargs.get('max_value', 255)
    return xunit.any_int(min_value=min_value, max_value=max_value)
Set attributes based on CSI (Control Sequence Introducer) code.
dataset/ETHPy150Open kmmbvnr/django-any/django_any/models.py/any_positivesmallinteger_field--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/IPython/frontend/qt/console/ansi_code_processor.py/AnsiCodeProcessor.set_csi_code