fix imports and styles after refactor

This commit is contained in:
collerek
2020-09-15 12:53:14 +02:00
parent ca21e5dde5
commit 6124830642
7 changed files with 12 additions and 9 deletions

View File

@ -40,8 +40,8 @@ class RelationProxy(list):
kwargs = {f"{owner_table}__{pkname}": pk_value}
queryset = (
ormar.QuerySet(model_cls=self.relation.to)
.select_related(owner_table)
.filter(**kwargs)
.select_related(owner_table)
.filter(**kwargs)
)
return queryset