diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-08-29 15:45:23 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-08-29 15:45:23 +0000 |
| commit | b5da9e8b2df6d001cfed5cec171011336f15b281 (patch) | |
| tree | d58d51d2d8c12e9f01f3a416f9ccf10e93a015b6 | |
| parent | 7f055554e0732bfbf771a58fde16e9f55ab50da2 (diff) | |
Fixed #8687, a bad variable name in validation. Thanks, vung.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/core/management/validation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/validation.py b/django/core/management/validation.py index 0b3542c66d..68bfb6cabd 100644 --- a/django/core/management/validation.py +++ b/django/core/management/validation.py @@ -131,7 +131,7 @@ def get_validation_errors(outfile, app=None): else: if rel_to == from_model: if seen_from: - e.add(opts, "Intermediary model %s has more than one foreign key to %s, which is ambiguous and is not permitted." % (f.rel.through_model._meta.object_name, rel_from._meta.object_name)) + e.add(opts, "Intermediary model %s has more than one foreign key to %s, which is ambiguous and is not permitted." % (f.rel.through_model._meta.object_name, from_model._meta.object_name)) else: seen_from = True elif rel_to == to_model: |
