We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14bc1cd commit 60b6ba8Copy full SHA for 60b6ba8
docs/index.rst
@@ -11,4 +11,5 @@ Contents:
11
filtering
12
authorization
13
debug
14
+ rest-framework
15
introspection
docs/rest-framework.rst
@@ -0,0 +1,21 @@
1
+Integration with Django Rest Framework
2
+======================================
3
+
4
+You can re-use your Django Rest Framework serializer with
5
+graphene django.
6
7
8
+Mutation
9
+--------
10
+You can create a Mutation based on a serializer by using the
+`SerializerMutation` base class:
+.. code:: python
16
+ from graphene_django.rest_framework.mutation import SerializerMutation
17
18
+ class MyAwesomeMutation(SerializerMutation):
19
+ class Meta:
20
+ serializer_class = MySerializer
21
0 commit comments