diff options
| author | Tim Graham <timograham@gmail.com> | 2015-07-27 08:35:21 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-07-27 10:32:47 -0400 |
| commit | 87d55081ea398c65b2503d22ed3907a9175ec729 (patch) | |
| tree | 56fd18ad847033f670db7847a4f549c750ef2b24 /docs/ref/validators.txt | |
| parent | 29465d438e00660221e1e0ac5e2929a719c56113 (diff) | |
Fixed #25159 -- Removed brackets from class/function/method signatures in docs.
Thanks hellbeast for the initial patch.
Diffstat (limited to 'docs/ref/validators.txt')
| -rw-r--r-- | docs/ref/validators.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/validators.txt b/docs/ref/validators.txt index ebcbd081eb..6f10b44284 100644 --- a/docs/ref/validators.txt +++ b/docs/ref/validators.txt @@ -68,7 +68,7 @@ to, or in lieu of custom ``field.clean()`` methods. ``RegexValidator`` ------------------ -.. class:: RegexValidator([regex=None, message=None, code=None, inverse_match=None, flags=0]) +.. class:: RegexValidator(regex=None, message=None, code=None, inverse_match=None, flags=0) :param regex: If not ``None``, overrides :attr:`regex`. Can be a regular expression string or a pre-compiled regular expression. @@ -115,7 +115,7 @@ to, or in lieu of custom ``field.clean()`` methods. ``EmailValidator`` ------------------ -.. class:: EmailValidator([message=None, code=None, whitelist=None]) +.. class:: EmailValidator(message=None, code=None, whitelist=None) :param message: If not ``None``, overrides :attr:`.message`. :param code: If not ``None``, overrides :attr:`code`. @@ -144,7 +144,7 @@ to, or in lieu of custom ``field.clean()`` methods. ``URLValidator`` ---------------- -.. class:: URLValidator([schemes=None, regex=None, message=None, code=None]) +.. class:: URLValidator(schemes=None, regex=None, message=None, code=None) A :class:`RegexValidator` that ensures a value looks like a URL, and raises an error code of ``'invalid'`` if it doesn't. |
