mirror of
https://github.com/suitenumerique/docs.git
synced 2026-09-26 03:25:08 +02:00
The exception block was never being executed because URLValidator raises django.core.exceptions.ValidationError, not drf.exceptions.ValidationError, so the except block was dead code. Signed-off-by: Mohamed El Amine BOUKERFA <boukerfa.ma@gmail.com>