Raise ValidationError in invalid Data URI by default
Sibyx opened this issue · comments
Jakub Dubec commented
From 1.0 ValidationError suppose to be raised if value of FileField and ImageField is not valid Data URI.
Jakub Dubec commented
Hi @bumblebee211196, feel free to create a PR. Please keep in mind that exception have to be raised only if library version is >= 1.0.0
. Major release is not ready yet, I am currently rewriting validation core with some breaking changes in errors
property so your code should contain some kind of condition which will check version of the library.
bumblebee commented
Alright, will keep in mind the library version.