From 96967f642fbbd01a10e1c1e17764dd6af7c35e97 Mon Sep 17 00:00:00 2001 From: Jonas Gastal Date: Tue, 24 Dec 2013 14:26:50 -0200 Subject: [PATCH] Typo fix for exception message. --- django/db/models/fields/related.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/models/fields/related.py b/django/db/models/fields/related.py index 769121bc01..247067d60a 100644 --- a/django/db/models/fields/related.py +++ b/django/db/models/fields/related.py @@ -1084,7 +1084,7 @@ class ForeignObject(RelatedField): if len(self.from_fields) < 1 or len(self.from_fields) != len(self.to_fields): raise ValueError('Foreign Object from and to fields must be the same non-zero length') if isinstance(self.rel.to, six.string_types): - raise ValueError('Related model %r cannot been resolved' % self.rel.to) + raise ValueError('Related model %r cannot be resolved' % self.rel.to) related_fields = [] for index in range(len(self.from_fields)): from_field_name = self.from_fields[index]