refactor translating of aliases from queryset to modelproxy

This commit is contained in:
collerek
2020-10-26 14:50:04 +01:00
parent f192ae9a40
commit 36300f9056
6 changed files with 26 additions and 22 deletions

View File

@ -1,4 +1,5 @@
import asyncio
import uuid
from datetime import datetime
from typing import List
@ -6,7 +7,6 @@ import databases
import pydantic
import pytest
import sqlalchemy
import uuid
import ormar
from ormar.exceptions import QueryDefinitionError, NoMatch
@ -437,3 +437,4 @@ async def test_start_and_end_filters():
users = await User.objects.filter(name__endswith="igo").all()
assert len(users) == 2