summaryrefslogtreecommitdiff
path: root/django/db/models/query_utils.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2018-01-02 23:54:10 +0100
committerTim Graham <timograham@gmail.com>2018-01-02 17:54:10 -0500
commitc86e9b5847bc2853fc6a3fcfbf8daa56786d3210 (patch)
treeab14785c1362adaeafd6a3353443845e0ca78b6b /django/db/models/query_utils.py
parentab7f4c330629f24f006a35729ee0d758711312fa (diff)
Removed DeferredAttribute.__init__()'s unused model argument.
Unused since a8a81aae20a81e012fddc24f3ede556501af64a2.
Diffstat (limited to 'django/db/models/query_utils.py')
-rw-r--r--django/db/models/query_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/query_utils.py b/django/db/models/query_utils.py
index 62b67e6131..1dcf22fda8 100644
--- a/django/db/models/query_utils.py
+++ b/django/db/models/query_utils.py
@@ -115,7 +115,7 @@ class DeferredAttribute:
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.
"""
- def __init__(self, field_name, model):
+ def __init__(self, field_name):
self.field_name = field_name
def __get__(self, instance, cls=None):