[Answer]-Can't get exception's message in Django custom validator

1👍

They are an instance of django.utils.functional.__proxy__ because the message of the Django core validators is translatable and wrapped in ugettext_lazy. I think you can use something like ", ".join(unicode(e) for e in errors) to force evaluation of the message.

👤sk1p

Leave a comment