Author: jacob
Date: 2008-08-29 10:45:23 -0500 (Fri, 29 Aug 2008)
New Revision: 8697
Modified:
django/trunk/django/core/management/validation.py
Log:
Fixed #8687, a bad variable name in validation. Thanks, vung.
Modified: django/trunk/django/core/management/validation.py
===================================================================
--- django/trunk/django/core/management/validation.py 2008-08-29 06:53:02 UTC
(rev 8696)
+++ django/trunk/django/core/management/validation.py 2008-08-29 15:45:23 UTC
(rev 8697)
@@ -131,7 +131,7 @@
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:
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---