Ticket #5784: patch
File patch, 635 bytes (added by , 17 years ago) |
---|
-
__init__.py
468 468 if self.null: 469 469 return value 470 470 else: 471 raise validators.ValidationError, ugettext_lazy("Th is field cannot be null.")471 raise validators.ValidationError, ugettext_lazy("The field '%s' cannot be null." % self.name) 472 472 return smart_unicode(value) 473 473 474 474 def formfield(self, **kwargs):