File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ Integration with Django forms
2
2
=============================
3
3
4
4
Graphene-Django comes with mutation classes that will convert the fields on Django forms into inputs on a mutation.
5
+ *Note: the API is experimental and will likely change in the future. *
5
6
6
7
FormMutation
7
8
------------
@@ -37,7 +38,7 @@ ModelFormMutation
37
38
class Meta :
38
39
model = Pet
39
40
40
- class PetMutation (ModelFormMutation ):
41
+ class PetMutation (DjangoModelFormMutation ):
41
42
class Meta :
42
43
form_class = PetForm
43
44
@@ -49,7 +50,7 @@ You can change the input name (default is ``input``) and the return field name (
49
50
50
51
.. code :: python
51
52
52
- class PetMutation (ModelFormMutation ):
53
+ class PetMutation (DjangoModelFormMutation ):
53
54
class Meta :
54
55
form_class = PetForm
55
56
input_field_name = ' data'
You can’t perform that action at this time.
0 commit comments