-
Jérôme Lebleu authored
* rename settings `WEBRADIO_SOUND_FILE` -> `WEBRADIO_PODCAST_SOUND_FILE` * rename settings `WEBRADIO_AUTHORIZED_MIME_TYPES` -> `WEBRADIO_ALLOWED_AUDIO_MIME_TYPES` * move the MIME type validation of sound_file to a validator * attach validation error to the related sound field instead of non field errors * check if `WEBRADIO_PODCAST_SOUND_FILE` is `False` when validating sound fields to prevent some issues * raise sound fields' validation error from the model before checking the value of `is_sound_valid` in the form
85fea0a8