Fix typo of imoprt to import (#742)

This commit is contained in:
Gert Van Gool 2019-08-10 22:30:17 +02:00 committed by Jonathan Kim
parent a04fff9d70
commit d5e71bc9be

View File

@ -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