Ticket #5071: 5071.patch

File 5071.patch, 480 bytes (added by Marco Bonetti <mbonetti@…>, 8 years ago)
  • django/core/validators.py

     
    442442    try:
    443443        float(data)
    444444    except ValueError:
    445         raise ValidationError, ugettext("Please enter a valid floating point number.")
     445        raise ValidationError, _("Please enter a valid floating point number.")
    446446
    447447class HasAllowableSize(object):
    448448    """
Back to Top