Role.clean() fails on role edit forms when slug starts with an underscore
Validation should be done on in a field validator and not in clean, as if the field is not present in the form, clean validation cannot be excluded, but field validation are excluded (through the clean_fields() method). For now we juste remove it.
Updated by Benjamin Dauvergne over 7 years ago
- Status changed from Nouveau to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit authentic2|5c9ebd75d02ce8117eaf95f6b21ec669ddfbf361.