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:
committed by
Tim Graham
parent
ab431fbd4f
commit
67f9f385aa
@@ -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.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user