Correct spelling mistakes (#1163)
Co-authored-by: collerek <collerek@gmail.com>
This commit is contained in:
@ -8,7 +8,7 @@ To use transactions use `database.transaction` as async context manager:
|
||||
|
||||
```python
|
||||
async with database.transaction():
|
||||
# everyting called here will be one transaction
|
||||
# everything called here will be one transaction
|
||||
await Model1().save()
|
||||
await Model2().save()
|
||||
...
|
||||
@ -85,4 +85,4 @@ async def sample_test():
|
||||
async with database.transaction(force_rollback=True):
|
||||
# your test code here
|
||||
...
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user