diff options
| author | Honza Král <honza.kral@gmail.com> | 2009-06-08 00:55:45 +0000 |
|---|---|---|
| committer | Honza Král <honza.kral@gmail.com> | 2009-06-08 00:55:45 +0000 |
| commit | 8a5e9f6939ce7e7cec8b2459fb78e1c623bbf6e8 (patch) | |
| tree | 794d7260b17fbb04c568136a21183e2f6a1623d5 | |
| parent | c43edf6d768f0ad001a6fea73084c04428f9721e (diff) | |
[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
| -rw-r--r-- | django/core/validators.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
