From be22f1639b89c0970a4ff15b696c60a36a5474b4 Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Tue, 5 Jun 2018 14:20:21 -0700 Subject: [PATCH] Updated docs --- docs/form-mutations.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/form-mutations.rst b/docs/form-mutations.rst index a498b56..e721a78 100644 --- a/docs/form-mutations.rst +++ b/docs/form-mutations.rst @@ -2,6 +2,7 @@ Integration with Django forms ============================= Graphene-Django comes with mutation classes that will convert the fields on Django forms into inputs on a mutation. +*Note: the API is experimental and will likely change in the future.* FormMutation ------------ @@ -37,7 +38,7 @@ ModelFormMutation class Meta: model = Pet - class PetMutation(ModelFormMutation): + class PetMutation(DjangoModelFormMutation): class Meta: form_class = PetForm @@ -49,7 +50,7 @@ You can change the input name (default is ``input``) and the return field name ( .. code:: python - class PetMutation(ModelFormMutation): + class PetMutation(DjangoModelFormMutation): class Meta: form_class = PetForm input_field_name = 'data'