summaryrefslogtreecommitdiff
path: root/django/core/management
diff options
context:
space:
mode:
Diffstat (limited to 'django/core/management')
-rw-r--r--django/core/management/validation.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/django/core/management/validation.py b/django/core/management/validation.py
index 9beb47e542..4ec421c699 100644
--- a/django/core/management/validation.py
+++ b/django/core/management/validation.py
@@ -251,9 +251,9 @@ def get_validation_errors(outfile, app=None):
"than one foreign key to %s, which is "
"ambiguous and is not permitted." % (
f.rel.through._meta.object_name,
- from_model._meta.object_name
- )
- )
+ from_model._meta.object_name
+ )
+ )
else:
seen_from = True
elif rel_to == to_model: