change order in save_related -> first upsert self then follow

This commit is contained in:
collerek
2021-03-30 17:33:30 +02:00
parent 347c056c30
commit 04047e4cd9
2 changed files with 4 additions and 4 deletions

View File

@ -155,4 +155,4 @@ def create_test_database():
async def test_saving_related_fk_rel():
async with database:
async with database.transaction(force_rollback=True):
await Report.objects.select_all(follow=True).all()
await Report.objects.select_all(follow=True).all()