1
0
mirror of https://github.com/django/django.git synced 2025-10-30 00:56:09 +00:00

Fixed various minor doc typos / references.

This commit is contained in:
Daniel Hahler
2014-07-05 20:28:30 +02:00
committed by Tim Graham
parent ab431fbd4f
commit 67f9f385aa
5 changed files with 9 additions and 9 deletions

View File

@@ -930,7 +930,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.
"""