Correct spelling mistakes (#1163)

Co-authored-by: collerek <collerek@gmail.com>
This commit is contained in:
Edward Betts
2023-08-15 10:56:19 +01:00
committed by GitHub
parent 930e8fb2e7
commit eea2ba0bef
24 changed files with 48 additions and 48 deletions

View File

@ -59,7 +59,7 @@ for car in all_cars:
# models selected in select_related but with no columns in fields list implies all fields
all_cars = await Car.objects.select_related('manufacturer').exclude_fields('year').exclude_fields(
['gear', 'gearbox_type']).all()
# all fiels from company model are selected
# all fields from company model are selected
assert all_cars[0].manufacturer.name == 'Toyota'
assert all_cars[0].manufacturer.founded == 1937