mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-06-29 18:03:11 +03:00
Fix typo of imoprt to import
This commit is contained in:
parent
a04fff9d70
commit
2e8226921e
|
@ -151,7 +151,7 @@ customize the look up with the ``lookup_field`` attribute on the ``SerializerMut
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|
||||||
from graphene_django.rest_framework.mutation import SerializerMutation
|
from graphene_django.rest_framework.mutation import SerializerMutation
|
||||||
from .serializers imoprt MyModelSerializer
|
from .serializers import MyModelSerializer
|
||||||
|
|
||||||
|
|
||||||
class AwesomeModelMutation(SerializerMutation):
|
class AwesomeModelMutation(SerializerMutation):
|
||||||
|
@ -168,7 +168,7 @@ Use the method ``get_serializer_kwargs`` to override how updates are applied.
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|
||||||
from graphene_django.rest_framework.mutation import SerializerMutation
|
from graphene_django.rest_framework.mutation import SerializerMutation
|
||||||
from .serializers imoprt MyModelSerializer
|
from .serializers import MyModelSerializer
|
||||||
|
|
||||||
|
|
||||||
class AwesomeModelMutation(SerializerMutation):
|
class AwesomeModelMutation(SerializerMutation):
|
||||||
|
@ -199,7 +199,7 @@ You can use relay with mutations. A Relay mutation must inherit from
|
||||||
|
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|
||||||
import graphene
|
import graphene
|
||||||
from graphene import relay
|
from graphene import relay
|
||||||
from graphene_django import DjangoObjectType
|
from graphene_django import DjangoObjectType
|
||||||
from graphql_relay import from_global_id
|
from graphql_relay import from_global_id
|
||||||
|
|
Loading…
Reference in New Issue
Block a user