remove comment that does no longer apply
This commit is contained in:
parent
9d4a6b9d46
commit
e2aecc888c
1 changed files with 0 additions and 3 deletions
|
@ -26,9 +26,6 @@ class ObjectReference(BaseSchema):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_instance(cls, instance: Model):
|
def from_instance(cls, instance: Model):
|
||||||
"""
|
|
||||||
This method will not convert the ID yet!
|
|
||||||
"""
|
|
||||||
return cls(model=instance._meta.model_name, id=instance.pk)
|
return cls(model=instance._meta.model_name, id=instance.pk)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue