Ticket #13341: 13341-update.diff

File 13341-update.diff, 736 bytes (added by David Fischer, 14 years ago)

Clarification update regarding the first parameter "regex"

  • docs/ref/validators.txt

     
    5959``RegexValidator``
    6060------------------
    6161
    62 .. class:: RegexValidator(regex=None, message=None, code=None)
     62.. class:: RegexValidator(regex, message=None, code=None)
    6363
    64 .. attribute:: regex=None
     64.. attribute:: regex
    6565
    6666The regular expression pattern to search for the provided ``value``. Raises a
    67 ``ValidationError`` with ``message`` and ``code`` if no match is found. If
    68 no regex is specified, an empty string is used.
     67``ValidationError`` with ``message`` and ``code`` if no match is found.
    6968
    7069.. attribute:: message=None
    7170
Back to Top