def _moderate_name(self, name):

        return '-'.join(name.split())
Returns name string without whitespaces and concatenates name parts with '-' character.
dataset/ETHPy150Open Djacket/djacket/core/backend/repository/forms.py/RepositoryCreationForm._moderate_name