summaryrefslogtreecommitdiff
path: root/django/forms/models.py
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2014-07-05 20:28:30 +0200
committerTim Graham <timograham@gmail.com>2014-07-05 20:26:56 -0400
commitef392387c24fa5bd9bf3fd3c43781cefcafbee3f (patch)
tree008417fa478ff0dfc77b052263fa8a35e3839b5e /django/forms/models.py
parent50ebddad6acf41f3093b7ff7c1332fd4cb617de2 (diff)
[1.7.x] Fixed various minor doc typos / references.
Backport of 67f9f385aa from master
Diffstat (limited to 'django/forms/models.py')
-rw-r--r--django/forms/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/models.py b/django/forms/models.py
index c53f844400..effdd78238 100644
--- a/django/forms/models.py
+++ b/django/forms/models.py
@@ -931,7 +931,7 @@ def _get_foreign_key(parent_model, model, fk_name=None, can_fail=False):
"""
Finds and returns the ForeignKey from model to parent if there is one
(returns None if can_fail is True and no such field exists). If fk_name is
- provided, assume it is the name of the ForeignKey field. Unles can_fail is
+ provided, assume it is the name of the ForeignKey field. Unless can_fail is
True, an exception is raised if there is no ForeignKey from model to
parent_model.
"""