def name_length_validator(value):

    if len(value) < REPOSITORY_NAME_MIN_LENGTH or len(value) > REPOSITORY_NAME_MAX_LENGTH:
        raise forms.ValidationError(u'Repository name length should be greater than {0} and less than {1}.'
                        .format(REPOSITORY_NAME_MIN_LENGTH, REPOSITORY_NAME_MAX_LENGTH))
Learn a list of feature name -> indices mappings.
dataset/ETHPy150Open Djacket/djacket/core/backend/repository/forms.py/name_length_validator--crossover with--dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/feature_extraction/dict_vectorizer.py/DictVectorizer.fit