From 8a5e9f6939ce7e7cec8b2459fb78e1c623bbf6e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Mon, 8 Jun 2009 00:55:45 +0000 Subject: [PATCH] [soc2009/model-validation] Corrected a typo in format string git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@10948 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/validators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/validators.py b/django/core/validators.py index 46b1e4fc36..d06e49cb25 100644 --- a/django/core/validators.py +++ b/django/core/validators.py @@ -42,4 +42,4 @@ class RequiredIfOtherFieldBlank(ComplexValidator): def __call__(self, value, all_values={}, obj=None): if self.get_value(self.other_field, all_values, obj) in EMPTY_VALUES: if value in EMPTY_VALUES: - raise ValidationError('This field is required if %n is blank.' % self.other_field) + raise ValidationError('This field is required if %s is blank.' % self.other_field)