summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-05-08 13:18:48 -0400
committerTim Graham <timograham@gmail.com>2015-05-08 13:18:48 -0400
commitb99114f67f0e5eba3b1d31641906b75a14fd2fa0 (patch)
treeea042b6e502d8e147b6dc2a9670176b79d9ccf62
parent1a62f197078eae72eba85f23aabacc06ad4c7d79 (diff)
Fixed #24758 -- Corrected Options.get_fields() docstring.
-rw-r--r--django/db/models/options.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/django/db/models/options.py b/django/db/models/options.py
index a76b934598..6cfb73a51e 100644
--- a/django/db/models/options.py
+++ b/django/db/models/options.py
@@ -755,9 +755,9 @@ class Options(object):
def get_fields(self, include_parents=True, include_hidden=False):
"""
- Returns a list of fields associated to the model. By default will only
- return forward fields. This can be changed by enabling or disabling
- field types using the parameters:
+ Returns a list of fields associated to the model. By default, includes
+ forward and reverse fields, fields derived from inheritance, but not
+ hidden fields. The returned fields can be changed using the parameters:
- include_parents: include fields derived from inheritance
- include_hidden: include fields that have a related_name that