mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-14 05:37:02 +03:00
Merge pull request #483 from adamchainz/patch-1
Reword 'abstract' -> 'mixin' in plain tutorial
This commit is contained in:
commit
9351626ad8
|
@ -179,9 +179,9 @@ Create ``cookbook/ingredients/schema.py`` and type the following:
|
||||||
return Ingredient.objects.select_related('category').all()
|
return Ingredient.objects.select_related('category').all()
|
||||||
|
|
||||||
|
|
||||||
Note that the above ``Query`` class is marked as 'abstract'. This is
|
Note that the above ``Query`` class is a mixin, inheriting from
|
||||||
because we will now create a project-level query which will combine all
|
``object``. This is because we will now create a project-level query
|
||||||
our app-level queries.
|
class which will combine all our app-level mixins.
|
||||||
|
|
||||||
Create the parent project-level ``cookbook/schema.py``:
|
Create the parent project-level ``cookbook/schema.py``:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user