summaryrefslogtreecommitdiff
path: root/tests/validation/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validation/models.py')
-rw-r--r--tests/validation/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/validation/models.py b/tests/validation/models.py
index 83b998c38f..2e2a144cb6 100644
--- a/tests/validation/models.py
+++ b/tests/validation/models.py
@@ -31,6 +31,8 @@ class ModelToValidate(models.Model):
)
url = models.URLField(blank=True)
f_with_custom_validator = models.IntegerField(blank=True, null=True, validators=[validate_answer_to_universe])
+ f_with_iterable_of_validators = models.IntegerField(blank=True, null=True,
+ validators=(validate_answer_to_universe,))
slug = models.SlugField(blank=True)
def clean(self):