Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit b5da9e8b2df6d001cfed5cec171011336f15b281 1 parent 7f05555
Jacob Kaplan-Moss authored August 29, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/core/management/validation.py
2  django/core/management/validation.py
@@ -131,7 +131,7 @@ def get_validation_errors(outfile, app=None):
131 131
                         else:
132 132
                             if rel_to == from_model:
133 133
                                 if seen_from:
134  
-                                    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))
  134
+                                    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))
135 135
                                 else:
136 136
                                     seen_from = True
137 137
                             elif rel_to == to_model:

0 notes on commit b5da9e8

Please sign in to comment.
Something went wrong with that request. Please try again.