diff options
| author | Jonas Gastal <jgastal@gmail.com> | 2013-12-24 14:26:50 -0200 |
|---|---|---|
| committer | Jonas Gastal <jgastal@gmail.com> | 2013-12-24 14:26:50 -0200 |
| commit | 96967f642fbbd01a10e1c1e17764dd6af7c35e97 (patch) | |
| tree | 1fda5fcba796ee6b519429e78156fa93711d1458 | |
| parent | 9b8192ce5101b622dbbae61f5ce784cd3e144a4d (diff) | |
Typo fix for exception message.
| -rw-r--r-- | django/db/models/fields/related.py | 2 |
1 files changed, 1 insertions, 1 deletions
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] |
