add exclude method on QuerySet and fix missing default values on creation

This commit is contained in:
collerek
2020-09-17 18:03:29 +02:00
parent 48819f1023
commit 1a4be03131
9 changed files with 57 additions and 9 deletions

View File

@ -3,7 +3,7 @@ from typing import List, NamedTuple, TYPE_CHECKING, Tuple, Type
import sqlalchemy
from sqlalchemy import text
from ormar.fields import ManyToManyField # noqa I100
from ormar.fields import ManyToManyField # noqa I100
from ormar.relations import AliasManager
if TYPE_CHECKING: # pragma no cover