You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bump pytest-asyncio and pytest, use ruff for formatting too, fix ordering of ormar in files (#1561)
* bump pytest-asyncio and pytest, use ruff for formatting too, fix ordering of ormar in files
* add pytest options to fix coverage on python 3.10
* switch coverage to using greenlet to fix coverage on python 3.10
So to overwrite setting or provide your own a sample model can look like following:
337
-
```Python hl_lines="16"
337
+
```Python hl_lines="17"
338
338
--8<--"../docs_src/models/docs016.py"
339
339
```
340
340
@@ -415,7 +415,7 @@ There are two ways to create and persist the `Model` instance in the database.
415
415
416
416
If you plan to modify the instance in the later execution of your program you can initiate your `Model` as a normal class and later await a `save()` call.
417
417
418
-
```Python hl_lines="29-30"
418
+
```Python hl_lines="30-31"
419
419
--8<--"../docs_src/models/docs007.py"
420
420
```
421
421
@@ -425,7 +425,7 @@ For creating multiple objects at once a `bulk_create()` QuerySet's method is ava
425
425
426
426
Each model has a `QuerySet` initialised as `objects` parameter
0 commit comments