mirror of
https://github.com/django/django.git
synced 2025-08-10 13:58:43 +00:00
Removed DeferredAttribute.__init__()'s unused model argument.
Unused since a8a81aae20
.
This commit is contained in:
parent
ab7f4c3306
commit
c86e9b5847
3 changed files with 3 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue