Reword 'abstract' -> 'mixin' in plain tutorial

More technically correct
This commit is contained in:
Adam Johnson 2018-08-01 12:51:46 +01:00 committed by GitHub
parent 52d14f3b8a
commit 1ba9652f38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,9 +179,9 @@ Create ``cookbook/ingredients/schema.py`` and type the following:
return Ingredient.objects.select_related('category').all()
Note that the above ``Query`` class is marked as 'abstract'. This is
because we will now create a project-level query which will combine all
our app-level queries.
Note that the above ``Query`` class is a mixin, inheriting from
``object``. This is because we will now create a project-level query
class which will combine all our app-level mixins.
Create the parent project-level ``cookbook/schema.py``: