Skip to content

Commit 9351626

Browse files
authored
Merge pull request #483 from adamchainz/patch-1
Reword 'abstract' -> 'mixin' in plain tutorial
2 parents 52d14f3 + 1ba9652 commit 9351626

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/tutorial-plain.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ Create ``cookbook/ingredients/schema.py`` and type the following:
179179
return Ingredient.objects.select_related('category').all()
180180
181181
182-
Note that the above ``Query`` class is marked as 'abstract'. This is
183-
because we will now create a project-level query which will combine all
184-
our app-level queries.
182+
Note that the above ``Query`` class is a mixin, inheriting from
183+
``object``. This is because we will now create a project-level query
184+
class which will combine all our app-level mixins.
185185

186186
Create the parent project-level ``cookbook/schema.py``:
187187

0 commit comments

Comments
 (0)