Ticket #5784: patch

File patch, 635 bytes (added by stvsmth@…, 17 years ago)

patch for ticket 5784

  • __init__.py

     
    468468            if self.null:
    469469                return value
    470470            else:
    471                 raise validators.ValidationError, ugettext_lazy("This field cannot be null.")
     471                raise validators.ValidationError, ugettext_lazy("The field '%s' cannot be null." %  self.name)
    472472        return smart_unicode(value)
    473473
    474474    def formfield(self, **kwargs):
Back to Top