Removed DeferredAttribute.__init__()'s unused model argument.

Unused since a8a81aae20.
This commit is contained in:
Mariusz Felisiak 2018-01-02 23:54:10 +01:00 committed by Tim Graham
parent ab7f4c3306
commit c86e9b5847
3 changed files with 3 additions and 3 deletions

View file

@ -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):