diff options
| author | Claude Paroz <claude@2xlibre.net> | 2013-03-07 09:21:59 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-03-07 15:22:03 +0100 |
| commit | 4cccb85e292fea01b3459cd97d751ed35179a7b7 (patch) | |
| tree | 3132e647c343b8e3b900438d7b1080ddc3cb20fd /docs/topics/testing | |
| parent | 25ce177e66fb0e88a39806f5a493e03f1801775a (diff) | |
Fixed #19997 -- Added custom EMPTY_VALUES to form fields
Thanks Loic Bistuer for the report and the patch.
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/overview.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/testing/overview.txt b/docs/topics/testing/overview.txt index 3b2babd302..b917086e06 100644 --- a/docs/topics/testing/overview.txt +++ b/docs/topics/testing/overview.txt @@ -1480,7 +1480,7 @@ your test suite. error messages. :param field_args: the args passed to instantiate the field. :param field_kwargs: the kwargs passed to instantiate the field. - :param empty_value: the expected clean output for inputs in ``EMPTY_VALUES``. + :param empty_value: the expected clean output for inputs in ``empty_values``. For example, the following code tests that an ``EmailField`` accepts "a@a.com" as a valid email address, but rejects "aaa" with a reasonable |
