remove auto related parsing, switch to relations on instance instead of relationship manager
This commit is contained in:
@ -131,7 +131,7 @@ async def test_model_crud():
|
||||
|
||||
album1 = await Album.objects.get(name="Malibu")
|
||||
assert album1.pk == 1
|
||||
assert album1.tracks is None
|
||||
assert album1.tracks == []
|
||||
|
||||
await Track.objects.create(album={"id": track.album.pk}, title="The Bird2", position=4)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user